dnp3 (.NET API) 1.1.0
|
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... | |
Logging configuration options
|
inline |
Initialize the configuration to default values
Default values:
|
inline |
logging level
|
inline |
output formatting options
|
inline |
optionally print the log level as part to the message string
|
inline |
optionally print the underlying Rust module information to the message string
|
inline |
optional time format
LogLevel dnp3.LoggingConfig.Level |
logging level
LogOutputFormat dnp3.LoggingConfig.OutputFormat |
output formatting options
bool dnp3.LoggingConfig.PrintLevel |
optionally print the log level as part to the message string
bool dnp3.LoggingConfig.PrintModuleInfo |
optionally print the underlying Rust module information to the message string
TimeFormat dnp3.LoggingConfig.TimeFormat |
optional time format