Expand description
§OpenTelemetry Log SDK
Modules§
- Module for BatchLogProcessor with async runtime.
Structs§
- Batch log processor configuration. Use
BatchConfigBuilder
to configure your own instance ofBatchConfig
. - A builder for creating
BatchConfig
instances. - The
BatchLogProcessor
collects finished logs in a buffer and exports them in batches to the configuredLogExporter
. This processor is ideal for high-throughput environments, as it minimizes the overhead of exporting logs individually. It uses a dedicated background thread to manage and export logs asynchronously, ensuring that the application’s main execution flow is not blocked. - A builder for creating
BatchLogProcessor
instances. - A batch of log records to be exported by a
LogExporter
. - 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. - Handles the creation and coordination of
Logger
s. - A
LogProcessor
designed for testing and debugging purpose, that immediately exports log records as they are emitted. Log records are exported synchronously in the same thread that emits the log record. When using this processor with the OTLP Exporter, the following exporter features are supported: - TraceContext stores the trace context for logs that have an associated span.
Enums§
- Errors returned by the log SDK.
Traits§
LogExporter
defines the interface that log exporters should implement.- The interface for plugging into a
SdkLogger
.
Type Aliases§
- Describe the result of operations in log SDK.