Struct sloggers::terminal::TerminalLoggerConfig
[−]
[src]
pub struct TerminalLoggerConfig { pub level: Severity, pub format: Format, pub timezone: TimeZone, pub destination: Destination, }
The configuration of TerminalLoggerBuilder
.
Fields
level: Severity
Log level.
format: Format
Log record format.
timezone: TimeZone
Time Zone.
destination: Destination
Output destination.
Trait Implementations
impl Debug for TerminalLoggerConfig
[src]
impl Default for TerminalLoggerConfig
[src]
fn default() -> TerminalLoggerConfig
Returns the "default value" for a type. Read more
impl Clone for TerminalLoggerConfig
[src]
fn clone(&self) -> TerminalLoggerConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Config for TerminalLoggerConfig
[src]
type Builder = TerminalLoggerBuilder
Logger builder.
fn try_to_builder(&self) -> Result<Self::Builder>
Makes a logger builder associated with this configuration.
fn build_logger(&self) -> Result<Logger>
Builds a logger with this configuration.