Class CommonsLogger

java.lang.Object
io.netty.util.internal.logging.AbstractInternalLogger
io.netty.util.internal.logging.CommonsLogger
All Implemented Interfaces:
InternalLogger, Serializable

@Deprecated class CommonsLogger extends AbstractInternalLogger
Deprecated.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.commons.logging.Log
    Deprecated.
     
    private static final long
    Deprecated.
     

    Fields inherited from class io.netty.util.internal.logging.AbstractInternalLogger

    EXCEPTION_MESSAGE
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Delegates to the Log.debug(Object) method of the underlying Log instance.
    void
    debug(String format, Object arg)
    Deprecated.
    Delegates to the Log.debug(Object) method of the underlying Log instance.
    void
    debug(String format, Object... arguments)
    Deprecated.
    Delegates to the Log.debug(Object) method of the underlying Log instance.
    void
    debug(String format, Object argA, Object argB)
    Deprecated.
    Delegates to the Log.debug(Object) method of the underlying Log instance.
    void
    Deprecated.
    Delegates to the Log.debug(Object, Throwable) method of the underlying Log instance.
    void
    Deprecated.
    Delegates to the Log.error(Object) method of the underlying Log instance.
    void
    error(String format, Object arg)
    Deprecated.
    Delegates to the Log.error(Object) method of the underlying Log instance.
    void
    error(String format, Object... arguments)
    Deprecated.
    Delegates to the Log.error(Object) method of the underlying Log instance.
    void
    error(String format, Object argA, Object argB)
    Deprecated.
    Delegates to the Log.error(Object) method of the underlying Log instance.
    void
    Deprecated.
    Delegates to the Log.error(Object, Throwable) method of the underlying Log instance.
    void
    info(String msg)
    Deprecated.
    Delegates to the Log.debug(Object) method of the underlying Log instance.
    void
    info(String format, Object arg)
    Deprecated.
    Delegates to the Log.info(Object) method of the underlying Log instance.
    void
    info(String format, Object... arguments)
    Deprecated.
    Delegates to the Log.info(Object) method of the underlying Log instance.
    void
    info(String format, Object argA, Object argB)
    Deprecated.
    Delegates to the Log.info(Object) method of the underlying Log instance.
    void
    Deprecated.
    Delegates to the Log.info(Object, Throwable) method of the underlying Log instance.
    boolean
    Deprecated.
    Delegates to the Log.isDebugEnabled() method of the underlying Log instance.
    boolean
    Deprecated.
    Delegates to the Log.isErrorEnabled() method of the underlying Log instance.
    boolean
    Deprecated.
    Delegates to the Log.isInfoEnabled() method of the underlying Log instance.
    boolean
    Deprecated.
    Delegates to the Log.isTraceEnabled() method of the underlying Log instance.
    boolean
    Deprecated.
    Delegates to the Log.isWarnEnabled() method of the underlying Log instance.
    void
    Deprecated.
    Delegates to the Log.trace(Object) method of the underlying Log instance.
    void
    trace(String format, Object arg)
    Deprecated.
    Delegates to the Log.trace(Object) method of the underlying Log instance.
    void
    trace(String format, Object... arguments)
    Deprecated.
    Delegates to the Log.trace(Object) method of the underlying Log instance.
    void
    trace(String format, Object argA, Object argB)
    Deprecated.
    Delegates to the Log.trace(Object) method of the underlying Log instance.
    void
    Deprecated.
    Delegates to the Log.trace(Object, Throwable) method of the underlying Log instance.
    void
    warn(String msg)
    Deprecated.
    Delegates to the Log.warn(Object) method of the underlying Log instance.
    void
    warn(String format, Object arg)
    Deprecated.
    Delegates to the Log.warn(Object) method of the underlying Log instance.
    void
    warn(String format, Object... arguments)
    Deprecated.
    Delegates to the Log.warn(Object) method of the underlying Log instance.
    void
    warn(String format, Object argA, Object argB)
    Deprecated.
    Delegates to the Log.warn(Object) method of the underlying Log instance.
    void
    Deprecated.
    Delegates to the Log.warn(Object, Throwable) method of the underlying Log instance.

    Methods inherited from class io.netty.util.internal.logging.AbstractInternalLogger

    debug, error, info, isEnabled, log, log, log, log, log, log, name, readResolve, toString, trace, warn

    Methods inherited from class java.lang.Object

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

    • serialVersionUID

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

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

    • CommonsLogger

      CommonsLogger(org.apache.commons.logging.Log logger, String name)
      Deprecated.
  • Method Details

    • 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(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(String format, 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(String format, Object argA, 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(String format, 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(String msg, 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(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(String format, 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(String format, Object argA, 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(String format, 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(String msg, 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(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(String format, 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(String format, Object argA, 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(String format, 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(String msg, 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(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(String format, 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(String format, Object argA, 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(String format, 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(String msg, 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(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(String format, 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(String format, Object argA, 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(String format, 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(String msg, 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