diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-03-06 19:15:02 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-03-06 19:23:52 +0100 |
commit | 0aa44e238db7a72f4fb8b347168ec76c3ce48ad5 (patch) | |
tree | dba02c60d0a663708265089394c634a655417f9d /src/common/logging/filter.h | |
parent | 53ba65db436eb9c25ac71e17bfb8685d599b1681 (diff) |
Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.
Diffstat (limited to 'src/common/logging/filter.h')
-rw-r--r-- | src/common/logging/filter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h index c3da9989..b53e4e63 100644 --- a/src/common/logging/filter.h +++ b/src/common/logging/filter.h @@ -2,6 +2,8 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#pragma once + #include <array> #include <string> |