rodbus (C++ API) 1.3.1
Loading...
Searching...
No Matches
rodbus::LoggingConfig Struct Reference

Logging configuration options. More...

#include <rodbus.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()

rodbus::LoggingConfig::LoggingConfig ( )

Initialize the configuration to default values.

Note
Values are initialized to:
Returns
New instance of LoggingConfig

Member Data Documentation

◆ level

LogLevel rodbus::LoggingConfig::level

logging level

◆ output_format

LogOutputFormat rodbus::LoggingConfig::output_format

output formatting options

◆ print_level

bool rodbus::LoggingConfig::print_level

optionally print the log level as part to the message string

◆ print_module_info

bool rodbus::LoggingConfig::print_module_info

optionally print the underlying Rust module information to the message string

◆ time_format

TimeFormat rodbus::LoggingConfig::time_format

optional time format


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