EgtMachKernel :

- aggiunta gestione livello di debug in LOG*.
This commit is contained in:
Dario Sassi
2019-04-01 06:16:03 +00:00
parent 9cd9068b7b
commit e4613162c5
24 changed files with 120 additions and 96 deletions
+2 -2
View File
@@ -486,7 +486,7 @@ SawFinishing::Apply( bool bRecalc, bool bPostApply)
if ( ! bRecalc && ! bToolChanged &&
( m_nStatus == MCH_ST_OK || ( ! bPostApply && m_nStatus == MCH_ST_NO_POSTAPPL))) {
m_nCuts = nCurrCuts ;
LOG_INFO( GetEMkLogger(), "SawFinishing apply skipped : status already ok") ;
LOG_DBG_INFO( GetEMkLogger(), "SawFinishing apply skipped : status already ok") ;
return true ;
}
m_nStatus = MCH_ST_TO_VERIFY ;
@@ -563,7 +563,7 @@ SawFinishing::Update( bool bPostApply)
// se lavorazione vuota, esco
if ( m_nCuts == 0) {
LOG_INFO( GetEMkLogger(), "Warning in SawFinishing : No machinable path")
LOG_WARN( GetEMkLogger(), "Warning in SawFinishing : No machinable path")
return true ;
}