Package org.apache.commons.logging.impl
Class Jdk13LumberjackLogger
java.lang.Object
org.apache.commons.logging.impl.Jdk13LumberjackLogger
- All Implemented Interfaces:
Serializable
,Log
Deprecated.
Scheduled for removal because the Lumberjack Project has been discontinued.
Implements the
org.apache.commons.logging.Log
interface tp wrap the standard JDK logging mechanisms that are
available in SourceForge's Lumberjack for JDKs prior to 1.4.- Since:
- 1.1
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJdk13LumberjackLogger
(String name) Deprecated.Constructs a named instance of this Logger. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Logs a message withLevel.FINE
.void
Deprecated.Logs a message withLevel.FINE
.void
Deprecated.Logs a message withLevel.SEVERE
.void
Deprecated.Logs a message withLevel.SEVERE
.void
Deprecated.Logs a message withLevel.SEVERE
.void
Deprecated.Logs a message withLevel.SEVERE
.Deprecated.Gets the native Logger instance we are using.void
Deprecated.Logs a message withLevel.INFO
.void
Deprecated.Logs a message withLevel.INFO
.boolean
Deprecated.Is debug logging currently enabled?boolean
Deprecated.Is error logging currently enabled?boolean
Deprecated.Is fatal logging currently enabled?boolean
Deprecated.Is info logging currently enabled?boolean
Deprecated.Is trace logging currently enabled?boolean
Deprecated.Is warn logging currently enabled?void
Deprecated.Logs a message withLevel.FINEST
.void
Deprecated.Logs a message withLevel.FINEST
.void
Deprecated.Logs a message withLevel.WARNING
.void
Deprecated.Logs a message withLevel.WARNING
.
-
Field Details
-
dummyLevel
Deprecated.No longer used.This member variable simply ensures that any attempt to initialize this class in a pre-1.4 JVM will result in an ExceptionInInitializerError. It must not be private, as an optimizing compiler could detect that it is not used and optimize it away. -
logger
Deprecated.The underlying Logger implementation we are using. -
name
Deprecated.Name.
-
-
Constructor Details
-
Jdk13LumberjackLogger
Deprecated.Constructs a named instance of this Logger.- Parameters:
name
- Name of the logger to be constructed
-
-
Method Details
-
debug
Deprecated.Logs a message withLevel.FINE
. -
debug
Deprecated.Logs a message withLevel.FINE
. -
error
Deprecated.Logs a message withLevel.SEVERE
. -
error
Deprecated.Logs a message withLevel.SEVERE
. -
fatal
Deprecated.Logs a message withLevel.SEVERE
. -
fatal
Deprecated.Logs a message withLevel.SEVERE
. -
getLogger
Deprecated.Gets the native Logger instance we are using.- Returns:
- the native Logger instance we are using.
-
info
Deprecated.Logs a message withLevel.INFO
. -
info
Deprecated.Logs a message withLevel.INFO
. -
isDebugEnabled
Deprecated.Is debug logging currently enabled?- Specified by:
isDebugEnabled
in interfaceLog
- Returns:
- true if debug is enabled in the underlying logger.
-
isErrorEnabled
Deprecated.Is error logging currently enabled?- Specified by:
isErrorEnabled
in interfaceLog
- Returns:
- true if error is enabled in the underlying logger.
-
isFatalEnabled
Deprecated.Is fatal logging currently enabled?- Specified by:
isFatalEnabled
in interfaceLog
- Returns:
- true if fatal is enabled in the underlying logger.
-
isInfoEnabled
Deprecated.Is info logging currently enabled?- Specified by:
isInfoEnabled
in interfaceLog
- Returns:
- true if info is enabled in the underlying logger.
-
isTraceEnabled
Deprecated.Is trace logging currently enabled?- Specified by:
isTraceEnabled
in interfaceLog
- Returns:
- true if trace is enabled in the underlying logger.
-
isWarnEnabled
Deprecated.Is warn logging currently enabled?- Specified by:
isWarnEnabled
in interfaceLog
- Returns:
- true if warn is enabled in the underlying logger.
-
trace
Deprecated.Logs a message withLevel.FINEST
. -
trace
Deprecated.Logs a message withLevel.FINEST
. -
warn
Deprecated.Logs a message withLevel.WARNING
. -
warn
Deprecated.Logs a message withLevel.WARNING
.
-