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

Builder for a logger output configuration.

Implementations

Creates a new builder for a logger output configuration.

Sets the name of a logger output.

Sets the level of a logger output.

Sets a collection of filters of a logger output. A message is logged only if one of the filters is part of the log’s metadata target.

Sets a collection of exclusions of a logger output. A message is logged only if one of the exclusions is not part of the log’s metadata target.

Sets the color flag of a logger output.

Builds a logger output configuration.

Trait Implementations

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

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.