|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 logMethod Detail |
---|
public void setLogLevel(int level)
setLogLevel
in interface org.apache.maven.doxia.logging.Log
public 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.Log
public void debug(Throwable error)
debug
in interface org.apache.maven.doxia.logging.Log
public 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.Log
public void info(Throwable error)
info
in interface org.apache.maven.doxia.logging.Log
public 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.Log
public void warn(Throwable error)
warn
in interface org.apache.maven.doxia.logging.Log
public 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.Log
public void error(Throwable error)
error
in interface org.apache.maven.doxia.logging.Log
public boolean isDebugEnabled()
isDebugEnabled
in interface org.apache.maven.doxia.logging.Log
public boolean isInfoEnabled()
isInfoEnabled
in interface org.apache.maven.doxia.logging.Log
public boolean isWarnEnabled()
isWarnEnabled
in interface org.apache.maven.doxia.logging.Log
public 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 |