Struct flexi_logger::ModuleFilter [−][src]
pub struct ModuleFilter {
pub module_name: Option<String>,
pub level_filter: LevelFilter,
}
Expand description
Defines which loglevel filter to use for the specified module.
A ModuleFilter
, whose module_name
is not set, describes the default loglevel filter.
Fields
module_name: Option<String>
The module name.
level_filter: LevelFilter
The level filter.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ModuleFilter
impl Send for ModuleFilter
impl Sync for ModuleFilter
impl Unpin for ModuleFilter
impl UnwindSafe for ModuleFilter
Blanket Implementations
Mutably borrows from an owned value. Read more