dnp3  0.9.0
Public Attributes | List of all members
dnp3_logging_config_t Struct Reference

Logging configuration options. More...

#include <dnp3.h>

Public Attributes

dnp3_log_level_t level
 logging level More...
 
dnp3_log_output_format_t output_format
 output formatting options More...
 
dnp3_time_format_t time_format
 optional time format More...
 
bool print_level
 optionally print the log level as part to the message string More...
 
bool print_module_info
 optionally print the underlying Rust module information to the message string More...
 

Detailed Description

Logging configuration options.

Member Data Documentation

◆ level

dnp3_log_level_t dnp3_logging_config_t::level

logging level

Note
Default value is DNP3_LOG_LEVEL_INFO

◆ output_format

dnp3_log_output_format_t dnp3_logging_config_t::output_format

output formatting options

Note
Default value is DNP3_LOG_OUTPUT_FORMAT_TEXT

◆ print_level

bool dnp3_logging_config_t::print_level

optionally print the log level as part to the message string

Note
Default value is true

◆ print_module_info

bool dnp3_logging_config_t::print_module_info

optionally print the underlying Rust module information to the message string

Note
Default value is false

◆ time_format

dnp3_time_format_t dnp3_logging_config_t::time_format

optional time format

Note
Default value is DNP3_TIME_FORMAT_SYSTEM

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