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]

[src]

Returns currently set severity threshold.

[src]

Sets the severity threshold.

All logging events with severity less than the specified threshold will be dropped.

Trait Implementations

impl Clone for Filter
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Filter
[src]

[src]

Formats the value using the given formatter.