Interface Log

All Known Implementing Classes:
CommonsLogWrapper, DefaultLog, SLF4JLogWrapper

public interface Log
The base fixaj log interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debug(Object message)
    Log a message object with the DEBUG level.
    void
    debug(Object message, Throwable throwable)
    Log a message object with the DEBUG level including the stack trace of the Throwable.
    void
    error(Object message)
    Log a message object with the ERROR level.
    void
    error(Object message, Throwable throwable)
    Log a message object with the DEBUG level including the stack trace of the Throwable.
    void
    fatal(Object message)
    Log a message object with the FATAL level.
    void
    fatal(Object message, Throwable throwable)
    Log a message object with the FATAL level including the stack trace of the Throwable.
    void
    info(Object message)
    Log a message object with the INFO level.
    void
    info(Object message, Throwable throwable)
    Log a message object with the INFO level including the stack trace of the Throwable.
    boolean
    Check whether this category is enabled for the DEBUG Level.
    boolean
    Check whether this category is enabled for the ERROR Level.
    boolean
    Check whether this category is enabled for the FATAL Level.
    boolean
    Check whether this category is enabled for the INFO Level.
    boolean
    Check whether this category is enabled for the TRACE Level.
    boolean
    Check whether this category is enabled for the WARN Level.
    void
    trace(Object message)
    Log a message object with the TRACE level.
    void
    trace(Object message, Throwable throwable)
    Log a message object with the trace level including the stack trace of the Throwable.
    void
    warn(Object message)
    Log a message object with the WARN level.
    void
    warn(Object message, Throwable throwable)
    Log a message object with the WARN level including the stack trace of the Throwable.
  • Method Details

    • debug

      void debug(Object message)
      Log a message object with the DEBUG level.
      Parameters:
      message - the message
    • debug

      void debug(Object message, Throwable throwable)
      Log a message object with the DEBUG level including the stack trace of the Throwable.
      Parameters:
      message - the message
      throwable - the error
    • error

      void error(Object message)
      Log a message object with the ERROR level.
      Parameters:
      message - the message
    • error

      void error(Object message, Throwable throwable)
      Log a message object with the DEBUG level including the stack trace of the Throwable.
      Parameters:
      message - the message
      throwable - the error
    • fatal

      void fatal(Object message)
      Log a message object with the FATAL level.
      Parameters:
      message - the message
    • fatal

      void fatal(Object message, Throwable throwable)
      Log a message object with the FATAL level including the stack trace of the Throwable.
      Parameters:
      message - the message
      throwable - the error
    • info

      void info(Object message)
      Log a message object with the INFO level.
      Parameters:
      message - the message
    • info

      void info(Object message, Throwable throwable)
      Log a message object with the INFO level including the stack trace of the Throwable.
      Parameters:
      message - the message
      throwable - the error
    • isDebugEnabled

      boolean isDebugEnabled()
      Check whether this category is enabled for the DEBUG Level.
    • isErrorEnabled

      boolean isErrorEnabled()
      Check whether this category is enabled for the ERROR Level.
    • isFatalEnabled

      boolean isFatalEnabled()
      Check whether this category is enabled for the FATAL Level.
    • isInfoEnabled

      boolean isInfoEnabled()
      Check whether this category is enabled for the INFO Level.
    • isTraceEnabled

      boolean isTraceEnabled()
      Check whether this category is enabled for the TRACE Level.
    • isWarnEnabled

      boolean isWarnEnabled()
      Check whether this category is enabled for the WARN Level.
    • trace

      void trace(Object message)
      Log a message object with the TRACE level.
      Parameters:
      message - the message
    • trace

      void trace(Object message, Throwable throwable)
      Log a message object with the trace level including the stack trace of the Throwable.
      Parameters:
      message - the message
      throwable - the error
    • warn

      void warn(Object message)
      Log a message object with the WARN level.
      Parameters:
      message - the message
    • warn

      void warn(Object message, Throwable throwable)
      Log a message object with the WARN level including the stack trace of the Throwable.
      Parameters:
      message - the message
      throwable - the error