Top Description Fields Constructors Methods
io.opentelemetry.api.internal

public final Class ApiUsageLogger

extends Object
Class Inheritance
Imports
java.util.logging.Level, .Logger

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.

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
log(String message)

Log the message to the API Usage Logger.

public static void
log(String message, Level level)

Log the message to the API Usage Logger.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

API_USAGE_LOGGERback to summary
private static final Logger API_USAGE_LOGGER

Constructor Detail

ApiUsageLoggerback to summary
private ApiUsageLogger()

Method Detail

logback to summary
public static void log(String message)

Log the message to the API Usage Logger.

Log at Level#FINEST and include a stack trace.

logback to summary
public static void log(String message, Level level)

Log the message to the API Usage Logger.

Log includes a stack trace.