LogRecordExporter class abstract

A LogRecordExporter exports log records.

LogRecordExporters handle the protocol-specific details of exporting log records to a backend. They should be simple encoders and transmitters.

More information: https://opentelemetry.io/docs/specs/otel/logs/sdk/#logrecordexporter

Constructors

LogRecordExporter()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

export(List<ReadableLogRecord> logRecords) → Future<ExportResult>
Exports a batch of log records.
forceFlush() → Future<void>
Forces the exporter to flush any pending log records.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() → Future<void>
Shuts down the exporter.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited