Plasma Engine  2.0
Loading...
Searching...
No Matches
plLogInterface Class Referenceabstract

Base class for all logging classes. More...

#include <Log.h>

Inheritance diagram for plLogInterface:

Public Member Functions

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

Friends

class plLog
 
class plLogBlock
 

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

Member Function Documentation

◆ HandleLogMessage()

virtual void plLogInterface::HandleLogMessage ( const plLoggingEventData & le)
pure virtual

Override this function to handle logging events.

Implemented in plAssetProcessorLog, plGlobalLog, plLogEntryDelegate, plLogSystemToBuffer, and plMuteLog.


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