|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slf4j.helpers.MarkerIgnoringBase
org.slf4j.helpers.NOPLogger
public class NOPLogger
A direct NOP (no operation) implementation of Logger.
| Field Summary | |
|---|---|
protected String |
name
|
static NOPLogger |
NOP_LOGGER
The unique instance of NOPLogger. |
| Fields inherited from interface org.slf4j.Logger |
|---|
ROOT_LOGGER_NAME |
| Constructor Summary | |
|---|---|
protected |
NOPLogger()
There is no point in creating multiple instances of NOPLOgger, except by derived classes, hence the protected access for the constructor. |
| Method Summary | |
|---|---|
void |
debug(String msg)
A NOP implementation. |
void |
debug(String format,
Object arg)
A NOP implementation. |
void |
debug(String format,
Object[] argArray)
A NOP implementation. |
void |
debug(String format,
Object arg1,
Object arg2)
A NOP implementation. |
void |
debug(String msg,
Throwable t)
A NOP implementation. |
void |
error(String msg)
A NOP implementation. |
void |
error(String format,
Object arg1)
A NOP implementation. |
void |
error(String format,
Object[] argArray)
A NOP implementation. |
void |
error(String format,
Object arg1,
Object arg2)
A NOP implementation. |
void |
error(String msg,
Throwable t)
A NOP implementation. |
String |
getName()
Always returns the string value "NOP". |
void |
info(String msg)
A NOP implementation. |
void |
info(String format,
Object arg1)
A NOP implementation. |
void |
info(String format,
Object[] argArray)
A NOP implementation. |
void |
info(String format,
Object arg1,
Object arg2)
A NOP implementation. |
void |
info(String msg,
Throwable t)
A NOP implementation. |
boolean |
isDebugEnabled()
Always returns false. |
boolean |
isErrorEnabled()
A NOP implementation. |
boolean |
isInfoEnabled()
Always returns false. |
boolean |
isTraceEnabled()
Always returns false. |
boolean |
isWarnEnabled()
Always returns false. |
void |
trace(String msg)
A NOP implementation. |
void |
trace(String format,
Object arg)
A NOP implementation. |
void |
trace(String format,
Object[] argArray)
A NOP implementation. |
void |
trace(String format,
Object arg1,
Object arg2)
A NOP implementation. |
void |
trace(String msg,
Throwable t)
A NOP implementation. |
void |
warn(String msg)
A NOP implementation. |
void |
warn(String format,
Object arg1)
A NOP implementation. |
void |
warn(String format,
Object[] argArray)
A NOP implementation. |
void |
warn(String format,
Object arg1,
Object arg2)
A NOP implementation. |
void |
warn(String msg,
Throwable t)
A NOP implementation. |
| Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase |
|---|
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final NOPLogger NOP_LOGGER
protected String name
| Constructor Detail |
|---|
protected NOPLogger()
| Method Detail |
|---|
public String getName()
getName in interface Loggerpublic final boolean isTraceEnabled()
public final void trace(String msg)
msg - the message string to be logged
public final void trace(String format,
Object arg)
format - the format stringarg - the argument
public final void trace(String format,
Object arg1,
Object arg2)
format - the format stringarg1 - the first argumentarg2 - the second argument
public final void trace(String format,
Object[] argArray)
format - the format stringargArray - an array of arguments
public final void trace(String msg,
Throwable t)
msg - the message accompanying the exceptiont - the exception (throwable) to logpublic final boolean isDebugEnabled()
public final void debug(String msg)
msg - the message string to be logged
public final void debug(String format,
Object arg)
format - the format stringarg - the argument
public final void debug(String format,
Object arg1,
Object arg2)
format - the format stringarg1 - the first argumentarg2 - the second argument
public final void debug(String format,
Object[] argArray)
format - the format stringargArray - an array of arguments
public final void debug(String msg,
Throwable t)
msg - the message accompanying the exceptiont - the exception (throwable) to logpublic final boolean isInfoEnabled()
public final void info(String msg)
msg - the message string to be logged
public final void info(String format,
Object arg1)
format - the format stringarg1 - the argument
public final void info(String format,
Object arg1,
Object arg2)
format - the format stringarg1 - the first argumentarg2 - the second argument
public final void info(String format,
Object[] argArray)
format - the format stringargArray - an array of arguments
public final void info(String msg,
Throwable t)
msg - the message accompanying the exceptiont - the exception (throwable) to logpublic final boolean isWarnEnabled()
public final void warn(String msg)
msg - the message string to be logged
public final void warn(String format,
Object arg1)
format - the format stringarg1 - the argument
public final void warn(String format,
Object arg1,
Object arg2)
format - the format stringarg1 - the first argumentarg2 - the second argument
public final void warn(String format,
Object[] argArray)
format - the format stringargArray - an array of arguments
public final void warn(String msg,
Throwable t)
msg - the message accompanying the exceptiont - the exception (throwable) to logpublic final boolean isErrorEnabled()
public final void error(String msg)
msg - the message string to be logged
public final void error(String format,
Object arg1)
format - the format stringarg1 - the argument
public final void error(String format,
Object arg1,
Object arg2)
format - the format stringarg1 - the first argumentarg2 - the second argument
public final void error(String format,
Object[] argArray)
format - the format stringargArray - an array of arguments
public final void error(String msg,
Throwable t)
msg - the message accompanying the exceptiont - the exception (throwable) to log
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||