Package 

Interface Log


  • 
    public interface Log
    
                        

    API for sending log output.

    The order in terms of verbosity, from least to most is ERROR, WARN, INFO, DEBUG, VERBOSE.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean isDebugLoggable() Check if debug logging is enabled.
      abstract Unit d(String message) Send a debug log message.
      abstract Boolean isInfoLoggable() Check if info logging is enabled.
      abstract Unit i(String message) Send an information log message.
      abstract Boolean isWarnLoggable() Check if warn logging is enabled.
      abstract Unit w(String message) Send a warning log message.
      abstract Boolean isErrorLoggable() Check if error logging is enabled.
      abstract Unit e(String message) Send an error log message.
      abstract Unit e(String message, Throwable throwable) Send an error log message with a throwable.
      • Methods inherited from class java.lang.Object

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

      • d

         abstract Unit d(String message)

        Send a debug log message.

        Parameters:
        message - The message you would like logged.
      • i

         abstract Unit i(String message)

        Send an information log message.

        Parameters:
        message - The message you would like logged.
      • w

         abstract Unit w(String message)

        Send a warning log message.

        Parameters:
        message - The message you would like logged.
      • e

         abstract Unit e(String message)

        Send an error log message.

        Parameters:
        message - The message you would like logged.
      • e

         abstract Unit e(String message, Throwable throwable)

        Send an error log message with a throwable.

        Parameters:
        message - The message you would like logged.
        throwable - The throwable to log.