Package org.slf4j.helpers
Class Util
- java.lang.Object
-
- org.slf4j.helpers.Util
-
public final class Util extends java.lang.Object
An internal utility class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Class<?>
getCallingClass()
Returns the name of the class which called the invoking method.static void
report(java.lang.String msg)
static void
report(java.lang.String msg, java.lang.Throwable t)
static boolean
safeGetBooleanSystemProperty(java.lang.String key)
static java.lang.String
safeGetSystemProperty(java.lang.String key)
-
-
-
Method Detail
-
safeGetSystemProperty
public static java.lang.String safeGetSystemProperty(java.lang.String key)
-
safeGetBooleanSystemProperty
public static boolean safeGetBooleanSystemProperty(java.lang.String key)
-
getCallingClass
public static java.lang.Class<?> getCallingClass()
Returns the name of the class which called the invoking method.- Returns:
- the name of the class which called the invoking method.
-
report
public static final void report(java.lang.String msg, java.lang.Throwable t)
-
report
public static final void report(java.lang.String msg)
-
-