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 Detail

      • 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... 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... arguments)
      • isInfoEnabled

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

        void info​(String message)
      • isWarnEnabled

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

        void warn​(String message)
      • 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... arguments)