|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.Category
This class is a minimal implementation of the origianl
org.apache.log4j.Logger class delegating all calls to a
org.slf4j.Logger.Logger
instance.
Log4j's debug()
, info()
, warn()
,
error()
printing methods are directly mapped to their logback
equivalents. Log4j's trace()
printing method is mapped to
logback's debug()
method with a TRACE marker. Log4j's
fatal()
printing method is mapped to logback's
error()
method with a FATAL marker.
Method Summary | |
void |
debug(Object message)
Delegates to ch.qos.logback.classic.Logger#debug(String) method of
logback. |
void |
debug(Object message,
Object o)
Delegates to ch.qos.logback.classic.Logger#debug(String,Object)
method of logback. |
void |
debug(Object message,
Throwable t)
Delegates to ch.qos.logback.classic.Logger#debug(String,Throwable)
method of logback. |
void |
debug(String message,
Object arg1,
Object arg2)
Delegates to ch.qos.logback.classic.Logger#debug(String,Object,Object)
method of logback. |
void |
error(Object message)
Delegates to ch.qos.logback.classic.Logger#error(String)
method of logback. |
void |
error(Object message,
Object o)
Delegates to ch.qos.logback.classic.Logger#error(String,Object)
method of logback. |
void |
error(Object message,
Throwable t)
Delegates to ch.qos.logback.classic.Logger#error(String,Throwable)
method of logback. |
void |
error(String message,
Object arg1,
Object arg2)
Delegates to ch.qos.logback.classic.Logger#error(String,Object,Object)
method of logback. |
void |
fatal(Object message)
Delegates to ch.qos.logback.classic.Logger#error(String)
method of logback. |
void |
fatal(Object message,
Object o)
Delegates to ch.qos.logback.classic.Logger#error(String,Object)
method of logback in addition, the call is marked with a marker named "FATAL". |
void |
fatal(Object message,
Throwable t)
Delegates to ch.qos.logback.classic.Logger#error(String,Throwable)
method of logback in addition, the call is marked with a marker named "FATAL". |
void |
fatal(String message,
Object arg1,
Object arg2)
Delegates to ch.qos.logback.classic.Logger#error(String,Object,Object)
method of logback in addition, the call is marked with a marker named "FATAL". |
static Logger |
getLogger(Class clazz)
|
static Logger |
getLogger(String name)
|
String |
getName()
Returns the obvious. |
static Logger |
getRootLogger()
Does the obvious. |
void |
info(Object message)
Delegates to ch.qos.logback.classic.Logger#info(String)
method of logback. |
void |
info(Object message,
Object o)
Delegates to ch.qos.logback.classic.Logger#info(String,Object)
method of logback. |
void |
info(Object message,
Throwable t)
Delegates to ch.qos.logback.classic.Logger#info(String,Throwable)
method of logback. |
void |
info(String message,
Object arg1,
Object arg2)
Delegates to ch.qos.logback.classic.Logger#info(String,Object,Object)
method of logback. |
boolean |
isDebugEnabled()
Delegates to ch.qos.logback.classic.Logger#isDebugEnabled method of logback |
boolean |
isEnabledFor(Level l)
|
boolean |
isEnabledFor(Priority p)
|
boolean |
isErrorEnabled()
Delegates to ch.qos.logback.classic.Logger#isErrorEnabled method of logback |
boolean |
isInfoEnabled()
Delegates to ch.qos.logback.classic.Logger#isInfoEnabled method of logback |
boolean |
isTraceEnabled()
Delegates to ch.qos.logback.classic.Logger#isTraceEnabled
method of logback. |
boolean |
isWarnEnabled()
Delegates to ch.qos.logback.classic.Logger#isWarnEnabled method of logback |
void |
log(String FQCN,
Priority p,
Object msg,
Throwable t)
|
void |
trace(Object message)
Delegates to ch.qos.logback.classic.Logger#debug(String) method of logback,
in addition, the call is marked with a marker named "TRACE". |
void |
trace(Object message,
Object o)
Delegates to ch.qos.logback.classic.Logger#debug(String,Object)
method of logback in addition, the call is marked with a marker named "TRACE". |
void |
trace(Object message,
Throwable t)
Delegates to ch.qos.logback.classic.Logger#debug(String,Throwable)
method of logback in addition, the call is marked with a marker named "TRACE". |
void |
trace(String message,
Object arg1,
Object arg2)
Delegates to ch.qos.logback.classic.Logger#debug(String,Object,Object)
method of logback in addition, the call is marked with a marker named "TRACE". |
void |
warn(Object message)
Delegates to ch.qos.logback.classic.Logger#warn(String)
method of logback. |
void |
warn(Object message,
Object o)
Delegates to ch.qos.logback.classic.Logger#warn(String,Object)
method of logback. |
void |
warn(Object message,
Throwable t)
Delegates to ch.qos.logback.classic.Logger#warn(String,Throwable)
method of logback. |
void |
warn(String message,
Object arg1,
Object arg2)
Delegates to ch.qos.logback.classic.Logger#warn(String,Object,Object)
method of logback. |
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 String getName()
public boolean isTraceEnabled()
ch.qos.logback.classic.Logger#isTraceEnabled
method of logback.
public boolean isDebugEnabled()
ch.qos.logback.classic.Logger#isDebugEnabled
method of logback
public boolean isInfoEnabled()
ch.qos.logback.classic.Logger#isInfoEnabled
method of logback
public boolean isWarnEnabled()
ch.qos.logback.classic.Logger#isWarnEnabled
method of logback
public boolean isEnabledFor(Priority p)
public boolean isEnabledFor(Level l)
public boolean isErrorEnabled()
ch.qos.logback.classic.Logger#isErrorEnabled
method of logback
public void trace(Object message)
ch.qos.logback.classic.Logger#debug(String)
method of logback,
in addition, the call is marked with a marker named "TRACE".
public void trace(Object message, Throwable t)
ch.qos.logback.classic.Logger#debug(String,Throwable)
method of logback in addition, the call is marked with a marker named "TRACE".
public void trace(Object message, Object o)
ch.qos.logback.classic.Logger#debug(String,Object)
method of logback in addition, the call is marked with a marker named "TRACE".
public void trace(String message, Object arg1, Object arg2)
ch.qos.logback.classic.Logger#debug(String,Object,Object)
method of logback in addition, the call is marked with a marker named "TRACE".
public void debug(Object message)
ch.qos.logback.classic.Logger#debug(String)
method of
logback.
public void debug(Object message, Throwable t)
ch.qos.logback.classic.Logger#debug(String,Throwable)
method of logback.
public void debug(Object message, Object o)
ch.qos.logback.classic.Logger#debug(String,Object)
method of logback.
public void debug(String message, Object arg1, Object arg2)
ch.qos.logback.classic.Logger#debug(String,Object,Object)
method of logback.
public void info(Object message)
ch.qos.logback.classic.Logger#info(String)
method of logback.
public void info(Object message, Throwable t)
ch.qos.logback.classic.Logger#info(String,Throwable)
method of logback.
public void info(Object message, Object o)
ch.qos.logback.classic.Logger#info(String,Object)
method of logback.
public void info(String message, Object arg1, Object arg2)
ch.qos.logback.classic.Logger#info(String,Object,Object)
method of logback.
public void warn(Object message)
ch.qos.logback.classic.Logger#warn(String)
method of logback.
public void warn(Object message, Throwable t)
ch.qos.logback.classic.Logger#warn(String,Throwable)
method of logback.
public void warn(Object message, Object o)
ch.qos.logback.classic.Logger#warn(String,Object)
method of logback.
public void warn(String message, Object arg1, Object arg2)
ch.qos.logback.classic.Logger#warn(String,Object,Object)
method of logback.
public void error(Object message)
ch.qos.logback.classic.Logger#error(String)
method of logback.
public void error(Object message, Throwable t)
ch.qos.logback.classic.Logger#error(String,Throwable)
method of logback.
public void error(Object message, Object o)
ch.qos.logback.classic.Logger#error(String,Object)
method of logback.
public void error(String message, Object arg1, Object arg2)
ch.qos.logback.classic.Logger#error(String,Object,Object)
method of logback.
public void fatal(Object message)
ch.qos.logback.classic.Logger#error(String)
method of logback.
public void fatal(Object message, Throwable t)
ch.qos.logback.classic.Logger#error(String,Throwable)
method of logback in addition, the call is marked with a marker named "FATAL".
public void fatal(Object message, Object o)
ch.qos.logback.classic.Logger#error(String,Object)
method of logback in addition, the call is marked with a marker named "FATAL".
public void fatal(String message, Object arg1, Object arg2)
ch.qos.logback.classic.Logger#error(String,Object,Object)
method of logback in addition, the call is marked with a marker named "FATAL".
public void log(String FQCN, Priority p, Object msg, Throwable t)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |