From 63e4c5e830e5c810fa6e0d8c7944a89cd64210f7 Mon Sep 17 00:00:00 2001 From: MrBesen Date: Fri, 20 Nov 2020 22:04:05 +0100 Subject: [PATCH] USE_MUTEX defaults to 0 --- Log.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Log.h b/Log.h index 5303580..0107bf4 100644 --- a/Log.h +++ b/Log.h @@ -4,7 +4,7 @@ #include #ifndef LOG_USEMUTEX -#define LOG_USEMUTEX 1 +#define LOG_USEMUTEX 0 #endif namespace Log { @@ -21,8 +21,6 @@ void addLogfile(const std::string& filename, Level min, Level max); void setConsoleLogLevel(Level lvl); void setColoredOutput(bool enabled); -inline bool useMutex() { return LOG_USEMUTEX; } - // Log entry that can be formed with various mixed data types // by concatenation with the << operator // Inspired from https://stackoverflow.com/a/8337882