pub struct BasicLogger { /* private fields */ }
Expand description

Implements log and a set of builder methods for configuration.

Use the “builder” methods on this struct to configure the logger, then call [init] to initialize the actual logger.

Implementations

Initialize the logger with the default log level set to Level::Trace.

Set the ‘default’ log level.

Initialize the actual logger.

Trait Implementations

See this

Determines if a log message with the specified metadata would be logged. Read more

Logs the Record. Read more

Flushes any buffered records.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.