opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::ILogHandler Class Referenceabstract

Callback interface for log messages. More...

#include <opendnp3/logging/ILogHandler.h>

Public Member Functions

virtual ~ILogHandler ()
 
virtual void log (ModuleId module, const char *id, LogLevel level, char const *location, char const *message)=0
 Callback method for log messages. More...
 

Detailed Description

Callback interface for log messages.

Definition at line 31 of file ILogHandler.h.

Constructor & Destructor Documentation

◆ ~ILogHandler()

virtual opendnp3::ILogHandler::~ILogHandler ( )
inlinevirtual

Definition at line 34 of file ILogHandler.h.

Member Function Documentation

◆ log()

virtual void opendnp3::ILogHandler::log ( ModuleId  module,
const char *  id,
LogLevel  level,
char const *  location,
char const *  message 
)
pure virtual

Callback method for log messages.

Parameters
moduleModuleId of the logger
idstring id of the logger
levelbitfield LogLevel of the logger
locationlocation in the source of the log call
messagemessage of the log call

Implemented in opendnp3::ConsoleLogger.


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