Module opentelemetry_sdk::logs
source · Expand description
§OpenTelemetry Log SDK
Structs§
- Batch log processor configuration. Use
BatchConfigBuilder
to configure your own instance ofBatchConfig
. - A builder for creating
BatchConfig
instances. - A
LogProcessor
that asynchronously buffers log records and reports them at a pre-configured interval. - A builder for creating
BatchLogProcessor
instances. - Builder for provider attributes.
- LogRecord represents all data carried by a log record, and is provided to
LogExporter
s as input. - The object for emitting
LogRecord
s. - Creator for
Logger
instances. - A LogProcessor that passes logs to the configured
LogExporter
, as soon as they are emitted, without any batching. This is typically useful for debugging and testing. For scenarios requiring higher performance/throughput, consider using BatchLogProcessor. - TraceContext stores the trace context for logs that have an associated span.
Traits§
- The interface for plugging into a
Logger
.