From 497b81558e2543f3b42e4267d8ea9acc40bdf03b Mon Sep 17 00:00:00 2001 From: James Rowe Date: Sat, 14 Jul 2018 12:47:14 -0600 Subject: Logging: Dump all logs in the queue on close in debug mode --- src/common/logging/filter.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/logging/filter.h') diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h index ccca289bd..2a4f7c845 100644 --- a/src/common/logging/filter.h +++ b/src/common/logging/filter.h @@ -47,6 +47,9 @@ public: /// Matches class/level combination against the filter, returning true if it passed. bool CheckMessage(Class log_class, Level level) const; + /// Returns true if any logging classes are set to debug + bool IsDebug() const; + private: std::array class_levels; }; -- cgit v1.2.3