|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.doxia.tools.MojoLogWrapper
public class MojoLogWrapper
Wrap a Mojo logger into a Doxia logger.
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 | |
|---|---|
MojoLogWrapper(org.apache.maven.plugin.logging.Log log)
|
|
| Method Summary | |
|---|---|
void |
debug(CharSequence content)
|
void |
debug(CharSequence content,
Throwable error)
|
void |
debug(Throwable error)
|
void |
error(CharSequence content)
|
void |
error(CharSequence content,
Throwable error)
|
void |
error(Throwable error)
|
void |
info(CharSequence content)
|
void |
info(CharSequence content,
Throwable error)
|
void |
info(Throwable error)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isWarnEnabled()
|
void |
setLogLevel(int level)
|
void |
warn(CharSequence content)
|
void |
warn(CharSequence content,
Throwable error)
|
void |
warn(Throwable error)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MojoLogWrapper(org.apache.maven.plugin.logging.Log log)
log - a Mojo log| Method Detail |
|---|
public void setLogLevel(int level)
setLogLevel in interface org.apache.maven.doxia.logging.Logpublic void debug(CharSequence content)
debug in interface org.apache.maven.doxia.logging.Log
public void debug(CharSequence content,
Throwable error)
debug in interface org.apache.maven.doxia.logging.Logpublic void debug(Throwable error)
debug in interface org.apache.maven.doxia.logging.Logpublic void info(CharSequence content)
info in interface org.apache.maven.doxia.logging.Log
public void info(CharSequence content,
Throwable error)
info in interface org.apache.maven.doxia.logging.Logpublic void info(Throwable error)
info in interface org.apache.maven.doxia.logging.Logpublic void warn(CharSequence content)
warn in interface org.apache.maven.doxia.logging.Log
public void warn(CharSequence content,
Throwable error)
warn in interface org.apache.maven.doxia.logging.Logpublic void warn(Throwable error)
warn in interface org.apache.maven.doxia.logging.Logpublic void error(CharSequence content)
error in interface org.apache.maven.doxia.logging.Log
public void error(CharSequence content,
Throwable error)
error in interface org.apache.maven.doxia.logging.Logpublic void error(Throwable error)
error in interface org.apache.maven.doxia.logging.Logpublic boolean isDebugEnabled()
isDebugEnabled in interface org.apache.maven.doxia.logging.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.maven.doxia.logging.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.maven.doxia.logging.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.maven.doxia.logging.Log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||