|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.test.impl.SysoutLogger
public final class SysoutLogger
Constructor Summary | |
---|---|
SysoutLogger()
|
Method Summary | |
---|---|
void |
debug(String msg)
Emits the specified message. |
void |
debug(String msg,
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(String msg)
Emits the specified message. |
void |
warn(String msg,
Throwable error)
Emits the specified message along with a stack trace of the given exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SysoutLogger()
Method Detail |
---|
public void warn(String msg, Throwable error)
Logger
warn
in interface Logger
msg
- The message to log, must not be null
.error
- The exception to log, may be null
.public void warn(String msg)
Logger
warn
in interface Logger
msg
- The message to log, must not be null
.public boolean isWarnEnabled()
Logger
isWarnEnabled
in interface Logger
true
if warn logging is enabled, false
otherwise.public boolean isDebugEnabled()
Logger
isDebugEnabled
in interface Logger
true
if debug logging is enabled, false
otherwise.public void debug(String msg, Throwable error)
Logger
debug
in interface Logger
msg
- The message to log, must not be null
.error
- The exception to log, may be null
.public void debug(String msg)
Logger
debug
in interface Logger
msg
- The message to log, must not be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |