aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/logging/backend.h
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2015-03-09 15:42:18 -0400
committerGravatar bunnei <bunneidev@gmail.com>2015-03-09 15:42:18 -0400
commit3da94a597b5642c1b586700d72255589cf5a0cdf (patch)
tree9f73ded034bceaab1f7e41cf19fe987d19b2e083 /src/common/logging/backend.h
parentf2a7c2b3b74df6b1977392a5ad7e91bae4a8a5b6 (diff)
parent0aa44e238db7a72f4fb8b347168ec76c3ce48ad5 (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/backend.h')
-rw-r--r--src/common/logging/backend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h
index 1c44c929..3114f864 100644
--- a/src/common/logging/backend.h
+++ b/src/common/logging/backend.h
@@ -10,6 +10,7 @@
#include "common/concurrent_ring_buffer.h"
+#include "common/logging/filter.h"
#include "common/logging/log.h"
namespace Log {
@@ -131,4 +132,6 @@ Entry CreateEntry(Class log_class, Level log_level,
/// Initializes the default Logger.
std::shared_ptr<Logger> InitGlobalLogger();
+void SetFilter(Filter* filter);
+
}