15 using std::string_view;
16 using std::unique_ptr;
37 virtual void println(
const string_view& str) = 0;
38 virtual void print(
const string_view& str) = 0;
52 static void println(
const string_view& str);
58 static void print(
const string_view& str);
void run()
Abstract run() method, should be implemented by subclassed class, will be called after spawn by start...
static void println()
Print new line to console.
static void setLogger(Logger *logger)
Set logger.
static STATIC_DLL_IMPEXT bool newline
static void shutdown()
Shutdown console logging and especially writing log to file.
static STATIC_DLL_IMPEXT vector< string > messages
static STATIC_DLL_IMPEXT Logger * logger
static void print(const string_view &str)
Print given string.
static STATIC_DLL_IMPEXT unique_ptr< LogWriterThread > logWriterThread
static constexpr int HISTORY_LINECOUNT
static STATIC_DLL_IMPEXT Mutex mutex
virtual void println(const string_view &str)=0
virtual void print(const string_view &str)=0
#define STATIC_DLL_IMPEXT
#define FORBID_CLASS_COPY(CLASS)