Struct sloggers::file::FileLoggerBuilder [] [src]

pub struct FileLoggerBuilder { /* fields omitted */ }

A logger builder which build loggers that write log records to the specified file.

Methods

impl FileLoggerBuilder
[src]

Makes a new FileLoggerBuilder instance.

This builder will create a logger which uses path as the output destination of the log records.

Sets the format of log records.

Sets the time zone which this logger will use.

Sets the log level of this logger.

Trait Implementations

impl Debug for FileLoggerBuilder
[src]

Formats the value using the given formatter.

impl Build for FileLoggerBuilder
[src]

Builds a logger.