Package org.apache.commons.logging.impl
Class LogKitLogger
java.lang.Object
org.apache.commons.logging.impl.LogKitLogger
- All Implemented Interfaces:
Serializable,Log
Deprecated.
Scheduled for removal because the Apache Avalon Project has been discontinued.
Implements
org.apache.commons.logging.Log
to wrap the Apache Avalon Logkit
logging system. Configuration of LogKit is left to the user.
LogKit accepts only String messages.
Therefore, this implementation converts object messages into strings
by called their toString() method before logging them.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogKitLogger(String name) Deprecated.ConstructsLogKitLoggerwhich wraps theLogKitlogger with given name. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Logs a message withorg.apache.log.Priority.DEBUG.voidDeprecated.Logs a message withorg.apache.log.Priority.DEBUG.voidDeprecated.Logs a message withorg.apache.log.Priority.ERROR.voidDeprecated.Logs a message withorg.apache.log.Priority.ERROR.voidDeprecated.Logs a message withorg.apache.log.Priority.FATAL_ERROR.voidDeprecated.Logs a message withorg.apache.log.Priority.FATAL_ERROR.org.apache.log.LoggerDeprecated.Gets the underlying Logger we are using.voidDeprecated.Logs a message withorg.apache.log.Priority.INFO.voidDeprecated.Logs a message withorg.apache.log.Priority.INFO.booleanDeprecated.Checks whether theLogKitlogger will log messages of priorityDEBUG.booleanDeprecated.Checks whether theLogKitlogger will log messages of priorityERROR.booleanDeprecated.Checks whether theLogKitlogger will log messages of priorityFATAL_ERROR.booleanDeprecated.Checks whether theLogKitlogger will log messages of priorityINFO.booleanDeprecated.Checks whether theLogKitlogger will log messages of priorityDEBUG.booleanDeprecated.Checks whether theLogKitlogger will log messages of priorityWARN.voidDeprecated.Logs a message withorg.apache.log.Priority.DEBUG.voidDeprecated.Logs a message withorg.apache.log.Priority.DEBUG.voidDeprecated.Logs a message withorg.apache.log.Priority.WARN.voidDeprecated.Logs a message withorg.apache.log.Priority.WARN.
-
Field Details
-
logger
Deprecated.Logging goes to thisLogKitlogger -
name
Deprecated.Name of this logger
-
-
Constructor Details
-
LogKitLogger
Deprecated.ConstructsLogKitLoggerwhich wraps theLogKitlogger with given name.- Parameters:
name- log name
-
-
Method Details
-
debug
Deprecated.Logs a message withorg.apache.log.Priority.DEBUG. -
debug
Deprecated.Logs a message withorg.apache.log.Priority.DEBUG. -
error
Deprecated.Logs a message withorg.apache.log.Priority.ERROR. -
error
Deprecated.Logs a message withorg.apache.log.Priority.ERROR. -
fatal
Deprecated.Logs a message withorg.apache.log.Priority.FATAL_ERROR. -
fatal
Deprecated.Logs a message withorg.apache.log.Priority.FATAL_ERROR. -
getLogger
Deprecated.Gets the underlying Logger we are using.- Returns:
- the underlying Logger we are using.
-
info
Deprecated.Logs a message withorg.apache.log.Priority.INFO. -
info
Deprecated.Logs a message withorg.apache.log.Priority.INFO. -
isDebugEnabled
Deprecated.Checks whether theLogKitlogger will log messages of priorityDEBUG.- Specified by:
isDebugEnabledin interfaceLog- Returns:
- true if debug is enabled in the underlying logger.
-
isErrorEnabled
Deprecated.Checks whether theLogKitlogger will log messages of priorityERROR.- Specified by:
isErrorEnabledin interfaceLog- Returns:
- true if error is enabled in the underlying logger.
-
isFatalEnabled
Deprecated.Checks whether theLogKitlogger will log messages of priorityFATAL_ERROR.- Specified by:
isFatalEnabledin interfaceLog- Returns:
- true if fatal is enabled in the underlying logger.
-
isInfoEnabled
Deprecated.Checks whether theLogKitlogger will log messages of priorityINFO.- Specified by:
isInfoEnabledin interfaceLog- Returns:
- true if info is enabled in the underlying logger.
-
isTraceEnabled
Deprecated.Checks whether theLogKitlogger will log messages of priorityDEBUG.- Specified by:
isTraceEnabledin interfaceLog- Returns:
- true if trace is enabled in the underlying logger.
-
isWarnEnabled
Deprecated.Checks whether theLogKitlogger will log messages of priorityWARN.- Specified by:
isWarnEnabledin interfaceLog- Returns:
- true if warn is enabled in the underlying logger.
-
trace
Deprecated.Logs a message withorg.apache.log.Priority.DEBUG. -
trace
Deprecated.Logs a message withorg.apache.log.Priority.DEBUG. -
warn
Deprecated.Logs a message withorg.apache.log.Priority.WARN. -
warn
Deprecated.Logs a message withorg.apache.log.Priority.WARN.
-