Package org.apache.log4j
Class Logger
java.lang.Object
org.apache.log4j.Category
org.apache.log4j.Logger
Deprecated.
Apache Log4j 1 has reached end of life in 2015 and is no longer supported.
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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Logger
Deprecated.static Logger
Deprecated.static Logger
getLogger
(String name, LoggerFactory loggerFactory) Deprecated.static Logger
Deprecated.Does the obvious.boolean
Deprecated.Delegates toLogger.isTraceEnabled()
method of SLF4J.void
Deprecated.Delegates toLogger.trace(String)
method in SLF4J.void
Deprecated.Delegates toLogger.trace(String,Throwable)
method in SLF4J.Methods inherited from class org.apache.log4j.Category
addAppender, assertLog, debug, debug, error, error, fatal, fatal, getAdditivity, getAllAppenders, getAppender, getEffectiveLevel, getInstance, getInstance, getLevel, getName, getParent, getPriority, info, info, isDebugEnabled, isEnabledFor, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, setAdditivity, setLevel, warn, warn
-
Method Details
-
getLogger
Deprecated. -
getLogger
Deprecated. -
getLogger
Deprecated. -
getRootLogger
Deprecated.Does the obvious.- Returns:
-
isTraceEnabled
public boolean isTraceEnabled()Deprecated.Delegates toLogger.isTraceEnabled()
method of SLF4J. -
trace
Deprecated.Delegates toLogger.trace(String)
method in SLF4J. -
trace
Deprecated.Delegates toLogger.trace(String,Throwable)
method in SLF4J.
-