summaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/common/log.h b/common/log.h
index 483f16f..35b628c 100644
--- a/common/log.h
+++ b/common/log.h
@@ -1,5 +1,6 @@
1#pragma once 1#pragma once
2 2
3#include <sinkcommon_export.h>
3#include <QDebug> 4#include <QDebug>
4 5
5namespace Sink { 6namespace Sink {
@@ -12,13 +13,13 @@ enum DebugLevel {
12 Error 13 Error
13}; 14};
14 15
15QByteArray debugLevelName(DebugLevel debugLevel); 16QByteArray SINKCOMMON_EXPORT debugLevelName(DebugLevel debugLevel);
16DebugLevel debugLevelFromName(const QByteArray &name); 17DebugLevel SINKCOMMON_EXPORT debugLevelFromName(const QByteArray &name);
17 18
18void setDebugOutputLevel(DebugLevel); 19void SINKCOMMON_EXPORT setDebugOutputLevel(DebugLevel);
19DebugLevel debugOutputLevel(); 20DebugLevel SINKCOMMON_EXPORT debugOutputLevel();
20 21
21QDebug debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0); 22QDebug SINKCOMMON_EXPORT debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0);
22 23
23} 24}
24} 25}