Interface to allow custom logging.
More...
#include <Coherent/Libraries/Logging/ILogHandler.h>
|
virtual | ~ILogHandler () __COH_CL_PV__ |
| Virtual destructor.
|
|
virtual void | WriteLog (Severity severity, const char *message, size_t length)=0 |
| Called when a log message has to be written. More...
|
|
virtual void | Assert (const char *message)=0 |
| Called when an assert is triggered. More...
|
|
Interface to allow custom logging.
virtual void Coherent::Logging::ILogHandler::Assert |
( |
const char * |
message | ) |
|
|
pure virtual |
Called when an assert is triggered.
- Parameters
-
message | a message that describes the reason for the assertion |
virtual void Coherent::Logging::ILogHandler::WriteLog |
( |
Severity |
severity, |
|
|
const char * |
message, |
|
|
size_t |
length |
|
) |
| |
|
pure virtual |
Called when a log message has to be written.
- Parameters
-
severity | the severity of the message |
message | the log message itself |
length | the length of the message |