Interface Logger

All Known Implementing Classes:
BaseLogger, OutputControllerLoggerFactory.OutputControllerLogger, SystemOutLoggerFactory.SystemOutLogger

public interface Logger
Simple logger interface based on SLF4J.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Log a message at the DEBUG level.
    void
    debug(String msg, Object... arguments)
    Log a message at the DEBUG level.
    void
    Log a message and an exception at the DEBUG level.
    void
    Log a message at the ERROR level.
    void
    error(String msg, Object... arguments)
    Log a message at the ERROR level.
    void
    Log a message and an exception at the ERROR level.
    void
    info(String msg)
    Log a message at the INFO level.
    void
    info(String msg, Object... arguments)
    Log a message at the INFO level.
    void
    Log a message and an exception at the INFO level.
    void
    warn(String msg)
    Log a message at the WARN level.
    void
    warn(String msg, Object... arguments)
    Log a message at the WARN level.
    void
    Log a message and an exception at the WARN level.
  • Method Details

    • debug

      void debug(String msg)
      Log a message at the DEBUG level.
      Parameters:
      msg - the message to be logged
    • debug

      void debug(String msg, Object... arguments)
      Log a message at the DEBUG level. Replace {} with the given arguments
      Parameters:
      msg - the message to be logged
      arguments - a list of 3 or more arguments for replacement
    • debug

      void debug(String msg, Throwable t)
      Log a message and an exception at the DEBUG level.
      Parameters:
      msg - the message to be logged
      t - the exception to be logged
    • info

      void info(String msg)
      Log a message at the INFO level.
      Parameters:
      msg - the message to be logged
    • info

      void info(String msg, Object... arguments)
      Log a message at the INFO level. Replace {} with the given arguments
      Parameters:
      msg - the message to be logged
      arguments - a list of 3 or more arguments for replacement
    • info

      void info(String msg, Throwable t)
      Log a message and an exception at the INFO level.
      Parameters:
      msg - the message to be logged
      t - the exception to be logged
    • warn

      void warn(String msg)
      Log a message at the WARN level.
      Parameters:
      msg - the message to be logged
    • warn

      void warn(String msg, Object... arguments)
      Log a message at the WARN level. Replace {} with the given arguments
      Parameters:
      msg - the message to be logged
      arguments - a list of 3 or more arguments for replacement
    • warn

      void warn(String msg, Throwable t)
      Log a message and an exception at the WARN level.
      Parameters:
      msg - the message to be logged
      t - the exception to be logged
    • error

      void error(String msg)
      Log a message at the ERROR level.
      Parameters:
      msg - the message to be logged
    • error

      void error(String msg, Object... arguments)
      Log a message at the ERROR level. Replace {} with the given arguments
      Parameters:
      msg - the message to be logged
      arguments - a list of 3 or more arguments for replacement
    • error

      void error(String msg, Throwable t)
      Log a message and an exception at the ERROR level.
      Parameters:
      msg - the message to be logged
      t - the exception to be logged