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.
Implementation of the
org.apache.commons.logging.Log
interface that wraps 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
FieldsModifier and TypeFieldDescriptionprivate booleanDeprecated.Class and method found flag.protected static final LevelDeprecated.No longer used.protected LoggerDeprecated.The underlying Logger implementation we are using.protected StringDeprecated.Name.private static final longDeprecated.Serializable version identifier.private StringDeprecated.Source class name.private StringDeprecated.Source method name. -
Constructor Summary
ConstructorsConstructorDescriptionJdk13LumberjackLogger(String name) Deprecated.Constructs a named instance of this Logger. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Logs a message withjava.util.logging.Level.FINE.voidDeprecated.Logs a message withjava.util.logging.Level.FINE.voidDeprecated.Logs a message withjava.util.logging.Level.SEVERE.voidDeprecated.Logs a message withjava.util.logging.Level.SEVERE.voidDeprecated.Logs a message withjava.util.logging.Level.SEVERE.voidDeprecated.Logs a message withjava.util.logging.Level.SEVERE.private voidDeprecated.Gets the class and method by looking at the stack trace for the first entry that is not this class.Deprecated.Return the native Logger instance we are using.voidDeprecated.Logs a message withjava.util.logging.Level.INFO.voidDeprecated.Logs a message withjava.util.logging.Level.INFO.booleanDeprecated.Is debug logging currently enabled?booleanDeprecated.Is error logging currently enabled?booleanDeprecated.Is fatal logging currently enabled?booleanDeprecated.Is info logging currently enabled?booleanDeprecated.Is trace logging currently enabled?booleanDeprecated.Is warn logging currently enabled?private voidDeprecated.voidDeprecated.Logs a message withjava.util.logging.Level.FINEST.voidDeprecated.Logs a message withjava.util.logging.Level.FINEST.voidDeprecated.Logs a message withjava.util.logging.Level.WARNING.voidDeprecated.Logs a message withjava.util.logging.Level.WARNING.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.Serializable version identifier.- See Also:
-
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. -
sourceClassName
Deprecated.Source class name. -
sourceMethodName
Deprecated.Source method name. -
classAndMethodFound
private boolean classAndMethodFoundDeprecated.Class and method found flag.
-
-
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 withjava.util.logging.Level.FINE. -
debug
Deprecated.Logs a message withjava.util.logging.Level.FINE. -
error
Deprecated.Logs a message withjava.util.logging.Level.SEVERE. -
error
Deprecated.Logs a message withjava.util.logging.Level.SEVERE. -
fatal
Deprecated.Logs a message withjava.util.logging.Level.SEVERE. -
fatal
Deprecated.Logs a message withjava.util.logging.Level.SEVERE. -
getClassAndMethod
private void getClassAndMethod()Deprecated.Gets the class and method by looking at the stack trace for the first entry that is not this class. -
getLogger
Deprecated.Return the native Logger instance we are using.- Returns:
- the native Logger instance we are using.
-
info
Deprecated.Logs a message withjava.util.logging.Level.INFO. -
info
Deprecated.Logs a message withjava.util.logging.Level.INFO. -
isDebugEnabled
public boolean isDebugEnabled()Deprecated.Is debug logging currently enabled?- Specified by:
isDebugEnabledin interfaceLog- Returns:
- true if debug is enabled in the underlying logger.
-
isErrorEnabled
public boolean isErrorEnabled()Deprecated.Is error logging currently enabled?- Specified by:
isErrorEnabledin interfaceLog- Returns:
- true if error is enabled in the underlying logger.
-
isFatalEnabled
public boolean isFatalEnabled()Deprecated.Is fatal logging currently enabled?- Specified by:
isFatalEnabledin interfaceLog- Returns:
- true if fatal is enabled in the underlying logger.
-
isInfoEnabled
public boolean isInfoEnabled()Deprecated.Is info logging currently enabled?- Specified by:
isInfoEnabledin interfaceLog- Returns:
- true if info is enabled in the underlying logger.
-
isTraceEnabled
public boolean isTraceEnabled()Deprecated.Is trace logging currently enabled?- Specified by:
isTraceEnabledin interfaceLog- Returns:
- true if trace is enabled in the underlying logger.
-
isWarnEnabled
public boolean isWarnEnabled()Deprecated.Is warn logging currently enabled?- Specified by:
isWarnEnabledin interfaceLog- Returns:
- true if warn is enabled in the underlying logger.
-
log
Deprecated. -
trace
Deprecated.Logs a message withjava.util.logging.Level.FINEST. -
trace
Deprecated.Logs a message withjava.util.logging.Level.FINEST. -
warn
Deprecated.Logs a message withjava.util.logging.Level.WARNING. -
warn
Deprecated.Logs a message withjava.util.logging.Level.WARNING.
-