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
-
Constructor Summary
ConstructorDescriptionLogKitLogger
(String name) Deprecated.ConstructsLogKitLogger
which wraps theLogKit
logger with given name. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Logs a message withorg.apache.log.Priority.DEBUG
.void
Deprecated.Logs a message withorg.apache.log.Priority.DEBUG
.void
Deprecated.Logs a message withorg.apache.log.Priority.ERROR
.void
Deprecated.Logs a message withorg.apache.log.Priority.ERROR
.void
Deprecated.Logs a message withorg.apache.log.Priority.FATAL_ERROR
.void
Deprecated.Logs a message withorg.apache.log.Priority.FATAL_ERROR
.org.apache.log.Logger
Deprecated.Gets the underlying Logger we are using.void
Deprecated.Logs a message withorg.apache.log.Priority.INFO
.void
Deprecated.Logs a message withorg.apache.log.Priority.INFO
.boolean
Deprecated.Checks whether theLogKit
logger will log messages of priorityDEBUG
.boolean
Deprecated.Checks whether theLogKit
logger will log messages of priorityERROR
.boolean
Deprecated.Checks whether theLogKit
logger will log messages of priorityFATAL_ERROR
.boolean
Deprecated.Checks whether theLogKit
logger will log messages of priorityINFO
.boolean
Deprecated.Checks whether theLogKit
logger will log messages of priorityDEBUG
.boolean
Deprecated.Checks whether theLogKit
logger will log messages of priorityWARN
.void
Deprecated.Logs a message withorg.apache.log.Priority.DEBUG
.void
Deprecated.Logs a message withorg.apache.log.Priority.DEBUG
.void
Deprecated.Logs a message withorg.apache.log.Priority.WARN
.void
Deprecated.Logs a message withorg.apache.log.Priority.WARN
.
-
Field Details
-
logger
Deprecated.Logging goes to thisLogKit
logger -
name
Deprecated.Name of this logger
-
-
Constructor Details
-
LogKitLogger
Deprecated.ConstructsLogKitLogger
which wraps theLogKit
logger 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 theLogKit
logger will log messages of priorityDEBUG
.- Specified by:
isDebugEnabled
in interfaceLog
- Returns:
- true if debug is enabled in the underlying logger.
-
isErrorEnabled
Deprecated.Checks whether theLogKit
logger will log messages of priorityERROR
.- Specified by:
isErrorEnabled
in interfaceLog
- Returns:
- true if error is enabled in the underlying logger.
-
isFatalEnabled
Deprecated.Checks whether theLogKit
logger will log messages of priorityFATAL_ERROR
.- Specified by:
isFatalEnabled
in interfaceLog
- Returns:
- true if fatal is enabled in the underlying logger.
-
isInfoEnabled
Deprecated.Checks whether theLogKit
logger will log messages of priorityINFO
.- Specified by:
isInfoEnabled
in interfaceLog
- Returns:
- true if info is enabled in the underlying logger.
-
isTraceEnabled
Deprecated.Checks whether theLogKit
logger will log messages of priorityDEBUG
.- Specified by:
isTraceEnabled
in interfaceLog
- Returns:
- true if trace is enabled in the underlying logger.
-
isWarnEnabled
Deprecated.Checks whether theLogKit
logger will log messages of priorityWARN
.- Specified by:
isWarnEnabled
in 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
.
-