Struct log4rs_rolling_file::roll::fixed_window::FixedWindowRollerDeserializer [] [src]

pub struct FixedWindowRollerDeserializer;

A deserializer for the FixedWindowRoller.

Configuration

kind: fixed_window

# The filename pattern for archived logs. Must contain at least one `{}`.
# Required.
pattern: archive/foo.{}.log

# The maximum number of archived logs to maintain. Required.
count: 5

# The base value for archived log indices. Defaults to 0.
base: 1

Trait Implementations

impl Deserialize for FixedWindowRollerDeserializer

type Trait = Roll

fn deserialize(&self, config: Value, _: &Deserializers) -> Result<Box<Roll>, Box<Error>>