Interface ILogger

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ACTIVITY_LOG  
      static int DEBUG
      The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
      static int ERROR
      The ERROR level designates error events that might still allow the application to continue running.
      static int FATAL
      The FATAL level designates very severe error events that will presumably lead the application to abort.
      static int INFO
      The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
      static String INSTANCE_LOG  
      static String SESSION_LOG  
      static String SOLUTION_LOG  
      static int TRACE
      The TRACE has the lowest possible rank and is intended to turn on all logging.
      static int UNKNOWN  
      static int WARN
      The WARN level designates potentially harmful situations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void debug​(String message)
      Log a message object with the DEBUG Level.
      void debug​(String message, Throwable error)
      Log a message with the DEBUG level including the stack trace of the Throwable error passed as parameter.
      void error​(String message)
      Log a message object with the ERROR Level.
      void error​(String message, Throwable error)
      Log a message with the ERROR level including the stack trace of the Throwable error passed as parameter.
      void fatal​(String message)
      Log a message object with the FATAL Level.
      void fatal​(String message, Throwable error)
      Log a message with the FATAL level including the stack trace of the Throwable error passed as parameter.
      int getLoggingLevel()
      Return the logging level for this Logger.
      void info​(String message)
      Log a message object with the INFO Level.
      void info​(String message, Throwable error)
      Log a message with the INFO level including the stack trace of the Throwable error passed as parameter.
      void setLoggingLevel​(int loggingLevel)
      Set the logging level for this Logger.
      void trace​(String message)
      Log a message object with the TRACE Level.
      void trace​(String message, Throwable error)
      Log a message with the TRACE level including the stack trace of the Throwable error passed as parameter.
      void warn​(String message)
      Log a message object with the WARN Level.
      void warn​(String message, Throwable error)
      Log a message with the WARN level including the stack trace of the Throwable error passed as parameter.
    • Method Detail

      • getLoggingLevel

        int getLoggingLevel()
        Return the logging level for this Logger.
        Returns:
        logging level
      • setLoggingLevel

        void setLoggingLevel​(int loggingLevel)
        Set the logging level for this Logger.

        Valid logging levels are TRACE, DEBUG, INFO, WARN, ERROR, and FATAL.

        Parameters:
        loggingLevel -
      • trace

        void trace​(String message)
        Log a message object with the TRACE Level.
        Parameters:
        message - the message object to log.
      • debug

        void debug​(String message)
        Log a message object with the DEBUG Level.
        Parameters:
        message - the message object to log.
      • info

        void info​(String message)
        Log a message object with the INFO Level.
        Parameters:
        message - the message object to log.
      • warn

        void warn​(String message)
        Log a message object with the WARN Level.
        Parameters:
        message - the message object to log.
      • error

        void error​(String message)
        Log a message object with the ERROR Level.
        Parameters:
        message - the message object to log.
      • fatal

        void fatal​(String message)
        Log a message object with the FATAL Level.
        Parameters:
        message - the message object to log.
      • trace

        void trace​(String message,
                   Throwable error)
        Log a message with the TRACE level including the stack trace of the Throwable error passed as parameter.
        Parameters:
        message - the message object to log.
        error - the exception to log, including its stack trace.
      • debug

        void debug​(String message,
                   Throwable error)
        Log a message with the DEBUG level including the stack trace of the Throwable error passed as parameter.
        Parameters:
        message - the message object to log.
        error - the exception to log, including its stack trace.
      • info

        void info​(String message,
                  Throwable error)
        Log a message with the INFO level including the stack trace of the Throwable error passed as parameter.
        Parameters:
        message - the message object to log.
        error - the exception to log, including its stack trace.
      • warn

        void warn​(String message,
                  Throwable error)
        Log a message with the WARN level including the stack trace of the Throwable error passed as parameter.
        Parameters:
        message - the message object to log.
        error - the exception to log, including its stack trace.
      • error

        void error​(String message,
                   Throwable error)
        Log a message with the ERROR level including the stack trace of the Throwable error passed as parameter.
        Parameters:
        message - the message object to log.
        error - the exception to log, including its stack trace.
      • fatal

        void fatal​(String message,
                   Throwable error)
        Log a message with the FATAL level including the stack trace of the Throwable error passed as parameter.
        Parameters:
        message - the message object to log.
        error - the exception to log, including its stack trace.