Interface Logger


  • @Deprecated
    public interface Logger
    Deprecated.
    Use SLF4J instead
    A simple logger to facilitate emission of diagnostic messages. In general, unrecoverable errors should be reported via exceptions and informational notifications should be reported via events, hence this logger interface focuses on support for tracing.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String msg)
      Deprecated.
      Emits the specified message.
      void debug​(java.lang.String msg, java.lang.Throwable error)
      Deprecated.
      Emits the specified message along with a stack trace of the given exception.
      boolean isDebugEnabled()
      Deprecated.
      Indicates whether debug logging is enabled.
      boolean isWarnEnabled()
      Deprecated.
      Indicates whether warn logging is enabled.
      void warn​(java.lang.String msg)
      Deprecated.
      Emits the specified message.
      void warn​(java.lang.String msg, java.lang.Throwable error)
      Deprecated.
      Emits the specified message along with a stack trace of the given exception.
    • Method Detail

      • isDebugEnabled

        boolean isDebugEnabled()
        Deprecated.
        Indicates whether debug logging is enabled.
        Returns:
        true if debug logging is enabled, false otherwise.
      • debug

        void debug​(java.lang.String msg)
        Deprecated.
        Emits the specified message.
        Parameters:
        msg - The message to log, must not be null.
      • debug

        void debug​(java.lang.String msg,
                   java.lang.Throwable error)
        Deprecated.
        Emits the specified message along with a stack trace of the given exception.
        Parameters:
        msg - The message to log, must not be null.
        error - The exception to log, may be null.
      • isWarnEnabled

        boolean isWarnEnabled()
        Deprecated.
        Indicates whether warn logging is enabled.
        Returns:
        true if warn logging is enabled, false otherwise.
      • warn

        void warn​(java.lang.String msg)
        Deprecated.
        Emits the specified message.
        Parameters:
        msg - The message to log, must not be null.
      • warn

        void warn​(java.lang.String msg,
                  java.lang.Throwable error)
        Deprecated.
        Emits the specified message along with a stack trace of the given exception.
        Parameters:
        msg - The message to log, must not be null.
        error - The exception to log, may be null.