Functional adapter of ILogger
More...
Functional adapter of ILogger
◆ Logger()
dnp3.Logger.Logger |
( |
Action< LogLevel, string > |
action | ) |
|
|
inline |
Functional constructor
- Parameters
-
action | Callback to execute |
◆ OnMessage()
void dnp3.Logger.OnMessage |
( |
LogLevel |
level, |
|
|
string |
message |
|
) |
| |
|
inline |
Called when a log message was received and should be logged
- Parameters
-
level | Level of the message |
message | Actual formatted message |
Implements dnp3.ILogger.
The documentation for this class was generated from the following file: