Struct sloggers::terminal::TerminalLoggerBuilder[][src]

pub struct TerminalLoggerBuilder { /* fields omitted */ }
Expand description

A logger builder which build loggers that output log records to the terminal.

The resulting logger will work asynchronously (the default channel size is 1024).

Implementations

Makes a new TerminalLoggerBuilder instance.

Sets the format of log records.

Sets the source code location type this logger will use.

Sets the overflow strategy for the logger.

Sets the time zone which this logger will use.

Sets the destination to which log records will be outputted.

Sets the log level of this logger.

Sets the size of the asynchronous channel of this logger.

Sets KVFilter.

Trait Implementations

Builds a logger.

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.