Class NoopLoggingCustomizer

java.lang.Object
io.opentelemetry.javaagent.tooling.NoopLoggingCustomizer
All Implemented Interfaces:
LoggingCustomizer

@AutoService(LoggingCustomizer.class) public final class NoopLoggingCustomizer extends Object implements LoggingCustomizer
  • Constructor Details

    • NoopLoggingCustomizer

      public NoopLoggingCustomizer()
  • Method Details

    • name

      public String name()
      Description copied from interface: LoggingCustomizer
      Returns name of the logger implementation. Will be matched against the value of the otel.javavagent.logger system property - in case it is the same, this LoggingCustomizer will be used to initialize the javaagent logging subsystem.
      Specified by:
      name in interface LoggingCustomizer
    • init

      public void init(EarlyInitAgentConfig earlyConfig)
      Specified by:
      init in interface LoggingCustomizer
    • onStartupFailure

      public void onStartupFailure(Throwable throwable)
      Description copied from interface: LoggingCustomizer
      Register a callback which will be called on synchronous startup failure (including if LoggingCustomizer.init(EarlyInitAgentConfig) fails).

      Synchronous startup may or may not include running AgentListener.afterAgent(AutoConfiguredOpenTelemetrySdk)" listeners.

      Specified by:
      onStartupFailure in interface LoggingCustomizer
    • onStartupSuccess

      public void onStartupSuccess()
      Description copied from interface: LoggingCustomizer
      Register a callback which will be called on synchronous startup success.

      Synchronous startup may or may not include running AgentListener.afterAgent(AutoConfiguredOpenTelemetrySdk)" listeners.

      Specified by:
      onStartupSuccess in interface LoggingCustomizer