Package org.apache.maven.doxia.logging
Class PlexusLoggerWrapper
java.lang.Object
org.apache.maven.doxia.logging.PlexusLoggerWrapper
- All Implemented Interfaces:
Log
Deprecated.
Wrap a Plexus logger into a Doxia logger.
Based on org.apache.maven.plugin.logging.Log.
- Since:
- 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.codehaus.plexus.logging.LoggerDeprecated.Fields inherited from interface org.apache.maven.doxia.logging.Log
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN -
Constructor Summary
ConstructorsConstructorDescriptionPlexusLoggerWrapper(org.codehaus.plexus.logging.Logger logger) Deprecated.Constructor for PlexusLoggerWrapper. -
Method Summary
Modifier and TypeMethodDescriptionvoiddebug(CharSequence content) Deprecated.Send a message to the user in the debug error level.voiddebug(CharSequence content, Throwable error) Deprecated.Send a message (and accompanying exception) to the user in the debug error level.voidDeprecated.Send an exception to the user in the debug error level.voiderror(CharSequence content) Deprecated.Send a message to the user in the error error level.voiderror(CharSequence content, Throwable error) Deprecated.Send a message (and accompanying exception) to the user in the error error level.voidDeprecated.Send an exception to the user in the error error level.voidinfo(CharSequence content) Deprecated.Send a message to the user in the info error level.voidinfo(CharSequence content, Throwable error) Deprecated.Send a message (and accompanying exception) to the user in the info error level.voidDeprecated.Send an exception to the user in the info error level.booleanDeprecated.isDebugEnabled.booleanDeprecated.isErrorEnabled.booleanDeprecated.isInfoEnabled.booleanDeprecated.isWarnEnabled.voidsetLogLevel(int level) Deprecated.Set the current log level.private StringtoString(CharSequence content) Deprecated.voidwarn(CharSequence content) Deprecated.Send a message to the user in the warn error level.voidwarn(CharSequence content, Throwable error) Deprecated.Send a message (and accompanying exception) to the user in the warn error level.voidDeprecated.Send an exception to the user in the warn error level.
-
Field Details
-
logger
private final org.codehaus.plexus.logging.Logger loggerDeprecated.
-
-
Constructor Details
-
PlexusLoggerWrapper
public PlexusLoggerWrapper(org.codehaus.plexus.logging.Logger logger) Deprecated.Constructor for PlexusLoggerWrapper.
- Parameters:
logger- the Plexus logger to wrap.
-
-
Method Details
-
setLogLevel
public void setLogLevel(int level) Deprecated.Set the current log level.- Specified by:
setLogLevelin interfaceLog- Parameters:
level- the log level to set.
-
debug
Deprecated.Send a message to the user in the debug error level.- Specified by:
debugin interfaceLog- Parameters:
content- aCharSequenceobject.
-
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:
warnin interfaceLog- Parameters:
content- aCharSequenceobject.
-
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:
isDebugEnabledin interfaceLog- Returns:
- a boolean.
-
isInfoEnabled
public boolean isInfoEnabled()Deprecated.isInfoEnabled.
- Specified by:
isInfoEnabledin interfaceLog- Returns:
- a boolean.
-
isWarnEnabled
public boolean isWarnEnabled()Deprecated.isWarnEnabled.
- Specified by:
isWarnEnabledin interfaceLog- Returns:
- a boolean.
-
isErrorEnabled
public boolean isErrorEnabled()Deprecated.isErrorEnabled.
- Specified by:
isErrorEnabledin interfaceLog- Returns:
- a boolean.
-
toString
Deprecated.
-