org.slf4j.helpers
Class Util

java.lang.Object
  extended by org.slf4j.helpers.Util

public final class Util
extends Object

An internal utility class.

Author:
Alexander Dorokhine, Ceki Gülcü

Method Summary
static Class<?> getCallingClass()
          Returns the name of the class which called the invoking method.
static void report(String msg)
           
static void report(String msg, Throwable t)
           
static boolean safeGetBooleanSystemProperty(String key)
           
static String safeGetSystemProperty(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

safeGetSystemProperty

public static String safeGetSystemProperty(String key)

safeGetBooleanSystemProperty

public static boolean safeGetBooleanSystemProperty(String key)

getCallingClass

public static 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(String msg,
                                Throwable t)

report

public static final void report(String msg)


Copyright © 2005–2016 QOS.ch. All rights reserved.