Package org.apache.log4j
Class Logger
java.lang.Object
org.apache.log4j.Category
org.apache.log4j.Logger
This class is a minimal implementation of the original
org.apache.log4j.Logger
class (as found in log4j 1.2)
delegating all calls to a Logger
instance.
-
Field Summary
FieldsFields inherited from class org.apache.log4j.Category
slf4jLogger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Logger
static Logger
static Logger
getLogger
(String name, LoggerFactory loggerFactory) static Logger
Does the obvious.boolean
Delegates toLogger.isTraceEnabled()
method of SLF4J.void
Delegates toLogger.trace(String)
method in SLF4J.void
Delegates toLogger.trace(String,Throwable)
method in SLF4J.Methods inherited from class org.apache.log4j.Category
addAppender, assertLog, convertToString, debug, debug, differentiatedLog, error, error, fatal, fatal, forcedLog, getAdditivity, getAllAppenders, getAppender, getEffectiveLevel, getInstance, getInstance, getLevel, getName, getParent, getPriority, info, info, isDebugEnabled, isEnabledFor, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, setAdditivity, setLevel, warn, warn
-
Field Details
-
LOGGER_FQCN
-
-
Constructor Details
-
Logger
-
-
Method Details
-
getLogger
-
getLogger
-
getLogger
-
getRootLogger
Does the obvious.- Returns:
-
isTraceEnabled
public boolean isTraceEnabled()Delegates toLogger.isTraceEnabled()
method of SLF4J. -
trace
Delegates toLogger.trace(String)
method in SLF4J. -
trace
Delegates toLogger.trace(String,Throwable)
method in SLF4J.
-