USE_MUTEX defaults to 0
This commit is contained in:
parent
9ea5878a23
commit
63e4c5e830
4
Log.h
4
Log.h
|
@ -4,7 +4,7 @@
|
|||
#include <string>
|
||||
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue