From b3275b0e40c40dd20839c885a8b02f631f8032d0 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Sun, 10 Jan 2016 11:19:34 +0100 Subject: more helpers --- common/log.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/log.h') 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 { Error }; +QByteArray debugLevelName(DebugLevel debugLevel); +DebugLevel debugLevelFromName(const QByteArray &name); + void setDebugOutputLevel(DebugLevel); +DebugLevel debugOutputLevel(); QDebug debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0); -- cgit v1.2.3