void Log(const CLogMessage *pMessage) override
Definition: log.cpp:517
void OnFilterChange() override
Definition: log.cpp:544
void Set(std::shared_ptr< ILogger > pLogger)
Definition: log.cpp:499
std::shared_ptr< ILogger > m_pLogger
Definition: logger.h:235
std::vector< CLogMessage > m_vPending
Definition: logger.h:236
CLock m_PendingLock
Definition: logger.h:237
void GlobalFinish() override
Definition: log.cpp:535
std::atomic_int m_MaxLevel
Definition: logger.h:61
bool Filters(const CLogMessage *pMessage)
Definition: log.cpp:144
int m_LineMessageOffset
Definition: logger.h:43
char m_aSystem[32]
Definition: logger.h:32
char m_aLine[4096]
Definition: logger.h:36
char m_aTimestamp[80]
Definition: logger.h:31
int m_TimestampLength
Definition: logger.h:37
bool m_HaveColor
Definition: logger.h:25
LOG_COLOR m_Color
Definition: logger.h:30
const char * Message() const
Definition: logger.h:48
int m_LineLength
Definition: logger.h:42
int m_SystemLength
Definition: logger.h:38
LEVEL m_Level
Definition: logger.h:24
~CLogScope()
Definition: logger.h:269
ILogger * old_scope_logger
Definition: logger.h:259
ILogger * new_scope_logger
Definition: logger.h:260
CLogScope(ILogger *logger)
Definition: logger.h:263
virtual void Log(const CLogMessage *pMessage)=0
virtual ~ILogger()
Definition: logger.h:72
CLogFilter m_Filter
Definition: logger.h:69
virtual void GlobalFinish()
Definition: logger.h:105
void SetFilter(const CLogFilter &Filter)
Definition: logger.h:78
virtual void OnFilterChange()
Definition: logger.h:109
std::unique_ptr< ILogger > log_logger_noop()
Definition: log.cpp:494
ILogger * log_get_scope_logger()
Definition: log.cpp:57
void log_set_global_logger(ILogger *logger)
Definition: log.cpp:26
std::unique_ptr< ILogger > log_logger_windows_debugger()
Definition: log.cpp:479
std::unique_ptr< ILogger > log_logger_android()
Definition: log.cpp:176
std::unique_ptr< ILogger > log_logger_file(IOHANDLE file)
Definition: log.cpp:277
void log_set_global_logger_default()
Definition: log.cpp:43
std::unique_ptr< ILogger > log_logger_stdout()
Definition: log.cpp:386
void log_set_scope_logger(ILogger *logger)
Definition: log.cpp:66
std::unique_ptr< ILogger > log_logger_collection(std::vector< std::shared_ptr< ILogger > > &&vpLoggers)
Definition: log.cpp:213
void log_global_logger_finish()
Definition: log.cpp:36
#define REQUIRES(...)
Definition: lock.h:32
LEVEL
Definition: log.h:14
@ LEVEL_INFO
Definition: log.h:17
void * IOHANDLE
Definition: logger.h:11