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
+3 -3
View File
@@ -463,7 +463,7 @@ Pocketing::SetGeometry( const SELVECTOR& vIds)
int nSubs ;
if ( ! VerifyGeometry( Id, nSubs, nType)) {
string sOut = "Entity " + ToString( Id) + " skipped by Milling" ;
LOG_INFO( GetEMkLogger(), sOut.c_str()) ;
LOG_WARN( GetEMkLogger(), sOut.c_str()) ;
continue ;
}
// posso aggiungere alla lista
@@ -578,7 +578,7 @@ Pocketing::Apply( bool bRecalc, bool bPostApply)
if ( ! bRecalc && ! bToolChanged &&
( m_nStatus == MCH_ST_OK || ( ! bPostApply && m_nStatus == MCH_ST_NO_POSTAPPL))) {
m_nPockets = nCurrPockets ;
LOG_INFO( GetEMkLogger(), "Pocketing apply skipped : status already ok") ;
LOG_DBG_INFO( GetEMkLogger(), "Pocketing apply skipped : status already ok") ;
return true ;
}
m_nStatus = MCH_ST_TO_VERIFY ;
@@ -668,7 +668,7 @@ Pocketing::Update( bool bPostApply)
// se lavorazione vuota, esco
if ( m_nPockets == 0) {
LOG_INFO( GetEMkLogger(), "Warning in Pocketing : No machinable pocket")
LOG_WARN( GetEMkLogger(), "Warning in Pocketing : No machinable pocket")
return true ;
}