Expand description
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§
- ModLevel
Filter Drain
filtering records byRecord
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.- ModLevel
Filter Config - Comma-separted list of MODULE=LEVEL key value paris to configure module log level settings