Package 

Interface IOtelOpenTelemetry

    • Method Summary

      Modifier and Type Method Description
      abstract LogRecordBuilder getLogger() Gets a LogRecordBuilder for creating log records.
      abstract CompletableResultCode forceFlush() Forces a flush of all pending log records.
      abstract Unit shutdown() Shuts down the underlying OpenTelemetry SDK, flushing pending data and releasing resources (exporters, logger providers, etc.).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLogger

         abstract LogRecordBuilder getLogger()

        Gets a LogRecordBuilder for creating log records. This is a suspend function as it may need to initialize the SDK on first call.

      • forceFlush

         abstract CompletableResultCode forceFlush()

        Forces a flush of all pending log records. This ensures all buffered logs are exported immediately.

      • shutdown

         abstract Unit shutdown()

        Shuts down the underlying OpenTelemetry SDK, flushing pending data and releasing resources (exporters, logger providers, etc.). After this call the instance must not be reused.