Class JCLLoggerAdapter
- All Implemented Interfaces:
Serializable
,Logger
org.apache.commons.logging.Log
in conformance with the Logger
interface.- See Also:
-
Field Summary
FieldsFields inherited from class org.slf4j.helpers.NamedLoggerBase
name
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Delegates to theLog.debug(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.debug(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.debug(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.debug(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.debug(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.void
Delegates to theLog.error(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.error(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.error(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.error(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.error(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.void
Delegates to theLog.debug(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.info(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.info(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.info(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.info(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.boolean
Delegates to theLog.isDebugEnabled()
method of the underlyingLog
instance.boolean
Delegates to theLog.isErrorEnabled()
method of the underlyingLog
instance.boolean
Delegates to theLog.isInfoEnabled()
method of the underlyingLog
instance.boolean
Delegates to theLog.isTraceEnabled()
method of the underlyingLog
instance.boolean
Delegates to theLog.isWarnEnabled()
method of the underlyingLog
instance.void
Delegates to theLog.trace(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.trace(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.trace(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.trace(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.trace(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.void
Delegates to theLog.warn(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.warn(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.warn(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.warn(java.lang.Object)
method of the underlyingLog
instance.void
Delegates to theLog.warn(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
Methods inherited from class org.slf4j.helpers.NamedLoggerBase
getName, readResolve
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
-
-
Constructor Details
-
JCLLoggerAdapter
-
-
Method Details
-
isTraceEnabled
public boolean isTraceEnabled()Delegates to theLog.isTraceEnabled()
method of the underlyingLog
instance.- Returns:
- True if this Logger is enabled for the TRACE level, false otherwise.
-
trace
Delegates to theLog.trace(java.lang.Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
trace
Delegates to theLog.trace(java.lang.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
Delegates to theLog.trace(java.lang.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 stringarg1
- the first argumentarg2
- the second argument
-
trace
Delegates to theLog.trace(java.lang.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
Delegates to theLog.trace(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
isDebugEnabled
public boolean isDebugEnabled()Delegates to theLog.isDebugEnabled()
method of the underlyingLog
instance.- Returns:
- True if this Logger is enabled for the DEBUG level, false otherwise.
-
debug
Delegates to theLog.debug(java.lang.Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
debug
Delegates to theLog.debug(java.lang.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
Delegates to theLog.debug(java.lang.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 stringarg1
- the first argumentarg2
- the second argument
-
debug
Delegates to theLog.debug(java.lang.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
Delegates to theLog.debug(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
isInfoEnabled
public boolean isInfoEnabled()Delegates to theLog.isInfoEnabled()
method of the underlyingLog
instance.- Returns:
- True if this Logger is enabled for the INFO level, false otherwise.
-
info
Delegates to theLog.debug(java.lang.Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
info
Delegates to theLog.info(java.lang.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
Delegates to theLog.info(java.lang.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 stringarg1
- the first argumentarg2
- the second argument
-
info
Delegates to theLog.info(java.lang.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
Delegates to theLog.info(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
isWarnEnabled
public boolean isWarnEnabled()Delegates to theLog.isWarnEnabled()
method of the underlyingLog
instance.- Returns:
- True if this Logger is enabled for the WARN level, false otherwise.
-
warn
Delegates to theLog.warn(java.lang.Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
warn
Delegates to theLog.warn(java.lang.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
Delegates to theLog.warn(java.lang.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 stringarg1
- the first argumentarg2
- the second argument
-
warn
Delegates to theLog.warn(java.lang.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
Delegates to theLog.warn(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
isErrorEnabled
public boolean isErrorEnabled()Delegates to theLog.isErrorEnabled()
method of the underlyingLog
instance.- Returns:
- True if this Logger is enabled for the ERROR level, false otherwise.
-
error
Delegates to theLog.error(java.lang.Object)
method of the underlyingLog
instance.- Parameters:
msg
- - the message object to be logged
-
error
Delegates to theLog.error(java.lang.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
Delegates to theLog.error(java.lang.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 stringarg1
- the first argumentarg2
- the second argument
-
error
Delegates to theLog.error(java.lang.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
Delegates to theLog.error(java.lang.Object, java.lang.Throwable)
method of the underlyingLog
instance.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-