dnp3 (C++ API) 1.1.0
dnp3::LoggingConfig Struct Reference

Logging configuration options. More...

#include <dnp3.hpp>

Public Member Functions

 LoggingConfig ()
 Initialize the configuration to default values. More...
 

Public Attributes

LogLevel level
 logging level More...
 
LogOutputFormat output_format
 output formatting options More...
 
TimeFormat 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...
 

Friends

class CppLoggingConfigFriend
 

Detailed Description

Logging configuration options.

Constructor & Destructor Documentation

◆ LoggingConfig()

dnp3::LoggingConfig::LoggingConfig ( )

Initialize the configuration to default values.

Note
Values are initialized to:
Returns
New instance of LoggingConfig

Member Data Documentation

◆ level

LogLevel dnp3::LoggingConfig::level

logging level

◆ output_format

LogOutputFormat dnp3::LoggingConfig::output_format

output formatting options

◆ print_level

bool dnp3::LoggingConfig::print_level

optionally print the log level as part to the message string

◆ print_module_info

bool dnp3::LoggingConfig::print_module_info

optionally print the underlying Rust module information to the message string

◆ time_format

TimeFormat dnp3::LoggingConfig::time_format

optional time format


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