Struct sloggers::terminal::TerminalLoggerBuilder
[−]
[src]
pub struct TerminalLoggerBuilder { /* fields omitted */ }
A logger builder which build loggers that output log records to the terminal.
Methods
impl TerminalLoggerBuilder
[src]
fn new() -> Self
Makes a new TerminalLoggerBuilder
instance.
fn format(&mut self, format: Format) -> &mut Self
Sets the format of log records.
fn timezone(&mut self, timezone: TimeZone) -> &mut Self
Sets the time zone which this logger will use.
fn destination(&mut self, destination: Destination) -> &mut Self
Sets the destination to which log records will be outputted.
fn level(&mut self, severity: Severity) -> &mut Self
Sets the log level of this logger.