borntyping / rust-simple_logger

A rust logger that prints all messages with a readable output format.
https://crates.io/crates/simple_logger
MIT License
221 stars 48 forks source link

Try to fix accidentally disabled default timestamps feature #42

Closed Nekrolm closed 2 years ago

Nekrolm commented 2 years ago

Hi! I have noticed that after commits, which replaces chrono dependency with time, logger does not print timestamps by default.

In this https://github.com/borntyping/rust-simple_logger/blob/main/src/lib.rs#L37 line, chrono feature-gate was used before dependency changes. Now it is timestamps.

So I just try to actualize default feature gates in project manifest.

Nekrolm commented 2 years ago

Possibly, colored feature requires similar changes to prevent same issue.

borntyping commented 2 years ago

Thanks for spotting this!