cardoe / stderrlog-rs

Rust log implementation that logs to stderr based on verbosity specified supports macros and colors
Apache License 2.0
32 stars 28 forks source link

Shall colorizing and timestamps be optional? #11

Closed vi closed 5 years ago

vi commented 6 years ago

Can stderrlog turn into an unbloated logger for small tools (yet with easy access to --quiet and --verbose modes) by disabling some Cargo features?

cardoe commented 6 years ago

This sounds like a great idea.

cardoe commented 6 years ago

Are you hoping to lose the dependency on termcolor entirely when built without the color feature or would something like https://docs.rs/termcolor/0.3.6/termcolor/struct.NoColor.html usage be good?

cardoe commented 5 years ago

Closing this due to lack of traction. I would welcome patches to achieve this if desired by folks.