Struct cocaine::logging::Filter
[−]
[src]
pub struct Filter { /* fields omitted */ }
Severity filter handle.
A Filter
allows to configure the severity level threshold for logging events. All events with
severity less than the specified will be rejected immediately.
Methods
impl Filter
[src]
fn get(&self) -> isize
Returns currently set severity threshold.
fn set(&self, sev: isize)
Sets the severity threshold.
All logging events with severity less than the specified threshold will be dropped.
Trait Implementations
impl Clone for Filter
[src]
fn clone(&self) -> Filter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more