|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.Category
org.apache.log4j.Logger
public class Logger
This class is a minimal implementation of the original
org.apache.log4j.Logger
class (as found in log4j 1.2)
by delegation of all calls to a org.slf4j.Logger.Logger
instance.
Field Summary |
---|
Fields inherited from class org.apache.log4j.Category |
---|
slf4jLogger |
Method Summary | |
---|---|
static Logger |
getLogger(Class clazz)
|
static Logger |
getLogger(String name)
|
static Logger |
getRootLogger()
Does the obvious. |
boolean |
isTraceEnabled()
Delegates to Logger.isTraceEnabled()
method of SLF4J. |
void |
trace(Object message)
Delegates to Logger.trace(String) method in SLF4J. |
void |
trace(Object message,
Throwable t)
Delegates to Logger.trace(String,Throwable)
method in SLF4J. |
Methods inherited from class org.apache.log4j.Category |
---|
convertToString, debug, debug, error, error, fatal, fatal, getEffectiveLevel, getInstance, getInstance, getLevel, getName, getPriority, info, info, isDebugEnabled, isEnabledFor, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Logger getLogger(String name)
public static Logger getLogger(Class clazz)
public static Logger getRootLogger()
public boolean isTraceEnabled()
Logger.isTraceEnabled()
method of SLF4J.
public void trace(Object message)
Logger.trace(String)
method in SLF4J.
public void trace(Object message, Throwable t)
Logger.trace(String,Throwable)
method in SLF4J.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |