summaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-05 11:38:45 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-05 11:38:45 +0100
commite903e47cb0aada785e758264168d99bc4d0ad029 (patch)
tree4bde3e74fa3cd045be3a2eb13591588ab2acda5d /common/log.h
parentb16f3a02c8a4904f75f5c10ccc7eedac845cd940 (diff)
downloadsink-e903e47cb0aada785e758264168d99bc4d0ad029.tar.gz
sink-e903e47cb0aada785e758264168d99bc4d0ad029.zip
Set debug output
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h9
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 */
35void SINKCOMMON_EXPORT setFilter(const QByteArrayList &filter); 35void 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 */
45void SINKCOMMON_EXPORT setDebugOutput(const QByteArrayList &filter);
37 46
38QDebug SINKCOMMON_EXPORT debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0); 47QDebug SINKCOMMON_EXPORT debugStream(DebugLevel debugLevel, int line, const char* file, const char* function, const char* debugArea = 0);
39 48