Cargo Features

[dependencies]
test-log = { version = "0.2.15", default-features = false, features = ["trace", "log", "unstable"] }
default = log

The log feature is set by default whenever test-log is added without default-features = false somewhere in the dependency tree.

trace = tracing-subscriber

TODO: use "dep:{tracing-subscriber,evn_logger}" once our MSRV is 1.60 or higher.

Enables trace of test-log-macros

log default = env_logger

Enables log of test-log-macros

unstable

Enable unstable features. These are generally exempt from any semantic versioning guarantees.

Enables unstable of test-log-macros

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tracing-subscriber trace?
env_logger log