public class MojoLogWrapper extends Object implements Log
Log
LEVEL_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 Log
public 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 Log
public boolean isInfoEnabled()
isInfoEnabled
in interface Log
public boolean isWarnEnabled()
isWarnEnabled
in interface Log
public boolean isErrorEnabled()
isErrorEnabled
in interface Log
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.