Module logs

Source
Expand description

§OpenTelemetry Log SDK

Structs§

BatchConfig
Batch log processor configuration. Use BatchConfigBuilder to configure your own instance of BatchConfig.
BatchConfigBuilder
A builder for creating BatchConfig instances.
BatchLogProcessor
A LogProcessor that asynchronously buffers log records and reports them at a pre-configured interval.
BatchLogProcessorBuilder
A builder for creating BatchLogProcessor instances.
Builder
Builder for provider attributes.
LogRecord
LogRecord represents all data carried by a log record, and is provided to LogExporters as input.
Logger
The object for emitting LogRecords.
LoggerProvider
Creator for Logger instances.
SimpleLogProcessor
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
TraceContext stores the trace context for logs that have an associated span.

Traits§

LogProcessor
The interface for plugging into a Logger.