File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
15
15
16
16
## [ 0.11.0] - 2024-01-19
17
17
18
+ ### Migration Guide
19
+
20
+ ** env_logger::fmt::Style:**
21
+ The bespoke styling API, behind ` color ` , was removed, in favor of accepting any
22
+ ANSI styled string and adapting it to the target stream's capabilities.
23
+
24
+ Possible styling libraries include:
25
+ - [ anstyle] ( https://docs.rs/anstyle ) is a minimal, runtime string styling API and is re-exported as ` env_logger::fmt::style `
26
+ - [ owo-colors] ( https://docs.rs/owo-colors ) is a feature rich runtime string styling API
27
+ - [ color-print] ( https://docs.rs/color-print ) for feature-rich compile-time styling API
28
+
29
+ [ custom_format.rs] ( https://docs.rs/env_logger/latest/src/custom_format/custom_format.rs.html )
30
+ uses ` anstyle ` via
31
+ [ ` Formatter::default_level_style ` ] ( https://docs.rs/env_logger/latest/env_logger/fmt/struct.Formatter.html#method.default_level_style )
32
+
18
33
### Breaking Change
19
34
20
35
- Removed bespoke styling API
You can’t perform that action at this time.
0 commit comments