Skip to content
SiteEmail

cohtml::Logging::ILogHandler

Interface to allow custom logging.

#include <ILogHandler.h>

Name
ILogHandler()
virtual~ILogHandler()
virtual voidWriteLog(cohtml::Logging::LogInfo info, const char * message, size_t length) =0
Called when a log message has to be written.
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.

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