[libcalamares] Console-logging follows -D flag exactly
- Don't always log LOGEXTRA and below.
This commit is contained in:
parent
67aa34c4a4
commit
631923abf8
@ -95,7 +95,7 @@ log( const char* msg, unsigned int debugLevel )
|
||||
logfile.flush();
|
||||
}
|
||||
|
||||
if ( debugLevel <= LOGEXTRA || debugLevel < s_threshold )
|
||||
if ( logLevelEnabled(debugLevel) )
|
||||
{
|
||||
QMutexLocker lock( &s_mutex );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user