diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-09 15:42:18 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-09 15:42:18 -0400 |
commit | 3da94a597b5642c1b586700d72255589cf5a0cdf (patch) | |
tree | 9f73ded034bceaab1f7e41cf19fe987d19b2e083 /src/common/logging/text_formatter.h | |
parent | f2a7c2b3b74df6b1977392a5ad7e91bae4a8a5b6 (diff) | |
parent | 0aa44e238db7a72f4fb8b347168ec76c3ce48ad5 (diff) |
Merge pull request #634 from linkmauve/logging-performances
Apply the logging filter before sending the message to the queue
Diffstat (limited to 'src/common/logging/text_formatter.h')
-rw-r--r-- | src/common/logging/text_formatter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h index 2f05794f0..8474a1904 100644 --- a/src/common/logging/text_formatter.h +++ b/src/common/logging/text_formatter.h @@ -11,7 +11,6 @@ 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 @@ -36,6 +35,6 @@ void PrintColoredMessage(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, const Filter* filter); +void TextLoggingLoop(std::shared_ptr<Logger> logger); } |