dnp3  0.9.0
Public Member Functions | List of all members
dnp3.Logger Class Reference

Functional adapter of ILogger More...

Inheritance diagram for dnp3.Logger:
dnp3.ILogger

Public Member Functions

 Logger (Action< LogLevel, string > action)
 Functional constructor More...
 
void OnMessage (LogLevel level, string message)
 Called when a log message was received and should be logged More...
 

Detailed Description

Functional adapter of ILogger

Constructor & Destructor Documentation

◆ Logger()

dnp3.Logger.Logger ( Action< LogLevel, string >  action)
inline

Functional constructor

Parameters
actionCallback to execute

Member Function Documentation

◆ OnMessage()

void dnp3.Logger.OnMessage ( LogLevel  level,
string  message 
)
inline

Called when a log message was received and should be logged

Parameters
levelLevel of the message
messageActual formatted message

Implements dnp3.ILogger.


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