summaryrefslogtreecommitdiffstats
path: root/src/util/consoleLogger.h
diff options
context:
space:
mode:
authorJohann Latocha2010-09-01 01:02:39 +0200
committerJohann Latocha2010-09-01 01:02:39 +0200
commitf6fca1c3c5279c820be3860b0074831f920219d6 (patch)
tree66c9568114734b8a4e7fa55c1e1626f2ccefa243 /src/util/consoleLogger.h
parentMissing return statement (diff)
downloadpvs-f6fca1c3c5279c820be3860b0074831f920219d6.tar.gz
pvs-f6fca1c3c5279c820be3860b0074831f920219d6.tar.xz
pvs-f6fca1c3c5279c820be3860b0074831f920219d6.zip
All printf() replaced with qDebug()
Diffstat (limited to 'src/util/consoleLogger.h')
-rw-r--r--src/util/consoleLogger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/consoleLogger.h b/src/util/consoleLogger.h
index 3a0950d..e4cb291 100644
--- a/src/util/consoleLogger.h
+++ b/src/util/consoleLogger.h
@@ -116,7 +116,7 @@ public:
_line.push_back('\n'); // add an explicit newline char, so it looks better in the logfile
//#ifndef as_daemon
if (_level == LOG_TERMINAL) // may look strange here, but its quite central :-)
- printf("%s\n", _line.toUtf8().data());
+ qDebug("%s", qPrintable(_line));
//#endif
};
LOG_LEVEL getLevel()