|
SLF4J 1.0-rc6 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.slf4j.impl.NOPLogger | +--org.slf4j.impl.MNOPLogger
A direct NOP (no operation) implementation of Logger
.
Field Summary | |
static MNOPLogger |
MNOP_LOGGER
The unique instance of MNOPLogger. |
Fields inherited from class org.slf4j.impl.NOPLogger |
NOP_LOGGER |
Method Summary | |
void |
debug(Marker marker,
java.lang.String msg)
A NOP implementation. |
void |
debug(Marker marker,
java.lang.String format,
java.lang.Object arg)
A NOP implementation. |
void |
debug(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
A NOP implementation. |
void |
debug(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
A NOP implementation. |
void |
error(Marker marker,
java.lang.String msg)
A NOP implementation. |
void |
error(Marker marker,
java.lang.String format,
java.lang.Object arg)
A NOP implementation. |
void |
error(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
A NOP implementation. |
void |
error(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
A NOP implementation. |
java.lang.String |
getName()
Always returns the string value "MNOP". |
void |
info(Marker marker,
java.lang.String msg)
A NOP implementation. |
void |
info(Marker marker,
java.lang.String format,
java.lang.Object arg)
A NOP implementation. |
void |
info(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
A NOP implementation. |
void |
info(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
A NOP implementation. |
boolean |
isDebugEnabled(Marker marker)
Always returns false. |
boolean |
isErrorEnabled(Marker marker)
A NOP implementation. |
boolean |
isInfoEnabled(Marker marker)
Similar to NOPLogger.isInfoEnabled() method except that the marker
data is also taken into consideration. |
boolean |
isWarnEnabled(Marker marker)
Always false. |
void |
warn(Marker marker,
java.lang.String msg)
A NOP implementation. |
void |
warn(Marker marker,
java.lang.String format,
java.lang.Object arg)
A NOP implementation. |
void |
warn(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
A NOP implementation. |
void |
warn(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
A NOP implementation. |
Methods inherited from class org.slf4j.impl.NOPLogger |
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, warn, warn, warn, warn, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.slf4j.Logger |
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, warn, warn, warn, warn, warn |
Field Detail |
public static final MNOPLogger MNOP_LOGGER
Method Detail |
public java.lang.String getName()
getName
in interface Logger
getName
in class NOPLogger
public void debug(Marker marker, java.lang.String msg)
debug
in interface MarkingLogger
marker
- the marker data specific to this log statementmsg
- the message string to be loggedpublic void debug(Marker marker, java.lang.String format, java.lang.Object arg)
debug
in interface MarkingLogger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic void debug(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
debug
in interface MarkingLogger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void debug(Marker marker, java.lang.String msg, java.lang.Throwable t)
debug
in interface MarkingLogger
marker
- the marker data specific to this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic boolean isDebugEnabled(Marker marker)
isDebugEnabled
in interface MarkingLogger
marker
- The marker data to take into consideration
public void info(Marker marker, java.lang.String msg)
info
in interface MarkingLogger
marker
- The marker specific to this log statementmsg
- the message string to be loggedpublic void info(Marker marker, java.lang.String format, java.lang.Object arg)
info
in interface MarkingLogger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic void info(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
info
in interface MarkingLogger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void info(Marker marker, java.lang.String msg, java.lang.Throwable t)
info
in interface MarkingLogger
marker
- the marker data for this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic boolean isInfoEnabled(Marker marker)
MarkingLogger
Logger.isInfoEnabled()
method except that the marker
data is also taken into consideration.
isInfoEnabled
in interface MarkingLogger
marker
- The marker data to take into considerationpublic void warn(Marker marker, java.lang.String msg)
warn
in interface MarkingLogger
marker
- The marker specific to this log statementmsg
- the message string to be loggedpublic void warn(Marker marker, java.lang.String format, java.lang.Object arg)
warn
in interface MarkingLogger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic void warn(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
warn
in interface MarkingLogger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void warn(Marker marker, java.lang.String msg, java.lang.Throwable t)
warn
in interface MarkingLogger
marker
- the marker data for this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic boolean isWarnEnabled(Marker marker)
isWarnEnabled
in interface MarkingLogger
marker
- The marker data to take into considerationpublic void error(Marker marker, java.lang.String msg)
error
in interface MarkingLogger
marker
- The marker specific to this log statementmsg
- the message string to be loggedpublic void error(Marker marker, java.lang.String format, java.lang.Object arg)
error
in interface MarkingLogger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic final void error(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
error
in interface MarkingLogger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void error(Marker marker, java.lang.String msg, java.lang.Throwable t)
error
in interface MarkingLogger
marker
- the marker data specific to this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic final boolean isErrorEnabled(Marker marker)
isErrorEnabled
in interface MarkingLogger
marker
- The marker data to take into consideration
|
Copyright 2004-2006 SLF4J.ORG, QOS.ch | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |