|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.logging.PlexusLoggerWrapper
public class PlexusLoggerWrapper
Wrap a Plexus logger into a Doxia logger. Based on org.apache.maven.plugin.logging.Log.
| 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 | |
|---|---|
PlexusLoggerWrapper(org.codehaus.plexus.logging.Logger logger)
Constructor for PlexusLoggerWrapper. |
|
| 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 PlexusLoggerWrapper(org.codehaus.plexus.logging.Logger logger)
Constructor for PlexusLoggerWrapper.
logger - the Plexus logger to wrap.| Method Detail |
|---|
public void setLogLevel(int level)
setLogLevel in interface Loglevel - the log level to set.public void debug(CharSequence content)
debug in interface Logcontent - the message to log.
public void debug(CharSequence content,
Throwable error)
debug in interface Logcontent - the message to log.error - the error to log.public void debug(Throwable error)
debug in interface Logerror - the error to log.public void info(CharSequence content)
info in interface Logcontent - the message to log.
public void info(CharSequence content,
Throwable error)
info in interface Logcontent - the message to log.error - the error to log.public void info(Throwable error)
info in interface Logerror - the error to log.public void warn(CharSequence content)
warn in interface Logcontent - the message to log.
public void warn(CharSequence content,
Throwable error)
warn in interface Logcontent - the message to log.error - the error to log.public void warn(Throwable error)
warn in interface Logerror - the error to log.public void error(CharSequence content)
error in interface Logcontent - the message to log.
public void error(CharSequence content,
Throwable error)
error in interface Logcontent - the message to log.error - the error to log.public void error(Throwable error)
error in interface Logerror - the error to log.public boolean isDebugEnabled()
isDebugEnabled.
isDebugEnabled in interface Logpublic boolean isInfoEnabled()
isInfoEnabled.
isInfoEnabled in interface Logpublic boolean isWarnEnabled()
isWarnEnabled.
isWarnEnabled in interface Logpublic boolean isErrorEnabled()
isErrorEnabled.
isErrorEnabled in interface Log
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||