Struct reups_lib::Logger

source ·
pub struct Logger { /* private fields */ }
Expand description

Structure which is responsible processing input from the std log api. It’s members are the highest log level to output, and if the output should be sent to stdandard error instead of standard out.

Implementations§

Creates a new logger object. Arguments are the maximum level to log, and if the output should go to standard out or standard error.

Trait Implementations§

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.