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 ^0.26

Features from optional dependencies

log implicit feature

Enables log

log:

A lightweight logging facade for Rust