Class CommonsLogger

    • Constructor Summary

      Constructors 
      Constructor Description
      CommonsLogger​(org.apache.commons.logging.Log logger, java.lang.String name)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String msg)
      Deprecated.
      Delegates to the Log.debug(Object) method of the underlying Log instance.
      void debug​(java.lang.String format, java.lang.Object arg)
      Deprecated.
      Delegates to the Log.debug(Object) method of the underlying Log instance.
      void debug​(java.lang.String format, java.lang.Object... arguments)
      Deprecated.
      Delegates to the Log.debug(Object) method of the underlying Log instance.
      void debug​(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
      Deprecated.
      Delegates to the Log.debug(Object) method of the underlying Log instance.
      void debug​(java.lang.String msg, java.lang.Throwable t)
      Deprecated.
      Delegates to the Log.debug(Object, Throwable) method of the underlying Log instance.
      void error​(java.lang.String msg)
      Deprecated.
      Delegates to the Log.error(Object) method of the underlying Log instance.
      void error​(java.lang.String format, java.lang.Object arg)
      Deprecated.
      Delegates to the Log.error(Object) method of the underlying Log instance.
      void error​(java.lang.String format, java.lang.Object... arguments)
      Deprecated.
      Delegates to the Log.error(Object) method of the underlying Log instance.
      void error​(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
      Deprecated.
      Delegates to the Log.error(Object) method of the underlying Log instance.
      void error​(java.lang.String msg, java.lang.Throwable t)
      Deprecated.
      Delegates to the Log.error(Object, Throwable) method of the underlying Log instance.
      void info​(java.lang.String msg)
      Deprecated.
      Delegates to the Log.debug(Object) method of the underlying Log instance.
      void info​(java.lang.String format, java.lang.Object arg)
      Deprecated.
      Delegates to the Log.info(Object) method of the underlying Log instance.
      void info​(java.lang.String format, java.lang.Object... arguments)
      Deprecated.
      Delegates to the Log.info(Object) method of the underlying Log instance.
      void info​(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
      Deprecated.
      Delegates to the Log.info(Object) method of the underlying Log instance.
      void info​(java.lang.String msg, java.lang.Throwable t)
      Deprecated.
      Delegates to the Log.info(Object, Throwable) method of the underlying Log instance.
      boolean isDebugEnabled()
      Deprecated.
      Delegates to the Log.isDebugEnabled() method of the underlying Log instance.
      boolean isErrorEnabled()
      Deprecated.
      Delegates to the Log.isErrorEnabled() method of the underlying Log instance.
      boolean isInfoEnabled()
      Deprecated.
      Delegates to the Log.isInfoEnabled() method of the underlying Log instance.
      boolean isTraceEnabled()
      Deprecated.
      Delegates to the Log.isTraceEnabled() method of the underlying Log instance.
      boolean isWarnEnabled()
      Deprecated.
      Delegates to the Log.isWarnEnabled() method of the underlying Log instance.
      void trace​(java.lang.String msg)
      Deprecated.
      Delegates to the Log.trace(Object) method of the underlying Log instance.
      void trace​(java.lang.String format, java.lang.Object arg)
      Deprecated.
      Delegates to the Log.trace(Object) method of the underlying Log instance.
      void trace​(java.lang.String format, java.lang.Object... arguments)
      Deprecated.
      Delegates to the Log.trace(Object) method of the underlying Log instance.
      void trace​(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
      Deprecated.
      Delegates to the Log.trace(Object) method of the underlying Log instance.
      void trace​(java.lang.String msg, java.lang.Throwable t)
      Deprecated.
      Delegates to the Log.trace(Object, Throwable) method of the underlying Log instance.
      void warn​(java.lang.String msg)
      Deprecated.
      Delegates to the Log.warn(Object) method of the underlying Log instance.
      void warn​(java.lang.String format, java.lang.Object arg)
      Deprecated.
      Delegates to the Log.warn(Object) method of the underlying Log instance.
      void warn​(java.lang.String format, java.lang.Object... arguments)
      Deprecated.
      Delegates to the Log.warn(Object) method of the underlying Log instance.
      void warn​(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
      Deprecated.
      Delegates to the Log.warn(Object) method of the underlying Log instance.
      void warn​(java.lang.String msg, java.lang.Throwable t)
      Deprecated.
      Delegates to the Log.warn(Object, Throwable) method of the underlying Log instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Deprecated.
        See Also:
        Constant Field Values
      • logger

        private final transient org.apache.commons.logging.Log logger
        Deprecated.
    • Constructor Detail

      • CommonsLogger

        CommonsLogger​(org.apache.commons.logging.Log logger,
                      java.lang.String name)
        Deprecated.
    • Method Detail

      • isTraceEnabled

        public boolean isTraceEnabled()
        Deprecated.
        Delegates to the Log.isTraceEnabled() method of the underlying Log instance.
        Returns:
        True if this Logger is enabled for the TRACE level, false otherwise.
      • trace

        public void trace​(java.lang.String msg)
        Deprecated.
        Delegates to the Log.trace(Object) method of the underlying Log instance.
        Parameters:
        msg - - the message object to be logged
      • trace

        public void trace​(java.lang.String format,
                          java.lang.Object arg)
        Deprecated.
        Delegates to the Log.trace(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level TRACE.

        Parameters:
        format - the format string
        arg - the argument
      • trace

        public void trace​(java.lang.String format,
                          java.lang.Object argA,
                          java.lang.Object argB)
        Deprecated.
        Delegates to the Log.trace(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level TRACE.

        Parameters:
        format - the format string
        argA - the first argument
        argB - the second argument
      • trace

        public void trace​(java.lang.String format,
                          java.lang.Object... arguments)
        Deprecated.
        Delegates to the Log.trace(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level TRACE.

        Parameters:
        format - the format string
        arguments - a list of 3 or more arguments
      • trace

        public void trace​(java.lang.String msg,
                          java.lang.Throwable t)
        Deprecated.
        Delegates to the Log.trace(Object, Throwable) method of the underlying Log instance.
        Parameters:
        msg - the message accompanying the exception
        t - the exception (throwable) to log
      • isDebugEnabled

        public boolean isDebugEnabled()
        Deprecated.
        Delegates to the Log.isDebugEnabled() method of the underlying Log instance.
        Returns:
        True if this Logger is enabled for the DEBUG level, false otherwise.
      • debug

        public void debug​(java.lang.String msg)
        Deprecated.
        Delegates to the Log.debug(Object) method of the underlying Log instance.
        Parameters:
        msg - - the message object to be logged
      • debug

        public void debug​(java.lang.String format,
                          java.lang.Object arg)
        Deprecated.
        Delegates to the Log.debug(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.

        Parameters:
        format - the format string
        arg - the argument
      • debug

        public void debug​(java.lang.String format,
                          java.lang.Object argA,
                          java.lang.Object argB)
        Deprecated.
        Delegates to the Log.debug(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.

        Parameters:
        format - the format string
        argA - the first argument
        argB - the second argument
      • debug

        public void debug​(java.lang.String format,
                          java.lang.Object... arguments)
        Deprecated.
        Delegates to the Log.debug(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.

        Parameters:
        format - the format string
        arguments - a list of 3 or more arguments
      • debug

        public void debug​(java.lang.String msg,
                          java.lang.Throwable t)
        Deprecated.
        Delegates to the Log.debug(Object, Throwable) method of the underlying Log instance.
        Parameters:
        msg - the message accompanying the exception
        t - the exception (throwable) to log
      • isInfoEnabled

        public boolean isInfoEnabled()
        Deprecated.
        Delegates to the Log.isInfoEnabled() method of the underlying Log instance.
        Returns:
        True if this Logger is enabled for the INFO level, false otherwise.
      • info

        public void info​(java.lang.String msg)
        Deprecated.
        Delegates to the Log.debug(Object) method of the underlying Log instance.
        Parameters:
        msg - - the message object to be logged
      • info

        public void info​(java.lang.String format,
                         java.lang.Object arg)
        Deprecated.
        Delegates to the Log.info(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level INFO.

        Parameters:
        format - the format string
        arg - the argument
      • info

        public void info​(java.lang.String format,
                         java.lang.Object argA,
                         java.lang.Object argB)
        Deprecated.
        Delegates to the Log.info(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level INFO.

        Parameters:
        format - the format string
        argA - the first argument
        argB - the second argument
      • info

        public void info​(java.lang.String format,
                         java.lang.Object... arguments)
        Deprecated.
        Delegates to the Log.info(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level INFO.

        Parameters:
        format - the format string
        arguments - a list of 3 or more arguments
      • info

        public void info​(java.lang.String msg,
                         java.lang.Throwable t)
        Deprecated.
        Delegates to the Log.info(Object, Throwable) method of the underlying Log instance.
        Parameters:
        msg - the message accompanying the exception
        t - the exception (throwable) to log
      • isWarnEnabled

        public boolean isWarnEnabled()
        Deprecated.
        Delegates to the Log.isWarnEnabled() method of the underlying Log instance.
        Returns:
        True if this Logger is enabled for the WARN level, false otherwise.
      • warn

        public void warn​(java.lang.String msg)
        Deprecated.
        Delegates to the Log.warn(Object) method of the underlying Log instance.
        Parameters:
        msg - - the message object to be logged
      • warn

        public void warn​(java.lang.String format,
                         java.lang.Object arg)
        Deprecated.
        Delegates to the Log.warn(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level WARN.

        Parameters:
        format - the format string
        arg - the argument
      • warn

        public void warn​(java.lang.String format,
                         java.lang.Object argA,
                         java.lang.Object argB)
        Deprecated.
        Delegates to the Log.warn(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level WARN.

        Parameters:
        format - the format string
        argA - the first argument
        argB - the second argument
      • warn

        public void warn​(java.lang.String format,
                         java.lang.Object... arguments)
        Deprecated.
        Delegates to the Log.warn(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level WARN.

        Parameters:
        format - the format string
        arguments - a list of 3 or more arguments
      • warn

        public void warn​(java.lang.String msg,
                         java.lang.Throwable t)
        Deprecated.
        Delegates to the Log.warn(Object, Throwable) method of the underlying Log instance.
        Parameters:
        msg - the message accompanying the exception
        t - the exception (throwable) to log
      • isErrorEnabled

        public boolean isErrorEnabled()
        Deprecated.
        Delegates to the Log.isErrorEnabled() method of the underlying Log instance.
        Returns:
        True if this Logger is enabled for the ERROR level, false otherwise.
      • error

        public void error​(java.lang.String msg)
        Deprecated.
        Delegates to the Log.error(Object) method of the underlying Log instance.
        Parameters:
        msg - - the message object to be logged
      • error

        public void error​(java.lang.String format,
                          java.lang.Object arg)
        Deprecated.
        Delegates to the Log.error(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level ERROR.

        Parameters:
        format - the format string
        arg - the argument
      • error

        public void error​(java.lang.String format,
                          java.lang.Object argA,
                          java.lang.Object argB)
        Deprecated.
        Delegates to the Log.error(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level ERROR.

        Parameters:
        format - the format string
        argA - the first argument
        argB - the second argument
      • error

        public void error​(java.lang.String format,
                          java.lang.Object... arguments)
        Deprecated.
        Delegates to the Log.error(Object) method of the underlying Log instance.

        However, this form avoids superfluous object creation when the logger is disabled for level ERROR.

        Parameters:
        format - the format string
        arguments - a list of 3 or more arguments
      • error

        public void error​(java.lang.String msg,
                          java.lang.Throwable t)
        Deprecated.
        Delegates to the Log.error(Object, Throwable) method of the underlying Log instance.
        Parameters:
        msg - the message accompanying the exception
        t - the exception (throwable) to log