[libcalamares] Console-logging follows -D flag exactly

- Don't always log LOGEXTRA and below.
main
Adriaan de Groot 4 years ago
parent 67aa34c4a4
commit 631923abf8

@ -95,7 +95,7 @@ log( const char* msg, unsigned int debugLevel )
logfile.flush(); logfile.flush();
} }
if ( debugLevel <= LOGEXTRA || debugLevel < s_threshold ) if ( logLevelEnabled(debugLevel) )
{ {
QMutexLocker lock( &s_mutex ); QMutexLocker lock( &s_mutex );

Loading…
Cancel
Save