Interface Log

All Known Implementing Classes:
AbstractLog, CommonsLogFactory.LogAdapter, Log4J2LogFactory.LogAdapter, Log4JLogFactory.LogAdapter, LogFactoryImpl.LogImpl, NoneLogFactory.NoneLog, SLF4JLogFactory.LogAdapter

public interface Log
Logging interface that is independent of other logging frameworks.
Author:
Patrick Linskey, Abe White
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
     
    static final short
     
    static final short
     
    static final short
     
    static final short
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Write out a log message at the ERROR level with the stringification of o as the body of the message, also outputting t to the log.
    void
    Write out a log message at the ERROR level with the stringification of o as the body of the message, also outputting t to the log.
    void
    Write out a log message at the FATAL level with the stringification of o as the body of the message, also outputting t to the log.
    void
    Write out a log message at the FATAL level with the stringification of o as the body of the message, also outputting t to the log.
    void
    Write out a log message at the INFO level with the stringification of o as the body of the message, also outputting t to the log.
    void
    Write out a log message at the INFO level with the stringification of o as the body of the message, also outputting t to the log.
    boolean
    Returns if the ERROR log level is enabled.
    boolean
    Returns if the FATAL log level is enabled.
    boolean
    Returns if the INFO log level is enabled.
    boolean
    Returns if the TRACE log level is enabled.
    boolean
    Returns if the WARN log level is enabled.
    void
    Write out a log message at the TRACE level with the stringification of o as the body of the message.
    void
    Write out a log message at the TRACE level with the stringification of o as the body of the message, also outputting t to the log.
    void
    Write out a log message at the WARN level with the stringification of o as the body of the message, also outputting t to the log.
    void
    Write out a log message at the WARN level with the stringification of o as the body of the message, also outputting t to the log.
  • Field Details

  • Method Details

    • isTraceEnabled

      boolean isTraceEnabled()
      Returns if the TRACE log level is enabled.
    • isInfoEnabled

      boolean isInfoEnabled()
      Returns if the INFO log level is enabled.
    • isWarnEnabled

      boolean isWarnEnabled()
      Returns if the WARN log level is enabled.
    • isErrorEnabled

      boolean isErrorEnabled()
      Returns if the ERROR log level is enabled.
    • isFatalEnabled

      boolean isFatalEnabled()
      Returns if the FATAL log level is enabled.
    • trace

      void trace(Object o)
      Write out a log message at the TRACE level with the stringification of o as the body of the message.
    • trace

      void trace(Object o, Throwable t)
      Write out a log message at the TRACE level with the stringification of o as the body of the message, also outputting t to the log.
    • info

      void info(Object o)
      Write out a log message at the INFO level with the stringification of o as the body of the message, also outputting t to the log.
    • info

      void info(Object o, Throwable t)
      Write out a log message at the INFO level with the stringification of o as the body of the message, also outputting t to the log.
    • warn

      void warn(Object o)
      Write out a log message at the WARN level with the stringification of o as the body of the message, also outputting t to the log.
    • warn

      void warn(Object o, Throwable t)
      Write out a log message at the WARN level with the stringification of o as the body of the message, also outputting t to the log.
    • error

      void error(Object o)
      Write out a log message at the ERROR level with the stringification of o as the body of the message, also outputting t to the log.
    • error

      void error(Object o, Throwable t)
      Write out a log message at the ERROR level with the stringification of o as the body of the message, also outputting t to the log.
    • fatal

      void fatal(Object o)
      Write out a log message at the FATAL level with the stringification of o as the body of the message, also outputting t to the log.
    • fatal

      void fatal(Object o, Throwable t)
      Write out a log message at the FATAL level with the stringification of o as the body of the message, also outputting t to the log.