Package org.apache.maven.plugin.logging
Class SystemStreamLog
- java.lang.Object
-
- org.apache.maven.plugin.logging.SystemStreamLog
-
-
Constructor Summary
Constructors Constructor Description SystemStreamLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(java.lang.CharSequence content)Send a message to the user in the debug error level.voiddebug(java.lang.CharSequence content, java.lang.Throwable error)Send a message (and accompanying exception) to the user in the debug error level.
The error's stacktrace will be output when this error level is enabled.voiddebug(java.lang.Throwable error)Send an exception to the user in the debug error level.
The stack trace for this exception will be output when this error level is enabled.voiderror(java.lang.CharSequence content)Send a message to the user in the error error level.voiderror(java.lang.CharSequence content, java.lang.Throwable error)Send a message (and accompanying exception) to the user in the error error level.
The error's stacktrace will be output when this error level is enabled.voiderror(java.lang.Throwable error)Send an exception to the user in the error error level.
The stack trace for this exception will be output when this error level is enabled.voidinfo(java.lang.CharSequence content)Send a message to the user in the info error level.voidinfo(java.lang.CharSequence content, java.lang.Throwable error)Send a message (and accompanying exception) to the user in the info error level.
The error's stacktrace will be output when this error level is enabled.voidinfo(java.lang.Throwable error)Send an exception to the user in the info error level.
The stack trace for this exception will be output when this error level is enabled.booleanisDebugEnabled()booleanisErrorEnabled()booleanisInfoEnabled()booleanisWarnEnabled()private voidprint(java.lang.String prefix, java.lang.CharSequence content)private voidprint(java.lang.String prefix, java.lang.CharSequence content, java.lang.Throwable error)private voidprint(java.lang.String prefix, java.lang.Throwable error)voidwarn(java.lang.CharSequence content)Send a message to the user in the warn error level.voidwarn(java.lang.CharSequence content, java.lang.Throwable error)Send a message (and accompanying exception) to the user in the warn error level.
The error's stacktrace will be output when this error level is enabled.voidwarn(java.lang.Throwable error)Send an exception to the user in the warn error level.
The stack trace for this exception will be output when this error level is enabled.
-
-
-
Method Detail
-
debug
public void debug(java.lang.CharSequence content)
Description copied from interface:LogSend a message to the user in the debug error level.- Specified by:
debugin interfaceLog- See Also:
Log.debug(java.lang.CharSequence)
-
debug
public void debug(java.lang.CharSequence content, java.lang.Throwable error)Description copied from interface:LogSend a message (and accompanying exception) to the user in the debug error level.
The error's stacktrace will be output when this error level is enabled.- Specified by:
debugin interfaceLog- See Also:
Log.debug(java.lang.CharSequence, java.lang.Throwable)
-
debug
public void debug(java.lang.Throwable error)
Description copied from interface:LogSend an exception to the user in the debug error level.
The stack trace for this exception will be output when this error level is enabled.- Specified by:
debugin interfaceLog- See Also:
Log.debug(java.lang.Throwable)
-
info
public void info(java.lang.CharSequence content)
Description copied from interface:LogSend a message to the user in the info error level.- Specified by:
infoin interfaceLog- See Also:
Log.info(java.lang.CharSequence)
-
info
public void info(java.lang.CharSequence content, java.lang.Throwable error)Description copied from interface:LogSend a message (and accompanying exception) to the user in the info error level.
The error's stacktrace will be output when this error level is enabled.- Specified by:
infoin interfaceLog- See Also:
Log.info(java.lang.CharSequence, java.lang.Throwable)
-
info
public void info(java.lang.Throwable error)
Description copied from interface:LogSend an exception to the user in the info error level.
The stack trace for this exception will be output when this error level is enabled.- Specified by:
infoin interfaceLog- See Also:
Log.info(java.lang.Throwable)
-
warn
public void warn(java.lang.CharSequence content)
Description copied from interface:LogSend a message to the user in the warn error level.- Specified by:
warnin interfaceLog- See Also:
Log.warn(java.lang.CharSequence)
-
warn
public void warn(java.lang.CharSequence content, java.lang.Throwable error)Description copied from interface:LogSend a message (and accompanying exception) to the user in the warn error level.
The error's stacktrace will be output when this error level is enabled.- Specified by:
warnin interfaceLog- See Also:
Log.warn(java.lang.CharSequence, java.lang.Throwable)
-
warn
public void warn(java.lang.Throwable error)
Description copied from interface:LogSend an exception to the user in the warn error level.
The stack trace for this exception will be output when this error level is enabled.- Specified by:
warnin interfaceLog- See Also:
Log.warn(java.lang.Throwable)
-
error
public void error(java.lang.CharSequence content)
Description copied from interface:LogSend a message to the user in the error error level.- Specified by:
errorin interfaceLog- See Also:
Log.error(java.lang.CharSequence)
-
error
public void error(java.lang.CharSequence content, java.lang.Throwable error)Description copied from interface:LogSend a message (and accompanying exception) to the user in the error error level.
The error's stacktrace will be output when this error level is enabled.- Specified by:
errorin interfaceLog- See Also:
Log.error(java.lang.CharSequence, java.lang.Throwable)
-
error
public void error(java.lang.Throwable error)
Description copied from interface:LogSend an exception to the user in the error error level.
The stack trace for this exception will be output when this error level is enabled.- Specified by:
errorin interfaceLog- See Also:
Log.error(java.lang.Throwable)
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceLog- Returns:
- true if the debug error level is enabled
- See Also:
Log.isDebugEnabled()
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceLog- Returns:
- true if the info error level is enabled
- See Also:
Log.isInfoEnabled()
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceLog- Returns:
- true if the warn error level is enabled
- See Also:
Log.isWarnEnabled()
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceLog- Returns:
- true if the error error level is enabled
- See Also:
Log.isErrorEnabled()
-
print
private void print(java.lang.String prefix, java.lang.CharSequence content)
-
print
private void print(java.lang.String prefix, java.lang.Throwable error)
-
print
private void print(java.lang.String prefix, java.lang.CharSequence content, java.lang.Throwable error)
-
-