rust-cli / env_logger

A logging implementation for `log` which is configured via an environment variable.
https://docs.rs/env_logger
Apache License 2.0
782 stars 124 forks source link

feat(filter): Add a Logger decorator #300

Closed epage closed 5 months ago

epage commented 5 months ago

This is a follow up to #299 that finishes superseding #295

Over time, I'd like to switch env_logger to use this decorator as part of its implementation.

At this time, I left off Filter::wrap_log. Not fully settled on that being the way to go yet.