summaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-07 23:40:52 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-07 23:40:52 +0200
commit3c05b5816aa0fb978686b0ed16a02336e0981a0e (patch)
treea05662f3635ac9364c2bde16eea0f915190cfb1f /common/log.h
parentda2b049e248c1ad7efeb53685158a205335e4e36 (diff)
downloadsink-3c05b5816aa0fb978686b0ed16a02336e0981a0e.tar.gz
sink-3c05b5816aa0fb978686b0ed16a02336e0981a0e.zip
sinksh trace command including autocompletion
The sinksh command allows to easily turn tracing for certain areas on or off.
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/log.h b/common/log.h
index d801ed9..f47a3ae 100644
--- a/common/log.h
+++ b/common/log.h
@@ -15,6 +15,7 @@ enum DebugLevel
15}; 15};
16 16
17void SINK_EXPORT setPrimaryComponent(const QString &component); 17void SINK_EXPORT setPrimaryComponent(const QString &component);
18QSet<QString> SINK_EXPORT debugAreas();
18 19
19QByteArray SINK_EXPORT debugLevelName(DebugLevel debugLevel); 20QByteArray SINK_EXPORT debugLevelName(DebugLevel debugLevel);
20DebugLevel SINK_EXPORT debugLevelFromName(const QByteArray &name); 21DebugLevel SINK_EXPORT debugLevelFromName(const QByteArray &name);