Struct log4rs_rolling_file::roll::fixed_window::FixedWindowRollerBuilder
[−]
[src]
pub struct FixedWindowRollerBuilder {
// some fields omitted
}A builder for the FixedWindowRoller.
Methods
impl FixedWindowRollerBuilder
fn base(self, base: u32) -> FixedWindowRollerBuilder
Sets the base index for archived log files.
Defaults to 0.
fn build(self, pattern: &str, count: u32) -> Result<FixedWindowRoller, Box<Error>>
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.