Class ApiUsageLogger

java.lang.Object
io.opentelemetry.api.internal.ApiUsageLogger

public final class ApiUsageLogger extends Object
Helper for API misuse logging.

This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

  • Method Details

    • log

      public static void log(String message)
      Log the message to the API Usage Logger.

      Log at Level.FINEST and include a stack trace.

    • log

      public static void log(String message, Level level)
      Log the message to the API Usage Logger.

      Log includes a stack trace.