Struct log4rs::filter::threshold::ThresholdFilterDeserializer
[−]
[src]
pub struct ThresholdFilterDeserializer;
A deserializer for the ThresholdFilter
.
Configuration
kind: threshold
# The threshold log level to filter at. Required
level: warn
Trait Implementations
impl Deserialize for ThresholdFilterDeserializer
[src]
type Trait = Filter
The trait that this builder will create.
fn deserialize(&self, config: Value, _: &Deserializers) -> Result<Box<Filter>, Box<Error>>
Create a new trait object based on the provided config.