Class CommonsLogger
- java.lang.Object
-
- io.netty.util.internal.logging.AbstractInternalLogger
-
- io.netty.util.internal.logging.CommonsLogger
-
- All Implemented Interfaces:
InternalLogger
,java.io.Serializable
@Deprecated class CommonsLogger extends AbstractInternalLogger
Deprecated.Apache Commons Logging logger.
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.commons.logging.Log
logger
Deprecated.private static long
serialVersionUID
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, 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 theLog.debug(Object)
method of the underlyingLog
instance.void
debug(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
debug(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
debug(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
debug(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.debug(Object, Throwable)
method of the underlyingLog
instance.void
error(java.lang.String msg)
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.void
error(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.void
error(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.void
error(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.void
error(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.error(Object, Throwable)
method of the underlyingLog
instance.void
info(java.lang.String msg)
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
info(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.void
info(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.void
info(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.void
info(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.info(Object, Throwable)
method of the underlyingLog
instance.boolean
isDebugEnabled()
Deprecated.Delegates to theLog.isDebugEnabled()
method of the underlyingLog
instance.boolean
isErrorEnabled()
Deprecated.Delegates to theLog.isErrorEnabled()
method of the underlyingLog
instance.boolean
isInfoEnabled()
Deprecated.Delegates to theLog.isInfoEnabled()
method of the underlyingLog
instance.boolean
isTraceEnabled()
Deprecated.Delegates to theLog.isTraceEnabled()
method of the underlyingLog
instance.boolean
isWarnEnabled()
Deprecated.Delegates to theLog.isWarnEnabled()
method of the underlyingLog
instance.void
trace(java.lang.String msg)
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.void
trace(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.void
trace(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.void
trace(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.void
trace(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.trace(Object, Throwable)
method of the underlyingLog
instance.void
warn(java.lang.String msg)
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.void
warn(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.void
warn(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.void
warn(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.void
warn(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.warn(Object, Throwable)
method of the underlyingLog
instance.
-
-
-
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.
-
-
Method Detail
-
isTraceEnabled
public boolean isTraceEnabled()
Deprecated.Delegates to theLog.isTraceEnabled()
method of the underlyingLog
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 theLog.trace(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
trace
public void trace(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level TRACE.
- Parameters:
format
- the format stringarg
- the argument
-
trace
public void trace(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level TRACE.
- Parameters:
format
- the format stringargA
- the first argumentargB
- the second argument
-
trace
public void trace(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level TRACE.
- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
trace
public void trace(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.trace(Object, Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
isDebugEnabled
public boolean isDebugEnabled()
Deprecated.Delegates to theLog.isDebugEnabled()
method of the underlyingLog
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 theLog.debug(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
debug
public void debug(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.
- Parameters:
format
- the format stringarg
- the argument
-
debug
public void debug(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.
- Parameters:
format
- the format stringargA
- the first argumentargB
- the second argument
-
debug
public void debug(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.
- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
debug
public void debug(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.debug(Object, Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
isInfoEnabled
public boolean isInfoEnabled()
Deprecated.Delegates to theLog.isInfoEnabled()
method of the underlyingLog
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 theLog.debug(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
info
public void info(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level INFO.
- Parameters:
format
- the format stringarg
- the argument
-
info
public void info(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level INFO.
- Parameters:
format
- the format stringargA
- the first argumentargB
- the second argument
-
info
public void info(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level INFO.
- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
info
public void info(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.info(Object, Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
isWarnEnabled
public boolean isWarnEnabled()
Deprecated.Delegates to theLog.isWarnEnabled()
method of the underlyingLog
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 theLog.warn(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
warn
public void warn(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level WARN.
- Parameters:
format
- the format stringarg
- the argument
-
warn
public void warn(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level WARN.
- Parameters:
format
- the format stringargA
- the first argumentargB
- the second argument
-
warn
public void warn(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level WARN.
- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
warn
public void warn(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.warn(Object, Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
isErrorEnabled
public boolean isErrorEnabled()
Deprecated.Delegates to theLog.isErrorEnabled()
method of the underlyingLog
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 theLog.error(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
error
public void error(java.lang.String format, java.lang.Object arg)
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level ERROR.
- Parameters:
format
- the format stringarg
- the argument
-
error
public void error(java.lang.String format, java.lang.Object argA, java.lang.Object argB)
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level ERROR.
- Parameters:
format
- the format stringargA
- the first argumentargB
- the second argument
-
error
public void error(java.lang.String format, java.lang.Object... arguments)
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.However, this form avoids superfluous object creation when the logger is disabled for level ERROR.
- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
error
public void error(java.lang.String msg, java.lang.Throwable t)
Deprecated.Delegates to theLog.error(Object, Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
-