Skip to content

Commit

Permalink
feat: allow using color for tracing and log
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron authored and d-e-s-o committed Apr 29, 2024
1 parent e4cf1e9 commit ee032f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ path = "tests/default_log_filter.rs"
required-features = ["log", "unstable"]

[features]
default = ["log"]
default = ["log", "color"]
# TODO: use "dep:{tracing-subscriber,evn_logger}" once our MSRV is 1.60 or higher.
trace = ["tracing-subscriber", "test-log-macros/trace"]
log = ["env_logger", "test-log-macros/log", "tracing-subscriber?/tracing-log"]
color = ["env_logger?/auto-color", "tracing-subscriber?/ansi"]
# Enable unstable features. These are generally exempt from any semantic
# versioning guarantees.
unstable = ["test-log-macros/unstable"]
Expand Down

0 comments on commit ee032f2

Please sign in to comment.