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

A builder for the FixedWindowRoller.

Implementations

Sets the base index for archived log files.

Defaults to 0.

Constructs a new FixedWindowRoller.

pattern must contain at least one instance of {}, all of which will be replaced with an archived log file’s index.

If the file extension of the pattern is .gz and the gzip Cargo feature is enabled, the archive files will be gzip-compressed.

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.