Update Rust crate simple_logger to v4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
simple_logger | dependencies | major |
1 -> 4
|
simple_logger | dev-dependencies | major |
2.3 -> 4.2
|
Release Notes
borntyping/rust-simple_logger (simple_logger)
v4.2.0
What's Changed
- replace dependency to atty for windows targets by std implementation by @ChrisCA in https://github.com/borntyping/rust-simple_logger/pull/81
- Minimum supported rust-version on windows is 1.70.
Full Changelog: https://github.com/borntyping/rust-simple_logger/compare/v4.1.0...v4.2.0
v4.1.0
What's Changed
- Customizable timestamps format by @ctaoist in https://github.com/borntyping/rust-simple_logger/pull/79
Full Changelog: https://github.com/borntyping/rust-simple_logger/compare/v4.0.0...v4.1.0
v4.0.0
: Version 4.0.0
What's Changed
- Adopt windows-sys by @killianc3 in https://github.com/borntyping/rust-simple_logger/pull/68
Full Changelog: https://github.com/borntyping/rust-simple_logger/compare/v3.0.0...v4.0.0
v3.0.0
: Version 3.0.0
What's Changed
- Ensure log levels are appropriately padded even on coloured outputs. by @etemesi254 in https://github.com/borntyping/rust-simple_logger/pull/69
Full Changelog: https://github.com/borntyping/rust-simple_logger/compare/v2.3.0...v3.0.0
v2.3.0
What's Changed
- Added an example of flushing the log for #33
- Using the FromStr implementation for LevelFilter, also fixes #64 by @BRA1L0R in https://github.com/borntyping/rust-simple_logger/pull/65
- doc: call env after with_level by @DesmondWillowbrook in https://github.com/borntyping/rust-simple_logger/pull/59
Full Changelog: https://github.com/borntyping/rust-simple_logger/compare/v2.2.0...v2.3.0
v2.2.0
What's Changed
- improve documentation by @xeptore in https://github.com/borntyping/rust-simple_logger/pull/58
- Include UTC offset when using
Timestamps::UtcOffset
by @hismito in https://github.com/borntyping/rust-simple_logger/pull/62
Full Changelog: https://github.com/borntyping/rust-simple_logger/compare/v2.1.0...v2.2.0
v2.1.0
v2.0.0
: 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.
v1.16.0
: 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.
v1.15.1
: 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
https://crates.io/crates/simple_logger/1.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()
.
v1.11.0
v1.10.0
v1.9.0
v1.7.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.