EgtExecutor :
- a ExeLuaExecFile aggiunto parametro opzionale bLogInfo = true.
This commit is contained in:
+5
-3
@@ -262,11 +262,13 @@ ExeLuaExecLine( const string& sLine)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeLuaExecFile( const string& sFilePath)
|
||||
ExeLuaExecFile( const string& sFilePath, bool LogInfo)
|
||||
{
|
||||
// emetto info
|
||||
string sInfo = "Exec File = " + sFilePath ;
|
||||
LOG_INFO( GetLogger(), sInfo.c_str())
|
||||
if ( LogInfo) {
|
||||
string sInfo = "Exec File = " + sFilePath ;
|
||||
LOG_INFO( GetLogger(), sInfo.c_str())
|
||||
}
|
||||
// disabilito il log dei comandi
|
||||
CmdLogOff cmdLogOff ;
|
||||
// esecuzione script
|
||||
|
||||
Reference in New Issue
Block a user