dnp3 (C API) 1.1.0
|
Logging interface that receives the log messages and writes them somewhere. More...
#include <dnp3.h>
Data Fields | |
void(* | on_message )(dnp3_log_level_t, const char *, void *) |
Called when a log message was received and should be logged. More... | |
void(* | on_destroy )(void *arg) |
Callback when the underlying owner doesn't need the interface anymore. More... | |
void * | ctx |
Context data. More... | |
Logging interface that receives the log messages and writes them somewhere.
void* dnp3_logger_t::ctx |
Context data.
void(* dnp3_logger_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
arg | Context data |
void(* dnp3_logger_t::on_message) (dnp3_log_level_t, const char *, void *) |
Called when a log message was received and should be logged.
level | Level of the message |
message | Actual formatted message |
ctx | Context data |