private static final class TestLoggerFactory.TestLogger extends java.lang.Object implements Logger
| Modifier and Type | Field and Description |
|---|---|
private java.io.PrintStream |
out |
| Constructor and Description |
|---|
TestLogger(java.io.PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(java.lang.String msg)
Emits the specified message.
|
void |
debug(java.lang.String msg,
java.lang.Throwable error)
Emits the specified message along with a stack trace of the given exception.
|
boolean |
isDebugEnabled()
Indicates whether debug logging is enabled.
|
boolean |
isWarnEnabled()
Indicates whether warn logging is enabled.
|
void |
warn(java.lang.String msg)
Emits the specified message.
|
void |
warn(java.lang.String msg,
java.lang.Throwable error)
Emits the specified message along with a stack trace of the given exception.
|
public boolean isWarnEnabled()
LoggerisWarnEnabled in interface Loggertrue if warn logging is enabled, false otherwise.public void warn(java.lang.String msg,
java.lang.Throwable error)
Loggerpublic void warn(java.lang.String msg)
Loggerpublic boolean isDebugEnabled()
LoggerisDebugEnabled in interface Loggertrue if debug logging is enabled, false otherwise.public void debug(java.lang.String msg,
java.lang.Throwable error)
Logger