diff options
author | Aaron Seigo <aseigo@kde.org> | 2016-01-10 11:19:34 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2016-01-10 11:20:31 +0100 |
commit | b3275b0e40c40dd20839c885a8b02f631f8032d0 (patch) | |
tree | b03c9be169ed0cb198c43e1f4cb1ef7444990f91 /common/log.h | |
parent | 2760d5944802f24321ed98083e9f15a484197f7b (diff) | |
download | sink-b3275b0e40c40dd20839c885a8b02f631f8032d0.tar.gz sink-b3275b0e40c40dd20839c885a8b02f631f8032d0.zip |
more helpers
Diffstat (limited to 'common/log.h')
-rw-r--r-- | common/log.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/log.h b/common/log.h index 9db9e8e..e531348 100644 --- a/common/log.h +++ b/common/log.h | |||
@@ -12,7 +12,11 @@ enum DebugLevel { | |||
12 | Error | 12 | Error |
13 | }; | 13 | }; |
14 | 14 | ||
15 | QByteArray debugLevelName(DebugLevel debugLevel); | ||
16 | DebugLevel debugLevelFromName(const QByteArray &name); | ||
17 | |||
15 | void setDebugOutputLevel(DebugLevel); | 18 | void setDebugOutputLevel(DebugLevel); |
19 | DebugLevel debugOutputLevel(); | ||
16 | 20 | ||
17 | QDebug debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0); | 21 | QDebug debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0); |
18 | 22 | ||