![]() |
DDraceNetwork Documentation
|
#include <logger.h>
Public Member Functions | |
| virtual | ~ILogger ()=default |
| void | SetFilter (const CLogFilter &Filter) |
| virtual void | Log (const CLogMessage *pMessage)=0 |
| virtual void | GlobalFinish () |
| virtual void | OnFilterChange () |
Protected Attributes | |
| CLogFilter | m_Filter |
|
virtualdefault |
|
inlinevirtual |
Flushes output buffers and shuts down. Global loggers cannot be destroyed because they might be accessed from multiple threads concurrently.
This function is called on the global logger by log_global_logger_finish when the program is about to shut down and loggers are supposed to finish writing the log messages they have received so far.
The destructor of this ILogger instance will not be called if this function is called.
Reimplemented in CAssertionLogger, CFutureLogger, CLoggerAsync, and CLoggerCollection.
|
pure virtual |
Send the specified message to the logging backend.
| pMessage | Struct describing the log message. |
Implemented in CAssertionLogger, CClientChatLogger, CConsoleLogger, CFutureLogger, CLoggerAsync, CLoggerCollection, CLoggerNoOp, CMemoryLogger, CRconClientLogger, and CServerLogger.
|
inlinevirtual |
Notifies the logger of a changed m_Filter.
Reimplemented in CFutureLogger.
|
inline |
Set a new filter. It's up to the logger implementation to actually use the filter.
|
protected |