summaryrefslogtreecommitdiff
path: root/src/common/logging/text_formatter.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2014-12-06 20:00:08 -0200
committerGravatar Yuri Kunde Schlesner2014-12-13 02:08:06 -0200
commit0e0a007a2503d468391004c8ea2faae305232345 (patch)
tree75feea527bd46aa4c534b77b560c89d538757f7f /src/common/logging/text_formatter.h
parentConvert old logging calls to new logging macros (diff)
downloadyuzu-0e0a007a2503d468391004c8ea2faae305232345.tar.gz
yuzu-0e0a007a2503d468391004c8ea2faae305232345.tar.xz
yuzu-0e0a007a2503d468391004c8ea2faae305232345.zip
Add configurable per-class log filtering
Diffstat (limited to 'src/common/logging/text_formatter.h')
-rw-r--r--src/common/logging/text_formatter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h
index 04164600f..d7e298e28 100644
--- a/src/common/logging/text_formatter.h
+++ b/src/common/logging/text_formatter.h
@@ -11,6 +11,7 @@ namespace Log {
11 11
12class Logger; 12class Logger;
13struct Entry; 13struct Entry;
14class Filter;
14 15
15/** 16/**
16 * Attempts to trim an arbitrary prefix from `path`, leaving only the part starting at `root`. It's 17 * Attempts to trim an arbitrary prefix from `path`, leaving only the part starting at `root`. It's
@@ -33,6 +34,6 @@ void PrintMessage(const Entry& entry);
33 * Logging loop that repeatedly reads messages from the provided logger and prints them to the 34 * Logging loop that repeatedly reads messages from the provided logger and prints them to the
34 * console. It is the baseline barebones log outputter. 35 * console. It is the baseline barebones log outputter.
35 */ 36 */
36void TextLoggingLoop(std::shared_ptr<Logger> logger); 37void TextLoggingLoop(std::shared_ptr<Logger> logger, const Filter* filter);
37 38
38} 39}