public class MojoLogWrapper extends Object implements org.apache.maven.doxia.logging.Log
Log
Constructor and Description |
---|
MojoLogWrapper(org.apache.maven.plugin.logging.Log log) |
Modifier and Type | Method and Description |
---|---|
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) |
public MojoLogWrapper(org.apache.maven.plugin.logging.Log log)
log
- a Mojo logpublic 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
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.