[][src]Crate slog_vmodule

Filter records by matching their module name against a map of module-level settings and only allowing for records of level high enough to pass. The module name key is configurable. And it also provides a vmodule setting string parser. The settings string is a comma-separated list of MODULE=LEVEL key value paris.

Structs

ModLevelFilter

Drain filtering records by Record logging level. If the record's emitter logger has module name set, only records with at least given module level will pass. If the module name is not set or there's no correspondent module level config, the default logging level will be used.

ModLevelFilterConfig

Comma-separted list of MODULE=LEVEL key value paris to configure module log level settings

Type Definitions

ModLevelMap