Interface LogsSubscriber

All Superinterfaces:
Flow.Subscriber<Log>

public interface LogsSubscriber extends Flow.Subscriber<Log>
A Flow.Subscriber for OpenTelemetry Log records.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNext(Log log)
    Method invoked for each log entry of each OTLP packet.

    Methods inherited from interface java.util.concurrent.Flow.Subscriber

    onComplete, onError, onSubscribe
  • Method Details

    • onNext

      void onNext(Log log)
      Method invoked for each log entry of each OTLP packet. If this method throws an exception the subscription may be cancelled.
      Specified by:
      onNext in interface Flow.Subscriber<Log>