summaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-18 10:24:36 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-18 10:24:36 +0200
commitbbb7c128488d0bc1dbedd4fe9f8a7a4de778705b (patch)
tree5672a29804e6bf2b42bac896c1f5e39249a298df /common/log.h
parent90f0623b46794af59346b662bc5e823195a0eeff (diff)
downloadsink-bbb7c128488d0bc1dbedd4fe9f8a7a4de778705b.tar.gz
sink-bbb7c128488d0bc1dbedd4fe9f8a7a4de778705b.zip
Renamed the Error log macro to ErrorMsg because of nameclashes
With Storage::Error. Perhaps turn to akLog, akError, ...?
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/log.h b/common/log.h
index 8d3dc75..e06ac5a 100644
--- a/common/log.h
+++ b/common/log.h
@@ -14,4 +14,5 @@ QDebug debugStream(DebugLevel debugLevel, int line, const char* file, const char
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)
16#define Warning() debugStream(DebugLevel::Warning, __LINE__, __FILE__, Q_FUNC_INFO) 16#define Warning() debugStream(DebugLevel::Warning, __LINE__, __FILE__, Q_FUNC_INFO)
17#define Error() debugStream(DebugLevel::Error, __LINE__, __FILE__, Q_FUNC_INFO) 17//FIXME Error clashes with Storage::Error and MessageQueue::Error
18#define ErrorMsg() debugStream(DebugLevel::Error, __LINE__, __FILE__, Q_FUNC_INFO)