diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-05 11:38:45 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-05 11:38:45 +0100 |
commit | e903e47cb0aada785e758264168d99bc4d0ad029 (patch) | |
tree | 4bde3e74fa3cd045be3a2eb13591588ab2acda5d /common/log.h | |
parent | b16f3a02c8a4904f75f5c10ccc7eedac845cd940 (diff) | |
download | sink-e903e47cb0aada785e758264168d99bc4d0ad029.tar.gz sink-e903e47cb0aada785e758264168d99bc4d0ad029.zip |
Set debug output
Diffstat (limited to 'common/log.h')
-rw-r--r-- | common/log.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/log.h b/common/log.h index c643f84..8a6c295 100644 --- a/common/log.h +++ b/common/log.h | |||
@@ -34,6 +34,15 @@ void SINKCOMMON_EXPORT setAreas(const QByteArrayList &areas); | |||
34 | */ | 34 | */ |
35 | void SINKCOMMON_EXPORT setFilter(const QByteArrayList &filter); | 35 | void SINKCOMMON_EXPORT setFilter(const QByteArrayList &filter); |
36 | 36 | ||
37 | /** | ||
38 | * Set an application debug output. | ||
39 | * | ||
40 | * Currently supported are: | ||
41 | * * Name: Application name used for filter. | ||
42 | * * Function: The function name: | ||
43 | * * Location: The source code location. | ||
44 | */ | ||
45 | void SINKCOMMON_EXPORT setDebugOutput(const QByteArrayList &filter); | ||
37 | 46 | ||
38 | QDebug SINKCOMMON_EXPORT debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0); | 47 | QDebug SINKCOMMON_EXPORT debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0); |
39 | 48 | ||