summaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-05-01 23:50:00 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-05-01 23:50:00 +0200
commit4bbb92fd179fc00258264bd488270179ff246510 (patch)
tree25e67f00ca92c3ae61c487d6bb64c600b56d3058 /common/log.h
parent0aee555ae75e51802e5193c96b2e492007a15a52 (diff)
downloadsink-4bbb92fd179fc00258264bd488270179ff246510.tar.gz
sink-4bbb92fd179fc00258264bd488270179ff246510.zip
Logging
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.h b/common/log.h
index e06ac5a..ee92f46 100644
--- a/common/log.h
+++ b/common/log.h
@@ -9,7 +9,7 @@ enum DebugLevel {
9 Error 9 Error
10}; 10};
11 11
12QDebug debugStream(DebugLevel debugLevel, int line, const char* file, const char* function); 12QDebug debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0);
13 13
14#define Trace() debugStream(DebugLevel::Trace, __LINE__, __FILE__, Q_FUNC_INFO) 14#define Trace() debugStream(DebugLevel::Trace, __LINE__, __FILE__, Q_FUNC_INFO)
15#define Log() debugStream(DebugLevel::Log, __LINE__, __FILE__, Q_FUNC_INFO) 15#define Log() debugStream(DebugLevel::Log, __LINE__, __FILE__, Q_FUNC_INFO)