Cargo Features

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

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

Enables tracing-log

spec_unstable_logs_enabled

Enables spec_unstable_logs_enabled of opentelemetry

Features from optional dependencies

log implicit feature

Enables log

log:

A lightweight logging facade for Rust