Class CommonsLogger
- All Implemented Interfaces:
InternalLogger
,Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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
ConstructorsConstructorDescriptionCommonsLogger
(org.apache.commons.logging.Log logger, String name) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.debug(Object, Throwable)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.error(Object, Throwable)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.info(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.info(Object, Throwable)
method of the underlyingLog
instance.boolean
Deprecated.Delegates to theLog.isDebugEnabled()
method of the underlyingLog
instance.boolean
Deprecated.Delegates to theLog.isErrorEnabled()
method of the underlyingLog
instance.boolean
Deprecated.Delegates to theLog.isInfoEnabled()
method of the underlyingLog
instance.boolean
Deprecated.Delegates to theLog.isTraceEnabled()
method of the underlyingLog
instance.boolean
Deprecated.Delegates to theLog.isWarnEnabled()
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.trace(Object, Throwable)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.void
Deprecated.Delegates to theLog.warn(Object, Throwable)
method of the underlyingLog
instance.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.- See Also:
-
logger
private final transient org.apache.commons.logging.Log loggerDeprecated.
-
-
Constructor Details
-
CommonsLogger
CommonsLogger(org.apache.commons.logging.Log logger, String name) Deprecated.
-
-
Method Details
-
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
Deprecated.Delegates to theLog.trace(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
trace
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
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
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
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
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
debug
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
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
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
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
Deprecated.Delegates to theLog.debug(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
info
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
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
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
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
Deprecated.Delegates to theLog.warn(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
warn
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
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
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
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
Deprecated.Delegates to theLog.error(Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
error
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
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
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
Deprecated.Delegates to theLog.error(Object, Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
Log4J2Logger
orLog4JLogger
orSlf4JLogger
.