cohtml::Logging::ILogHandler
On this page
Interface to allow custom logging.
#include <ILogHandler.h>
Public Functions
| Name | |
|---|---|
| ILogHandler() | |
| virtual | ~ILogHandler() |
| virtual void | WriteLog(cohtml::Logging::LogInfo info, const char * message, size_t length) =0 Called when a log message has to be written. |
Public Functions Documentation
function ILogHandler
ILogHandler()
function ~ILogHandler
virtual ~ILogHandler()
function WriteLog
virtual void WriteLog(
cohtml::Logging::LogInfo info,
const char * message,
size_t length
) =0
Called when a log message has to be written.
Parameters:
- info the severity, target audience, and type of the message
- message the log message itself, null terminated
- length the length of the message including the trailing 0