dnp3 (.NET API) 1.1.0
dnp3.LoggingConfig Class Reference

Logging configuration options More...

Public Member Functions

LoggingConfig WithLevel (LogLevel value)
 logging level More...
 
LoggingConfig WithOutputFormat (LogOutputFormat value)
 output formatting options More...
 
LoggingConfig WithTimeFormat (TimeFormat value)
 optional time format More...
 
LoggingConfig WithPrintLevel (bool value)
 optionally print the log level as part to the message string More...
 
LoggingConfig WithPrintModuleInfo (bool value)
 optionally print the underlying Rust module information to the message string More...
 
 LoggingConfig ()
 Initialize the configuration to default values More...
 

Public Attributes

LogLevel Level
 logging level More...
 
LogOutputFormat OutputFormat
 output formatting options More...
 
TimeFormat TimeFormat
 optional time format More...
 
bool PrintLevel
 optionally print the log level as part to the message string More...
 
bool PrintModuleInfo
 optionally print the underlying Rust module information to the message string More...
 

Detailed Description

Logging configuration options

Constructor & Destructor Documentation

◆ LoggingConfig()

dnp3.LoggingConfig.LoggingConfig ( )
inline

Member Function Documentation

◆ WithLevel()

LoggingConfig dnp3.LoggingConfig.WithLevel ( LogLevel  value)
inline

logging level

◆ WithOutputFormat()

LoggingConfig dnp3.LoggingConfig.WithOutputFormat ( LogOutputFormat  value)
inline

output formatting options

◆ WithPrintLevel()

LoggingConfig dnp3.LoggingConfig.WithPrintLevel ( bool  value)
inline

optionally print the log level as part to the message string

◆ WithPrintModuleInfo()

LoggingConfig dnp3.LoggingConfig.WithPrintModuleInfo ( bool  value)
inline

optionally print the underlying Rust module information to the message string

◆ WithTimeFormat()

LoggingConfig dnp3.LoggingConfig.WithTimeFormat ( TimeFormat  value)
inline

optional time format

Member Data Documentation

◆ Level

LogLevel dnp3.LoggingConfig.Level

logging level

◆ OutputFormat

LogOutputFormat dnp3.LoggingConfig.OutputFormat

output formatting options

◆ PrintLevel

bool dnp3.LoggingConfig.PrintLevel

optionally print the log level as part to the message string

◆ PrintModuleInfo

bool dnp3.LoggingConfig.PrintModuleInfo

optionally print the underlying Rust module information to the message string

◆ TimeFormat

TimeFormat dnp3.LoggingConfig.TimeFormat

optional time format


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