Class Reporter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SLF4J_INTERNAL_REPORT_STREAM_KEY
      This system property controls the target for internal reports output by SLF4J.
      static java.lang.String SLF4J_INTERNAL_VERBOSITY_KEY
      This system property controls the internal level of chattiness of SLF4J.
    • Constructor Summary

      Constructors 
      Constructor Description
      Reporter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void debug​(java.lang.String msg)
      Report an internal message of level DEBUG.
      static void error​(java.lang.String msg)
      Report an internal message of level "ERROR".
      static void error​(java.lang.String msg, java.lang.Throwable t)
      Report an internal message of level "ERROR accompanied by a Throwable.
      static void info​(java.lang.String msg)
      Report an internal message of level INFO.
      static void warn​(java.lang.String msg)
      Report an internal message of level "WARN".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SLF4J_INTERNAL_REPORT_STREAM_KEY

        public static final java.lang.String SLF4J_INTERNAL_REPORT_STREAM_KEY
        This system property controls the target for internal reports output by SLF4J. Recognized values for this key are "System.out", "stdout", "sysout", "System.err", "stderr" and "syserr".

        By default, output is directed to "stderr".

        See Also:
        Constant Field Values
      • SLF4J_INTERNAL_VERBOSITY_KEY

        public static final java.lang.String SLF4J_INTERNAL_VERBOSITY_KEY
        This system property controls the internal level of chattiness of SLF4J. Recognized settings are "INFO", "WARN" and "ERROR". The default value is "INFO".
        See Also:
        Constant Field Values
    • Method Detail

      • debug

        public static void debug​(java.lang.String msg)
        Report an internal message of level DEBUG. Message text is prefixed with the string "SLF4J(D)", with (D) standing as a shorthand for DEBUG.

        Messages of level DEBUG are be enabled when the SLF4J_INTERNAL_VERBOSITY_KEY system property is set to "DEBUG" and disabled when set to "INFO", "WARN" or "ERROR". By default, SLF4J_INTERNAL_VERBOSITY_KEY is set to "INFO".

        Parameters:
        msg - the message text
        Since:
        2.0.16
      • info

        public static void info​(java.lang.String msg)
        Report an internal message of level INFO. Message text is prefixed with the string "SLF4J(I)", with (I) standing as a shorthand for INFO.

        Messages of level INFO are be enabled when the SLF4J_INTERNAL_VERBOSITY_KEY system property is set to "DEBUG" or "INFO" and disabled when set to "WARN" or "ERROR". By default, SLF4J_INTERNAL_VERBOSITY_KEY is set to "INFO".

        Parameters:
        msg - the message text
      • warn

        public static final void warn​(java.lang.String msg)
        Report an internal message of level "WARN". Message text is prefixed with the string "SLF4J(W)", with (W) standing as a shorthand for WARN.

        Messages of level WARN are be enabled when the SLF4J_INTERNAL_VERBOSITY_KEY system property is set to "DEBUG", "INFO" or "WARN" and disabled when set to "ERROR". By default, SLF4J_INTERNAL_VERBOSITY_KEY is set to "INFO".

        Parameters:
        msg - the message text
      • error

        public static final void error​(java.lang.String msg,
                                       java.lang.Throwable t)
        Report an internal message of level "ERROR accompanied by a Throwable. Message text is prefixed with the string "SLF4J(E)", with (E) standing as a shorthand for ERROR.

        Messages of level ERROR are always enabled.

        Parameters:
        msg - the message text
        t - a Throwable
      • error

        public static final void error​(java.lang.String msg)
        Report an internal message of level "ERROR". Message text is prefixed with the string "SLF4J(E)", with (E) standing as a shorthand for ERROR.

        Messages of level ERROR are always enabled.

        Parameters:
        msg - the message text