Skip to content

InternalCoreWriterProvider

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

interface InternalCoreWriterProvider

Internal interface to provide the core writer to the tracer. The com.datadog.trace.core.CoreTracer uses this interface to be able to provide custom implementations of the writer. By using this interface, the tracer can be decoupled from the dd-sdk-android-trace-otel module by providing the writer implementation from the dd-sdk-android-trace module. The reason we cannot provide the implementation directly in the dd-track-android-trace-otel module is that the current Writer implementation is depending on too many classes from the dd-sdk-android-trace module.

Functions

getCoreTracerWriter

abstract fun getCoreTracerWriter(): Writer

Returns the core writer used by the tracer.

Clone this wiki locally