Module logs
Available on crate feature
opentelemetry
only.Expand description
§OpenTelemetry Logs Bridge API
Traits§
- Logger
- The interface for emitting
LogRecord
s. - Logger
Provider - Interfaces that can create
Logger
instances.
Structs§
- Noop
Logger Provider - A no-op implementation of a
LoggerProvider
.
Enums§
- AnyValue
- Value types for representing arbitrary values in a log record.
Note: The
tracing
andlog
crates only support basic types that can be converted to these core variants:i64
,f64
,StringValue
, andbool
. Any complex and custom types are supported through their Debug implementation, and converted to String. More complex types (Bytes
,ListAny
, andMap
) are included here to meet specification requirements and are available to support custom appenders that may be implemented for other logging crates. These types allow for handling dynamic data structures, so keep in mind the potential performance overhead of using boxed vectors and maps in appenders.
Traits§
- LogRecord
- SDK implemented trait for managing log records
Enums§
- Severity
- A normalized severity value.