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

Data specific to this logger

Implementations

creates a new stderr logger

Sets the verbosity level of messages that will be displayed

Values can be supplied as:

  • usize
  • log::Level
  • log::LevelFilter
  • LogLevelNum

Values map as follows: 0 -> Error 1 -> Warn 2 -> Info 3 -> Debug 4 or higher -> Trace

silence all output, no matter the value of verbosity

Enables or disables the use of levels in log messages (default is true)

Enables or disables the use of timestamps in log messages

Enables or disables the use of color in log messages

specify a module to allow to log to stderr

Enables or disables the use of module names in log messages

specify modules to allow to log to stderr

sets the the logger as active

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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.