EgtMachKernel :

- aggiunta gestione warnings.
This commit is contained in:
Dario Sassi
2019-06-26 16:18:36 +00:00
parent 06131ea80b
commit 3260704202
12 changed files with 184 additions and 113 deletions
+10
View File
@@ -301,3 +301,13 @@ MachMgr::SetLastError( int nErr, const string& sErr)
LOG_ERROR( GetEMkLogger(), sInfo.c_str()) ;
return true ;
}
//----------------------------------------------------------------------------
bool
MachMgr::SetWarning( int nWarn, const string& sWarn)
{
m_Warnings.emplace_back( nWarn, sWarn) ;
string sInfo = sWarn + " (" + ToString( nWarn) + ")" ;
LOG_WARN( GetEMkLogger(), sInfo.c_str()) ;
return true ;
}