Coherent UI  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Coherent::Logging::ILogHandler Class Referenceabstract

Interface to allow custom logging. More...

#include <Coherent/Libraries/Logging/ILogHandler.h>

Public Member Functions

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...
 

Detailed Description

Interface to allow custom logging.

Member Function Documentation

virtual void Coherent::Logging::ILogHandler::Assert ( const char *  message)
pure virtual

Called when an assert is triggered.

Parameters
messagea 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
severitythe severity of the message
messagethe log message itself
lengththe length of the message