From 0aa44e238db7a72f4fb8b347168ec76c3ce48ad5 Mon Sep 17 00:00:00 2001
From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Date: Fri, 6 Mar 2015 19:15:02 +0100
Subject: Logging: check for filter before sending to the queue, to skip all
 heavy formatting on the other thread.

---
 src/common/logging/text_formatter.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/common/logging/text_formatter.h')

diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h
index 2f05794f08..8474a19047 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);
 
 }
-- 
cgit v1.2.3-70-g09d2