Interface ILogger

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)
      Log an DEBUG message.
      void error​(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)
      Log an ERROR message.
      void exception​(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)
      Log an EXCEPTION message.
      void info​(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)
      Log an INFO message.
      void warn​(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)
      Log an WARN message.
    • Method Detail

      • info

        void info​(java.lang.String msg,
                  java.lang.Class<?> clazz,
                  java.lang.String bundleName)
        Log an INFO message.

        If the logger is currently enabled for the INFO message level then the given message is forwarded to all the registered output Handler objects.

        Parameters:
        msg - The string message (or a key in the message catalog)
        clazz - The class where the message was created
        bundleName - Name of the bundle where the message was created
      • error

        void error​(java.lang.String msg,
                   java.lang.Class<?> clazz,
                   java.lang.String bundleName)
        Log an ERROR message.

        If the logger is currently enabled for the ERROR message level then the given message is forwarded to all the registered output Handler objects.

        Parameters:
        msg - The string message (or a key in the message catalog)
        clazz - The class where the message was created
        bundleName - Name of the bundle where the message was created
      • warn

        void warn​(java.lang.String msg,
                  java.lang.Class<?> clazz,
                  java.lang.String bundleName)
        Log an WARN message.

        If the logger is currently enabled for the WARN message level then the given message is forwarded to all the registered output Handler objects.

        Parameters:
        msg - The string message (or a key in the message catalog)
        clazz - The class where the message was created
        bundleName - Name of the bundle where the message was created
      • debug

        void debug​(java.lang.String msg,
                   java.lang.Class<?> clazz,
                   java.lang.String bundleName)
        Log an DEBUG message.

        If the logger is currently enabled for the DEBUG message level then the given message is forwarded to all the registered output Handler objects.

        Parameters:
        msg - The string message (or a key in the message catalog)
        clazz - The class where the message was created
        bundleName - Name of the bundle where the message was created
      • exception

        void exception​(java.lang.String msg,
                       java.lang.Class<?> clazz,
                       java.lang.String bundleName)
        Log an EXCEPTION message.

        If the logger is currently enabled for the EXCEPTION message level then the given message is forwarded to all the registered output Handler objects.

        Parameters:
        msg - The string message (or a key in the message catalog)
        clazz - The class where the message was created
        bundleName - Name of the bundle where the message was created