XII Release 0.1.0
Loading...
Searching...
No Matches
xiiLogInterface Class Referenceabstract

Base class for all logging classes. More...

#include <Log.h>

Inheritance diagram for xiiLogInterface:
[legend]

Public Member Functions

virtual void HandleLogMessage (const xiiLoggingEventData &le)=0
 Override this function to handle logging events.
 
XII_ALWAYS_INLINE void SetLogLevel (xiiLogMsgType::Enum logLevel)
 LogLevel is between xiiLogEventType::None and xiiLogEventType::All and defines which messages will be logged and which will be filtered out.
 
XII_ALWAYS_INLINE xiiLogMsgType::Enum GetLogLevel ()
 Returns the currently set log level.
 

Friends

class xiiLog
 
class xiiLogBlock
 

Detailed Description

Base class for all logging classes.

You can derive from this class to create your own logging system, which you can pass to the functions in xiiLog.

Member Function Documentation

◆ HandleLogMessage()

virtual void xiiLogInterface::HandleLogMessage ( const xiiLoggingEventData & le)
pure virtual

Override this function to handle logging events.

Implemented in xiiAssetProcessorLog, xiiGlobalLog, xiiLogEntryDelegate, xiiLogSystemToBuffer, and xiiMuteLog.


The documentation for this class was generated from the following file: