|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.logging.SystemStreamLog
public class SystemStreamLog
Logger with "standard" output and error output stream. The log prefix is voluntarily in lower case.
Based on org.apache.maven.plugin.logging.SystemStreamLog
.
Field Summary |
---|
Fields inherited from interface org.apache.maven.doxia.logging.Log |
---|
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN |
Constructor Summary | |
---|---|
SystemStreamLog()
|
Method Summary | |
---|---|
void |
debug(CharSequence content)
Send a message to the user in the debug error level. |
void |
debug(CharSequence content,
Throwable error)
Send a message (and accompanying exception) to the user in the debug error level. |
void |
debug(Throwable error)
Send an exception to the user in the debug error level. |
void |
error(CharSequence content)
Send a message to the user in the error error level. |
void |
error(CharSequence content,
Throwable error)
Send a message (and accompanying exception) to the user in the error error level. |
void |
error(Throwable error)
Send an exception to the user in the error error level. |
void |
info(CharSequence content)
Send a message to the user in the info error level. |
void |
info(CharSequence content,
Throwable error)
Send a message (and accompanying exception) to the user in the info error level. |
void |
info(Throwable error)
Send an exception to the user in the info error level. |
boolean |
isDebugEnabled()
isDebugEnabled. |
boolean |
isErrorEnabled()
isErrorEnabled. |
boolean |
isInfoEnabled()
isInfoEnabled. |
boolean |
isWarnEnabled()
isWarnEnabled. |
void |
setLogLevel(int level)
Set the current log level. |
void |
warn(CharSequence content)
Send a message to the user in the warn error level. |
void |
warn(CharSequence content,
Throwable error)
Send a message (and accompanying exception) to the user in the warn error level. |
void |
warn(Throwable error)
Send an exception to the user in the warn error level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemStreamLog()
Method Detail |
---|
public void setLogLevel(int level)
setLogLevel
in interface Log
level
- the log level to set.public void debug(CharSequence content)
debug
in interface Log
content
- the message to log.public void debug(CharSequence content, Throwable error)
debug
in interface Log
content
- the message to log.error
- the error to log.public void debug(Throwable error)
debug
in interface Log
error
- the error to log.public void info(CharSequence content)
info
in interface Log
content
- the message to log.public void info(CharSequence content, Throwable error)
info
in interface Log
content
- the message to log.error
- the error to log.public void info(Throwable error)
info
in interface Log
error
- the error to log.public void warn(CharSequence content)
warn
in interface Log
content
- the message to log.public void warn(CharSequence content, Throwable error)
warn
in interface Log
content
- the message to log.error
- the error to log.public void warn(Throwable error)
warn
in interface Log
error
- the error to log.public void error(CharSequence content)
error
in interface Log
content
- the message to log.public void error(CharSequence content, Throwable error)
error
in interface Log
content
- the message to log.error
- the error to log.public void error(Throwable error)
error
in interface Log
error
- the error to log.public boolean isDebugEnabled()
isDebugEnabled.
isDebugEnabled
in interface Log
public boolean isInfoEnabled()
isInfoEnabled.
isInfoEnabled
in interface Log
public boolean isWarnEnabled()
isWarnEnabled.
isWarnEnabled
in interface Log
public boolean isErrorEnabled()
isErrorEnabled.
isErrorEnabled
in interface Log
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |