This change adds a basic module path filters that when used only allow printing of selected module prefixes logs. Perhaps full RUST_LOG support would be better but this at least makes this logger usable with programs that use libraries that log on debug and trace levels by default (like rusoto_s3).
Also full support for log levels per module path can be added later by parsing filters without = as defaulting to default log level.
This change adds a basic module path filters that when used only allow printing of selected module prefixes logs. Perhaps full
RUST_LOG
support would be better but this at least makes this logger usable with programs that use libraries that log on debug and trace levels by default (likerusoto_s3
).Also full support for log levels per module path can be added later by parsing filters without
=
as defaulting to default log level.