public class MojoLogWrapper extends Object implements Log
LogLEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN| Constructor and Description |
|---|
MojoLogWrapper(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(Log log)
log - a Mojo logpublic void setLogLevel(int level)
setLogLevel in interface Logpublic void debug(CharSequence content)
public void debug(CharSequence content, Throwable error)
public void info(CharSequence content)
public void info(CharSequence content, Throwable error)
public void warn(CharSequence content)
public void warn(CharSequence content, Throwable error)
public void error(CharSequence content)
public void error(CharSequence content, Throwable error)
public boolean isDebugEnabled()
isDebugEnabled in interface Logpublic boolean isInfoEnabled()
isInfoEnabled in interface Logpublic boolean isWarnEnabled()
isWarnEnabled in interface Logpublic boolean isErrorEnabled()
isErrorEnabled in interface LogCopyright © 2005–2014 The Apache Software Foundation. All rights reserved.