Package io.opentelemetry.sdk.logs.export
Interface LogExporter
- All Known Implementing Classes:
InMemoryLogExporter
public interface LogExporter
An exporter is responsible for taking a collection of
LogDatas and transmitting them to
their ultimate destination.-
Method Summary
-
Method Details
-
export
Exports the collections of givenLogData.- Parameters:
logs- the collection ofLogDatato be exported- Returns:
- the result of the export, which is often an asynchronous operation
-
shutdown
io.opentelemetry.sdk.common.CompletableResultCode shutdown()Exports the collection ofLogDatathat have not yet been exported.- Returns:
- the result of the flush, which is often an asynchronous operation
-