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

pub struct TerminalLoggerBuilder { /* fields omitted */ }

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).

Methods

impl TerminalLoggerBuilder
[src]

[src]

Makes a new TerminalLoggerBuilder instance.

[src]

Sets the format of log records.

[src]

Sets the source code location type this logger will use.

[src]

Sets the time zone which this logger will use.

[src]

Sets the destination to which log records will be outputted.

[src]

Sets the log level of this logger.

[src]

Sets the size of the asynchronous channel of this logger.

Trait Implementations

impl Debug for TerminalLoggerBuilder
[src]

[src]

Formats the value using the given formatter.

impl Default for TerminalLoggerBuilder
[src]

[src]

Returns the "default value" for a type. Read more

impl Build for TerminalLoggerBuilder
[src]

[src]

Builds a logger.