dnp3 (C++ API) 1.1.0
dnp3::Logger Class Referenceabstract

Logging interface that receives the log messages and writes them somewhere. More...

#include <dnp3.hpp>

Inheritance diagram for dnp3::Logger:
dnp3::functional::LoggerLambda< T >

Public Member Functions

virtual void on_message (LogLevel level, const char *message)=0
 Called when a log message was received and should be logged. More...
 

Detailed Description

Logging interface that receives the log messages and writes them somewhere.

Note
this class is an "interface" and only has pure virtual methods

Member Function Documentation

◆ on_message()

virtual void dnp3::Logger::on_message ( LogLevel  level,
const char *  message 
)
pure virtual

Called when a log message was received and should be logged.

Parameters
levelLevel of the message
messageActual formatted message

Implemented in dnp3::functional::LoggerLambda< T >.


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