@Component(role=ParameterizedLogger.class) public class ParameterizedLogger extends Object implements org.apache.maven.plugin.logging.Log
Constructor and Description |
---|
ParameterizedLogger() |
ParameterizedLogger(org.apache.maven.plugin.logging.Log decoratedLogger) |
Modifier and Type | Method and Description |
---|---|
String |
buildCombinationIDString(Combination combo)
Determines if the
id field within the provided Combination exists or not. |
void |
debug(CharSequence content) |
void |
debug(CharSequence content,
Throwable error) |
void |
debug(Throwable error) |
void |
debugWithParams(CharSequence content,
Object... parameters) |
void |
debugWithParams(CharSequence content,
Throwable error,
Object... parameters) |
void |
error(CharSequence content) |
void |
error(CharSequence content,
Throwable error) |
void |
error(Throwable error) |
void |
errorWithParams(CharSequence content,
Object... parameters) |
void |
info(CharSequence content) |
void |
info(CharSequence content,
Throwable error) |
void |
info(Throwable error) |
void |
infoWithParams(CharSequence content,
Object... parameters) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
setLogger(org.apache.maven.plugin.logging.Log logger) |
void |
warn(CharSequence content) |
void |
warn(CharSequence content,
Throwable error) |
void |
warn(Throwable error) |
void |
warnWithParams(CharSequence content,
Object... parameters) |
public ParameterizedLogger()
public ParameterizedLogger(org.apache.maven.plugin.logging.Log decoratedLogger)
public void setLogger(org.apache.maven.plugin.logging.Log logger)
public boolean isDebugEnabled()
isDebugEnabled
in interface org.apache.maven.plugin.logging.Log
public void debug(CharSequence content)
debug
in interface org.apache.maven.plugin.logging.Log
public void debug(CharSequence content, Throwable error)
debug
in interface org.apache.maven.plugin.logging.Log
public void debug(Throwable error)
debug
in interface org.apache.maven.plugin.logging.Log
public void debugWithParams(CharSequence content, Object... parameters)
public void debugWithParams(CharSequence content, Throwable error, Object... parameters)
public boolean isInfoEnabled()
isInfoEnabled
in interface org.apache.maven.plugin.logging.Log
public void info(CharSequence content)
info
in interface org.apache.maven.plugin.logging.Log
public void info(CharSequence content, Throwable error)
info
in interface org.apache.maven.plugin.logging.Log
public void info(Throwable error)
info
in interface org.apache.maven.plugin.logging.Log
public void infoWithParams(CharSequence content, Object... parameters)
public boolean isWarnEnabled()
isWarnEnabled
in interface org.apache.maven.plugin.logging.Log
public void warn(CharSequence content)
warn
in interface org.apache.maven.plugin.logging.Log
public void warn(CharSequence content, Throwable error)
warn
in interface org.apache.maven.plugin.logging.Log
public void warn(Throwable error)
warn
in interface org.apache.maven.plugin.logging.Log
public void warnWithParams(CharSequence content, Object... parameters)
public boolean isErrorEnabled()
isErrorEnabled
in interface org.apache.maven.plugin.logging.Log
public void error(CharSequence content)
error
in interface org.apache.maven.plugin.logging.Log
public void error(CharSequence content, Throwable error)
error
in interface org.apache.maven.plugin.logging.Log
public void error(Throwable error)
error
in interface org.apache.maven.plugin.logging.Log
public void errorWithParams(CharSequence content, Object... parameters)
public String buildCombinationIDString(Combination combo)
id
field within the provided Combination
exists or not. If it exists, then a String
is created
by concatenating an id provided message String with the Combination.getId()
field. If it does not exist,
then an empty String
is returned.combo
- Combination
to check if its id
field has been specifiedString
Copyright © 2014–2015. All rights reserved.