public class NOPLogger extends MarkerIgnoringBase
Logger
.Modifier and Type | Field and Description |
---|---|
static NOPLogger |
NOP_LOGGER
The unique instance of NOPLogger.
|
ROOT_LOGGER_NAME
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg)
A NOP implementation.
|
void |
debug(String format,
Object... argArray)
A NOP implementation.
|
void |
debug(String format,
Object arg)
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... argArray)
A NOP implementation.
|
void |
error(String format,
Object arg1)
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... argArray)
A NOP implementation.
|
void |
info(String format,
Object arg1)
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... argArray)
A NOP implementation.
|
void |
trace(String format,
Object arg)
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... argArray)
A NOP implementation.
|
void |
warn(String format,
Object arg1)
A NOP implementation.
|
void |
warn(String format,
Object arg1,
Object arg2)
A NOP implementation.
|
void |
warn(String msg,
Throwable t)
A NOP implementation.
|
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
public static final NOPLogger NOP_LOGGER
public String getName()
public final boolean isTraceEnabled()
public final void trace(String msg)
msg
- the message string to be loggedpublic final void trace(String format, Object arg)
format
- the format stringarg
- the argumentpublic final void trace(String format, Object arg1, Object arg2)
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic final void trace(String format, Object... argArray)
format
- the format stringargArray
- a list of 3 or more argumentspublic 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 loggedpublic final void debug(String format, Object arg)
format
- the format stringarg
- the argumentpublic final void debug(String format, Object arg1, Object arg2)
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic final void debug(String format, Object... argArray)
format
- the format stringargArray
- a list of 3 or more argumentspublic 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 loggedpublic final void info(String format, Object arg1)
format
- the format stringarg1
- the argumentpublic final void info(String format, Object arg1, Object arg2)
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic final void info(String format, Object... argArray)
format
- the format stringargArray
- a list of 3 or more argumentspublic 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 loggedpublic final void warn(String format, Object arg1)
format
- the format stringarg1
- the argumentpublic final void warn(String format, Object arg1, Object arg2)
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic final void warn(String format, Object... argArray)
format
- the format stringargArray
- a list of 3 or more argumentspublic 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 loggedpublic final void error(String format, Object arg1)
format
- the format stringarg1
- the argumentpublic final void error(String format, Object arg1, Object arg2)
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic final void error(String format, Object... argArray)
format
- the format stringargArray
- a list of 3 or more argumentsCopyright © 2010 - 2020 Adobe. All Rights Reserved