aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/logging/text_formatter.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2014-12-06 20:00:08 -0200
committerGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2014-12-13 02:08:06 -0200
commit0e0a007a2503d468391004c8ea2faae305232345 (patch)
tree75feea527bd46aa4c534b77b560c89d538757f7f /src/common/logging/text_formatter.h
parent0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9 (diff)
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 04164600..d7e298e2 100644
--- a/src/common/logging/text_formatter.h
+++ b/src/common/logging/text_formatter.h
@@ -11,6 +11,7 @@ namespace Log {
class Logger;
struct Entry;
+class Filter;
/**
* 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);
* Logging loop that repeatedly reads messages from the provided logger and prints them to the
* console. It is the baseline barebones log outputter.
*/
-void TextLoggingLoop(std::shared_ptr<Logger> logger);
+void TextLoggingLoop(std::shared_ptr<Logger> logger, const Filter* filter);
}