Skip to content

Releases: borntyping/rust-simple_logger

2.0.0

19 Jan 18:51
6b3bb6d
Compare
Choose a tag to compare

https://crates.io/crates/simple_logger/2.0.0

Version 2.0.0 changes the default from displaying timestamps in the local timezone to displaying timestamps in UTC. See issue #52 for more information.

This also introduces a timestamp display option using a static UTC offset via .with_utc_offset(...). See examples/timestamps_utc_offset.rs for an example. Be wary of using this in any long lived environment where daylight savings and other timezone changes might matter.

1.16.0

14 Dec 15:51
Compare
Choose a tag to compare

https://crates.io/crates/simple_logger/1.16.0

Support UTC timestamps, allowing users to sidestep problems safely getting the local timezone.

  • Deprecated SimpleLogger.with_timestamps(bool)
  • Added SimpleLogger.without_timestamps()
  • Added SimpleLogger.with_local_timestamps()
  • Added SimpleLogger.with_utc_timestamps()
  • SimpleLogger.timestamps now holds an enum instead of a bool.
  • Added timestamps_utc and timestamps_local examples.

1.15.1

10 Dec 19:31
88af897
Compare
Choose a tag to compare

https://crates.io/crates/simple_logger/1.15.1

  • Try and fix default features (thanks @Nekrolm)

v1.15.0

25 Nov 14:42
Compare
Choose a tag to compare

https://crates.io/crates/simple_logger/1.15.0

  • Added a threads feature showing thread names (and IDs on nightly) based on contributions by @cehteh (thanks!).
  • Switched from chrono to time based on contributions by @noahcoetsee (thanks!).

v1.13.0

07 Aug 09:07
7b4c3d4
Compare
Choose a tag to compare

https://crates.io/crates/simple_logger/1.13.0

  • Use a 'stderr' feature to target log output to stderr (#37, thanks @cehteh)

v1.12.1

30 Jul 07:02
Compare
Choose a tag to compare

https://crates.io/crates/simple_logger/1.12.1

  • Fixed some bugs around features.
  • Run tests against all combinations of features (all, none, just colors, just timestamps).

v1.12.0

30 Jul 07:01
Compare
Choose a tag to compare

https://github.com/borntyping/rust-simple_logger/releases/tag/v1.12.0

  • Added a .env() builder method
  • Added the colors and timestamps features, which can be used to disable specific features rather than all features.
  • Added the colors and timestamps fields, which can be used to disable functionality when the matching features are enabled.
  • Removed deprecation warnings from init() and init_with_level(). init_by_env() was replaced by init_with_env().