Package org.apache.maven.doxia.logging
Class SystemStreamLog
java.lang.Object
org.apache.maven.doxia.logging.SystemStreamLog
- All Implemented Interfaces:
Log
Deprecated.
Logger with "standard" output and error output stream. The log prefix is voluntarily in lower case.
Based on
Based on
org.apache.maven.plugin.logging.SystemStreamLog
.- Since:
- 1.1
-
Field Summary
FieldsFields inherited from interface org.apache.maven.doxia.logging.Log
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
debug
(CharSequence content) Deprecated.Send a message to the user in the debug error level.void
debug
(CharSequence content, Throwable error) Deprecated.Send a message (and accompanying exception) to the user in the debug error level.void
Deprecated.Send an exception to the user in the debug error level.void
error
(CharSequence content) Deprecated.Send a message to the user in the error error level.void
error
(CharSequence content, Throwable error) Deprecated.Send a message (and accompanying exception) to the user in the error error level.void
Deprecated.Send an exception to the user in the error error level.void
info
(CharSequence content) Deprecated.Send a message to the user in the info error level.void
info
(CharSequence content, Throwable error) Deprecated.Send a message (and accompanying exception) to the user in the info error level.void
Deprecated.Send an exception to the user in the info error level.boolean
Deprecated.isDebugEnabled.boolean
Deprecated.isErrorEnabled.boolean
Deprecated.isInfoEnabled.boolean
Deprecated.isWarnEnabled.private void
print
(String prefix, CharSequence content) Deprecated.private void
print
(String prefix, CharSequence content, Throwable error) Deprecated.private void
Deprecated.void
setLogLevel
(int level) Deprecated.Set the current log level.void
warn
(CharSequence content) Deprecated.Send a message to the user in the warn error level.void
warn
(CharSequence content, Throwable error) Deprecated.Send a message (and accompanying exception) to the user in the warn error level.void
Deprecated.Send an exception to the user in the warn error level.
-
Field Details
-
EOL
Deprecated. -
currentLevel
private int currentLevelDeprecated.
-
-
Constructor Details
-
SystemStreamLog
public SystemStreamLog()Deprecated.
-
-
Method Details
-
setLogLevel
public void setLogLevel(int level) Deprecated.Set the current log level.- Specified by:
setLogLevel
in interfaceLog
- Parameters:
level
- the log level to set.
-
debug
Deprecated.Send a message to the user in the debug error level.- Specified by:
debug
in interfaceLog
- Parameters:
content
- aCharSequence
object.
-
debug
Deprecated.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. -
debug
Deprecated.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. -
info
Deprecated.Send a message to the user in the info error level. -
info
Deprecated.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. -
info
Deprecated.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. -
warn
Deprecated.Send a message to the user in the warn error level.- Specified by:
warn
in interfaceLog
- Parameters:
content
- aCharSequence
object.
-
warn
Deprecated.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. -
warn
Deprecated.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. -
error
Deprecated.Send a message to the user in the error error level. -
error
Deprecated.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. -
error
Deprecated.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. -
isDebugEnabled
public boolean isDebugEnabled()Deprecated.isDebugEnabled.
- Specified by:
isDebugEnabled
in interfaceLog
- Returns:
- a boolean.
-
isInfoEnabled
public boolean isInfoEnabled()Deprecated.isInfoEnabled.
- Specified by:
isInfoEnabled
in interfaceLog
- Returns:
- a boolean.
-
isWarnEnabled
public boolean isWarnEnabled()Deprecated.isWarnEnabled.
- Specified by:
isWarnEnabled
in interfaceLog
- Returns:
- a boolean.
-
isErrorEnabled
public boolean isErrorEnabled()Deprecated.isErrorEnabled.
- Specified by:
isErrorEnabled
in interfaceLog
- Returns:
- a boolean.
-
print
Deprecated. -
print
Deprecated. -
print
Deprecated.
-