1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 00:42:04 +02:00

Write --verbose output to Tomahawk.log

This commit is contained in:
Uwe L. Korn 2013-06-24 22:17:08 +02:00 committed by Michael Zanetti
parent 09026a33fe
commit cde07bc2b8

View File

@ -60,13 +60,8 @@ log( const char *msg, unsigned int debugLevel, bool toDisk = true )
#endif
}
#ifdef QT_NO_DEBUG
if ( debugLevel > RELEASE_LEVEL_THRESHOLD )
if ( debugLevel > LOGTHIRDPARTY )
toDisk = false;
#else
if ( debugLevel > DEBUG_LEVEL_THRESHOLD )
toDisk = false;
#endif
#ifdef LOG_SQL_QUERIES
if ( debugLevel == LOGSQL )