org.slf4j.helpers

## Class Util

- java.lang.Object
- - org.slf4j.helpers.Util

-     public final class Util
      extends Object

  An internal utility class.
  Author:
    Alexander Dorokhine, Ceki Gülcü

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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–2017 QOS.ch. All rights reserved.