Releases: borntyping/rust-simple_logger
2.0.0
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
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
andtimestamps_local
examples.
1.15.1
https://crates.io/crates/simple_logger/1.15.1
- Try and fix default features (thanks @Nekrolm)
v1.15.0
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
totime
based on contributions by @noahcoetsee (thanks!).
v1.13.0
v1.12.1
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
https://github.com/borntyping/rust-simple_logger/releases/tag/v1.12.0
- Added a
.env()
builder method - Added the
colors
andtimestamps
features, which can be used to disable specific features rather than all features. - Added the
colors
andtimestamps
fields, which can be used to disable functionality when the matching features are enabled. - Removed deprecation warnings from
init()
andinit_with_level()
.init_by_env()
was replaced byinit_with_env()
.