EgtMachKernel :
- aggiunta gestione livello di debug in LOG*.
This commit is contained in:
+10
-10
@@ -235,7 +235,7 @@ Machine::LuaLoadMachine( const string& sFile)
|
||||
// verifico sia stato caricato effettivamente qualcosa
|
||||
if ( bOk) {
|
||||
if ( m_pGeomDB == nullptr || m_pGeomDB->GetGroupObjs( m_nGroupId) == 0) {
|
||||
LOG_INFO( GetEMkLogger(), "Error : mlde file is empty")
|
||||
LOG_ERROR( GetEMkLogger(), "Error : mlde file is empty")
|
||||
bOk = false ;
|
||||
}
|
||||
}
|
||||
@@ -285,7 +285,7 @@ Machine::LuaEmtGeneral( lua_State* L)
|
||||
sOut += ", " + sSpecial ;
|
||||
if ( ! sProcessor.empty())
|
||||
sOut += ", " + sProcessor ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
|
||||
// verifico ci sia una macchina attiva
|
||||
if ( m_pMchLua == nullptr)
|
||||
@@ -303,7 +303,7 @@ Machine::LuaEmtGeneral( lua_State* L)
|
||||
return luaL_error( L, " Load Special failed") ;
|
||||
}
|
||||
else {
|
||||
LOG_INFO( GetEMkLogger(), " Special file not specified")
|
||||
LOG_DBG_INFO( GetEMkLogger(), " Special file not specified")
|
||||
}
|
||||
|
||||
// carico il processore della macchina
|
||||
@@ -314,7 +314,7 @@ Machine::LuaEmtGeneral( lua_State* L)
|
||||
return luaL_error( L, " Load Processor failed") ;
|
||||
}
|
||||
else {
|
||||
LOG_INFO( GetEMkLogger(), " Processor file not specified")
|
||||
LOG_DBG_INFO( GetEMkLogger(), " Processor file not specified")
|
||||
}
|
||||
|
||||
// imposto massimo spostamento assi e uscite tra definizione cinematica e geometria
|
||||
@@ -347,7 +347,7 @@ Machine::LuaEmtBase( lua_State* L)
|
||||
|
||||
// info
|
||||
string sOut = "LuaEmtBase : " + sName ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
|
||||
// verifico ci sia una macchina attiva
|
||||
if ( m_pMchLua == nullptr)
|
||||
@@ -398,7 +398,7 @@ Machine::LuaEmtTable( lua_State* L)
|
||||
|
||||
// info
|
||||
string sOut = "LuaEmtTable : " + sName ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
|
||||
// verifico ci sia una macchina attiva
|
||||
if ( m_pMchLua == nullptr)
|
||||
@@ -464,7 +464,7 @@ Machine::LuaEmtAxis( lua_State* L)
|
||||
|
||||
// info
|
||||
string sOut = "LuaEmtAxis : " + sName ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
|
||||
// verifico ci sia una macchina attiva
|
||||
if ( m_pMchLua == nullptr)
|
||||
@@ -555,7 +555,7 @@ Machine::LuaEmtStdHead( lua_State* L)
|
||||
|
||||
// info
|
||||
string sOut = "LuaEmtStdHead : " + sName ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
|
||||
// verifico ci sia una macchina attiva
|
||||
if ( m_pMchLua == nullptr)
|
||||
@@ -633,7 +633,7 @@ Machine::LuaEmtMultiHead( lua_State* L)
|
||||
|
||||
// info
|
||||
string sOut = "LuaEmtMultiHead : " + sName ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
|
||||
// verifico ci sia una macchina attiva
|
||||
if ( m_pMchLua == nullptr)
|
||||
@@ -700,7 +700,7 @@ Machine::LuaEmtSpecialHead( lua_State* L)
|
||||
|
||||
// info
|
||||
string sOut = "LuaEmtSpecialHead : " + sName ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
|
||||
// verifico ci sia una macchina attiva
|
||||
if ( m_pMchLua == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user