Interface ProtonLogger

All Known Implementing Classes:
NoOpProtonLogger, Slf4JLoggerWrapper

public interface ProtonLogger
Proton Logger abstraction

This interface provides an abstraction to be used around third party Logging frameworks such as slf4j, log4j etc.

  • Method Details

    • getName

      String getName()
      Returns:
      the name that was given to this logger on creation.
    • isTraceEnabled

      boolean isTraceEnabled()
      Returns:
      if the trace log level is enabled for this ProtonLogger.
    • trace

      void trace(String message)
    • trace

      void trace(String message, Object value)
    • trace

      void trace(String message, Object value1, Object value2)
    • trace

      void trace(String message, Object... arguments)
    • isDebugEnabled

      boolean isDebugEnabled()
      Returns:
      if the debug log level is enabled for this ProtonLogger.
    • debug

      void debug(String message)
    • debug

      void debug(String message, Object value)
    • debug

      void debug(String message, Object value1, Object value2)
    • debug

      void debug(String message, Object... arguments)
    • isInfoEnabled

      boolean isInfoEnabled()
      Returns:
      if the info log level is enabled for this ProtonLogger.
    • info

      void info(String message)
    • info

      void info(String message, Object value)
    • info

      void info(String message, Object value1, Object value2)
    • info

      void info(String message, Object... arguments)
    • isWarnEnabled

      boolean isWarnEnabled()
      Returns:
      if the warn log level is enabled for this ProtonLogger.
    • warn

      void warn(String message)
    • warn

      void warn(String message, Object value)
    • warn

      void warn(String message, Object value1, Object value2)
    • warn

      void warn(String message, Object... arguments)
    • isErrorEnabled

      boolean isErrorEnabled()
      Returns:
      if the error log level is enabled for this ProtonLogger.
    • error

      void error(String message)
    • error

      void error(String message, Object value)
    • error

      void error(String message, Object value1, Object value2)
    • error

      void error(String message, Object... arguments)