findLoggingClass

public abstract String findLoggingClass(Class<? extends AbstractLogger<? extends Object>> loggerClass)

Returns the name of the immediate caller of the given logger class. This is useful when determining the class name with which to create a logger backend.

Return

the name of the class that called the specified logger.

Parameters

loggerClass

the class containing the log() methods whose caller we need to find.

Throws

if there was no caller of the specified logged passed on the stack (which may occur if the logger class was invoked directly by JNI).