rust-cli / env_logger

A logging implementation for `log` which is configured via an environment variable.
https://docs.rs/env_logger
Apache License 2.0
782 stars 124 forks source link

fix(fmt): Improve terminal styling support #298

Closed epage closed 5 months ago

epage commented 5 months ago

This switches the backend to anstream

This comes with an MSRV bump to 1.70. This allows us to use the latest anstream and avoid is-terminal.

BREAKING CHANGE: Formatter::style, Formatter::default_styled_level, Color, Style, and StyledValue were removed. Formatter::default_level_style was changed to return anstyle::Style.

Fixes #274 Fixes #276