Package io.opentelemetry.sdk.logging
Class LogSinkSdkProvider
- java.lang.Object
-
- io.opentelemetry.sdk.logging.LogSinkSdkProvider
-
public final class LogSinkSdkProvider extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogSinkSdkProvider.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLogProcessor(LogProcessor processor)
io.opentelemetry.sdk.common.CompletableResultCode
forceFlush()
Flushes all attached processors.LogSink
get(String instrumentationName, String instrumentationVersion)
io.opentelemetry.sdk.common.CompletableResultCode
shutdown()
Shut down of provider and associated processors.
-
-
-
Method Detail
-
addLogProcessor
public void addLogProcessor(LogProcessor processor)
-
forceFlush
public io.opentelemetry.sdk.common.CompletableResultCode forceFlush()
Flushes all attached processors.- Returns:
- result
-
shutdown
public io.opentelemetry.sdk.common.CompletableResultCode shutdown()
Shut down of provider and associated processors.- Returns:
- result
-
-