Cargo Features

opentelemetry-appender-tracing2 has no features set by default.

[dependencies]
opentelemetry-appender-tracing2 = { version = "0.26.0", features = ["experimental_metadata_attributes", "logs_level_enabled", "log"] }
experimental_metadata_attributes

Enables tracing-log

logs_level_enabled

Enables logs_level_enabled of opentelemetry

Features from optional dependencies

log implicit feature

Enables log

log:

A lightweight logging facade for Rust