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

A builder for Configs.

Implementations

Adds an appender.

Adds appenders.

Adds a logger.

Adds loggers.

Consumes the ConfigBuilder, returning the Config.

Unlike build, this method will always return a Config by stripping portions of the configuration that are incorrect.

Consumes the ConfigBuilder, returning the Config.

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.