Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ALLOW_FLAWED_CONTEXT_PROPERTY - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The name (
org.apache.commons.logging.Log.allowFlawedContext
) of the system property which can be set true/false to determine system behavior when a bad context class loader is encountered. - ALLOW_FLAWED_DISCOVERY_PROPERTY - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The name (
org.apache.commons.logging.Log.allowFlawedDiscovery
) of the system property which can be set true/false to determine system behavior when a bad logging adapter class is encountered during logging discovery. - ALLOW_FLAWED_HIERARCHY_PROPERTY - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The name (
org.apache.commons.logging.Log.allowFlawedHierarchy
) of the system property which can be set true/false to determine system behavior when a logging adapter class is encountered which has bound to the wrong Log class implementation. - attributes - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Configuration attributes.
- AvalonLogger - Class in org.apache.commons.logging.impl
-
Deprecated.Scheduled for removal because the Apache Avalon Project has been discontinued.
- AvalonLogger(String) - Constructor for class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Constructs an
AvalonLogger
that will log to a child of theLogger
set by callingAvalonLogger.setDefaultLogger(org.apache.avalon.framework.logger.Logger)
. - AvalonLogger(Logger) - Constructor for class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Constructs an
AvalonLogger
that outputs to the givenLogger
instance.
C
- cause - Variable in exception org.apache.commons.logging.LogConfigurationException
-
Deprecated.Use
Throwable.getCause()
. - containsKey(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- contextDestroyed(ServletContextEvent) - Method in class org.apache.commons.logging.impl.ServletContextCleaner
-
Invoked when a webapp is undeployed, this tells the LogFactory class to release any logging information related to the current contextClassloader.
- contextInitialized(ServletContextEvent) - Method in class org.apache.commons.logging.impl.ServletContextCleaner
-
Invoked when a webapp is deployed.
- createFactory(String, ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Creates a LogFactory object or a LogConfigurationException object.
- currentLogLevel - Variable in class org.apache.commons.logging.impl.SimpleLog
-
The current log level
D
- dateFormatter - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
Used to format times.
- dateTimeFormat - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
The date and time format to use in the log message
- debug(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.debug
. - debug(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.FINE
. - debug(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.FINE
. - debug(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.DEBUG
. - debug(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.DEBUG
. - debug(Object) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- debug(Object) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_DEBUG
. - debug(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with debug log level.
- debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.debug
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.FINE
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.FINE
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.DEBUG
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.DEBUG
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.LOG_LEVEL_DEBUG
. - debug(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with debug log level.
- DEFAULT_DATE_TIME_FORMAT - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
The default format to use when formating dates
- DIAGNOSTICS_DEST_PROPERTY - Static variable in class org.apache.commons.logging.LogFactory
-
The name (
org.apache.commons.logging.diagnostics.dest
) of the property used to enable internal commons-logging diagnostic output, in order to get information on what logging implementations are being discovered, what class loaders they are loaded through, etc. - directGetContextClassLoader() - Static method in class org.apache.commons.logging.LogFactory
-
Gets the thread context class loader if available; otherwise return null.
- dummyLevel - Static variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.No longer used.
- dummyLevel - Static variable in class org.apache.commons.logging.impl.Jdk14Logger
-
This member variable simply ensures that any attempt to initialize this class in a pre-1.4 JVM will result in an ExceptionInInitializerError.
E
- elements() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- entrySet() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- error(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.error
. - error(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.SEVERE
. - error(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.SEVERE
. - error(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.ERROR
. - error(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.ERROR
. - error(Object) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- error(Object) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_ERROR
. - error(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with error log level.
- error(Object, Throwable) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.error
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.SEVERE
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.SEVERE
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.ERROR
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.ERROR
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- error(Object, Throwable) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_ERROR
. - error(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with error log level.
F
- factories - Static variable in class org.apache.commons.logging.LogFactory
-
The previously constructed
LogFactory
instances, keyed by theClassLoader
with which it was created. - FACTORY_DEFAULT - Static variable in class org.apache.commons.logging.LogFactory
-
The fully qualified class name of the fallback
LogFactory
implementation class to use, if no other can be found. - FACTORY_PROPERTIES - Static variable in class org.apache.commons.logging.LogFactory
-
The name (
commons-logging.properties
) of the properties file to search for. - FACTORY_PROPERTY - Static variable in class org.apache.commons.logging.LogFactory
-
The name (
org.apache.commons.logging.LogFactory
) of the property used to identify the LogFactory implementation class name. - fatal(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.fatalError
. - fatal(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.SEVERE
. - fatal(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.SEVERE
. - fatal(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.FATAL
. - fatal(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.FATAL_ERROR
. - fatal(Object) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- fatal(Object) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Log a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_FATAL
. - fatal(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with fatal log level.
- fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.fatalError
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.SEVERE
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.SEVERE
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.FATAL
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.FATAL_ERROR
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_FATAL
. - fatal(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with fatal log level.
G
- get(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- getAttribute(String) - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory
- getAttribute(String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Gets the configuration attribute with the specified name (if any), or
null
if there is no such attribute. - getAttribute(String) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory
- getAttribute(String) - Method in class org.apache.commons.logging.LogFactory
-
Gets the configuration attribute with the specified name (if any), or
null
if there is no such attribute. - getAttributeNames() - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory
- getAttributeNames() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Gets an array containing the names of all currently defined configuration attributes.
- getAttributeNames() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory
- getAttributeNames() - Method in class org.apache.commons.logging.LogFactory
-
Gets an array containing the names of all currently defined configuration attributes.
- getClassLoader(Class<?>) - Static method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Workaround for bug in Java1.2; in theory this method is not needed.
- getClassLoader(Class<?>) - Static method in class org.apache.commons.logging.LogFactory
-
Safely get access to the class loader for the specified class.
- getContextClassLoader() - Static method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Gets the context ClassLoader.
- getContextClassLoader() - Static method in class org.apache.commons.logging.LogFactory
-
Gets the current context class loader.
- getFactory() - Static method in class org.apache.commons.logging.LogFactory
-
Constructs (if necessary) and return a
LogFactory
instance, using the following ordered lookup procedure to determine the name of the implementation class to be loaded. - getInstance(Class<?>) - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory
- getInstance(Class<?>) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Convenience method to derive a name from the specified class and call
getInstance(String)
with it. - getInstance(Class<?>) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory
- getInstance(Class<?>) - Method in class org.apache.commons.logging.LogFactory
-
Gets a Log for the given class.
- getInstance(Class<?>) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Gets a
Log
instance by class. - getInstance(String) - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory
- getInstance(String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Construct (if necessary) and return a
Log
instance, using the factory's current set of configuration attributes. - getInstance(String) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory
- getInstance(String) - Method in class org.apache.commons.logging.LogFactory
-
Gets a (possibly new)
Log
instance, using the factory's current set of configuration attributes. - getInstance(String) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Gets a
Log
instance by class name. - getLevel() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Gets logging level.
- getLog(Class<?>) - Static method in class org.apache.commons.logging.LogFactory
-
Gets a named logger, without the application having to care about factories.
- getLog(String) - Static method in class org.apache.commons.logging.LogFactory
-
Gets a named logger, without the application having to care about factories.
- getLogClassName() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Deprecated.Never invoked by this class; subclasses should not assume it will be.
- getLogConstructor() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Deprecated.Never invoked by this class; subclasses should not assume it will be.
- getLogger() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Gets the Avalon logger implementation used to perform logging.
- getLogger() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Gets the native Logger instance we are using.
- getLogger() - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Gets the native Logger instance we are using.
- getLogger() - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Gets the native Logger instance we are using.
- getLogger() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Gets the underlying Logger we are using.
- getLogNames() - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Returns a
String
array containing the names of all logs known to me.
H
- handleThrowable(Throwable) - Static method in class org.apache.commons.logging.LogFactory
-
Checks whether the supplied Throwable is one that needs to be re-thrown and ignores all others.
- HASHTABLE_IMPLEMENTATION_PROPERTY - Static variable in class org.apache.commons.logging.LogFactory
-
Setting this system property (
org.apache.commons.logging.LogFactory.HashtableImpl
) value allows theHashtable
used to store class loaders to be substituted by an alternative implementation.
I
- info(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.info
. - info(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.INFO
. - info(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.INFO
. - info(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.INFO
. - info(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.INFO
. - info(Object) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- info(Object) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_INFO
. - info(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with info log level.
- info(Object, Throwable) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.info
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.INFO
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.INFO
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.INFO
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.INFO
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- info(Object, Throwable) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_INFO
. - info(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with info log level.
- instances - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The
Log
instances that have already been created, keyed by logger name. - isDebugEnabled() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Is logging to
org.apache.avalon.framework.logger.Logger.debug
enabled? - isDebugEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Is debug logging currently enabled?
- isDebugEnabled() - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Is debug logging currently enabled?
- isDebugEnabled() - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Tests whether the Log4j Logger used is enabled for
DEBUG
priority. - isDebugEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Checks whether the
LogKit
logger will log messages of priorityDEBUG
. - isDebugEnabled() - Method in class org.apache.commons.logging.impl.NoOpLog
-
Debug is never enabled.
- isDebugEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether debug messages are enabled.
- isDebugEnabled() - Method in interface org.apache.commons.logging.Log
-
Is debug logging currently enabled?
- isDiagnosticsEnabled() - Static method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Workaround for bug in Java1.2; in theory this method is not needed.
- isDiagnosticsEnabled() - Static method in class org.apache.commons.logging.LogFactory
-
Tests whether the user enabled internal logging.
- isEmpty() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- isErrorEnabled() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Is logging to
org.apache.avalon.framework.logger.Logger.error
enabled? - isErrorEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Is error logging currently enabled?
- isErrorEnabled() - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Is error logging currently enabled?
- isErrorEnabled() - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Tests whether the Log4j Logger used is enabled for
ERROR
priority. - isErrorEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Checks whether the
LogKit
logger will log messages of priorityERROR
. - isErrorEnabled() - Method in class org.apache.commons.logging.impl.NoOpLog
-
Error is never enabled.
- isErrorEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether error messages are enabled.
- isErrorEnabled() - Method in interface org.apache.commons.logging.Log
-
Is error logging currently enabled?
- isFatalEnabled() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Is logging to
org.apache.avalon.framework.logger.Logger.fatalError
enabled? - isFatalEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Is fatal logging currently enabled?
- isFatalEnabled() - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Is fatal logging currently enabled?
- isFatalEnabled() - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Tests whether the Log4j Logger used is enabled for
FATAL
priority. - isFatalEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Checks whether the
LogKit
logger will log messages of priorityFATAL_ERROR
. - isFatalEnabled() - Method in class org.apache.commons.logging.impl.NoOpLog
-
Fatal is never enabled.
- isFatalEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether fatal messages are enabled.
- isFatalEnabled() - Method in interface org.apache.commons.logging.Log
-
Is fatal logging currently enabled?
- isInfoEnabled() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Is logging to
org.apache.avalon.framework.logger.Logger.info
enabled? - isInfoEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Is info logging currently enabled?
- isInfoEnabled() - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Is info logging currently enabled?
- isInfoEnabled() - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Tests whether the Log4j Logger used is enabled for
INFO
priority. - isInfoEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Checks whether the
LogKit
logger will log messages of priorityINFO
. - isInfoEnabled() - Method in class org.apache.commons.logging.impl.NoOpLog
-
Info is never enabled.
- isInfoEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether info messages are enabled.
- isInfoEnabled() - Method in interface org.apache.commons.logging.Log
-
Is info logging currently enabled?
- isJdk13LumberjackAvailable() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Deprecated.Never invoked by this class; subclasses should not assume it will be.
- isJdk14Available() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Deprecated.Never invoked by this class; subclasses should not assume it will be.
- isLevelEnabled(int) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether the given level is enabled.
- isLog4JAvailable() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Deprecated.Never invoked by this class; subclasses should not assume it will be.
- isTraceEnabled() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Is logging to
org.apache.avalon.framework.logger.Logger.debug
enabled? - isTraceEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Is trace logging currently enabled?
- isTraceEnabled() - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Is trace logging currently enabled?
- isTraceEnabled() - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Tests whether the Log4j Logger used is enabled for
TRACE
priority. - isTraceEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Checks whether the
LogKit
logger will log messages of priorityDEBUG
. - isTraceEnabled() - Method in class org.apache.commons.logging.impl.NoOpLog
-
Trace is never enabled.
- isTraceEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether trace messages are enabled.
- isTraceEnabled() - Method in interface org.apache.commons.logging.Log
-
Is trace logging currently enabled?
- isWarnEnabled() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Is logging to
org.apache.avalon.framework.logger.Logger.warn
enabled? - isWarnEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Is warn logging currently enabled?
- isWarnEnabled() - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Is warn logging currently enabled?
- isWarnEnabled() - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Tests whether the Log4j Logger used is enabled for
WARN
priority. - isWarnEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Checks whether the
LogKit
logger will log messages of priorityWARN
. - isWarnEnabled() - Method in class org.apache.commons.logging.impl.NoOpLog
-
Warn is never enabled.
- isWarnEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether warn messages are enabled.
- isWarnEnabled() - Method in interface org.apache.commons.logging.Log
-
Is warn logging currently enabled?
J
- Jdk13LumberjackLogger - Class in org.apache.commons.logging.impl
-
Deprecated.Scheduled for removal because the Lumberjack Project has been discontinued.
- Jdk13LumberjackLogger(String) - Constructor for class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Constructs a named instance of this Logger.
- jdk14IsAvailable - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Java 8 is the baseline and includes JUL.
- Jdk14Logger - Class in org.apache.commons.logging.impl
-
Implements the
org.apache.commons.logging.Log
interface to wrap the standard JDK logging mechanisms that were introduced in the Merlin release (JDK 1.4). - Jdk14Logger(String) - Constructor for class org.apache.commons.logging.impl.Jdk14Logger
-
Constructs a named instance of this Logger.
K
- keys() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- keySet() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
L
- log(int, Object, Throwable) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Do the actual logging.
- log(Level, String, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message at the given level.
- Log - Interface in org.apache.commons.logging
-
A simple logging interface abstracting logging APIs.
- LOG_LEVEL_ALL - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
Enable all logging levels
- LOG_LEVEL_DEBUG - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
"Debug" level logging.
- LOG_LEVEL_ERROR - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
"Error" level logging.
- LOG_LEVEL_FATAL - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
"Fatal" level logging.
- LOG_LEVEL_INFO - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
"Info" level logging.
- LOG_LEVEL_OFF - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
Enable no logging levels
- LOG_LEVEL_TRACE - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
"Trace" level logging.
- LOG_LEVEL_WARN - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
"Warn" level logging.
- LOG_PROPERTY - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The name (
org.apache.commons.logging.Log
) of the system property identifying ourLog
implementation class. - LOG_PROPERTY_OLD - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The deprecated system property used for backwards compatibility with old versions of JCL.
- Log4jApiLogFactory - Class in org.apache.commons.logging.impl
-
Logger factory hardcoded to send everything to Log4j API.
- Log4jApiLogFactory() - Constructor for class org.apache.commons.logging.impl.Log4jApiLogFactory
-
Constructs a new instance.
- log4jIsAvailable - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Is Log4j available (in the current classpath)
- Log4JLogger - Class in org.apache.commons.logging.impl
-
Deprecated.Scheduled for removal since version 1.x of Log4j has reached end-of-life.
- Log4JLogger() - Constructor for class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Constructs a new instance.
- Log4JLogger(String) - Constructor for class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Base constructor.
- Log4JLogger(Logger) - Constructor for class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.For use with a Log4j factory.
- LogConfigurationException - Exception in org.apache.commons.logging
-
An exception that is thrown only if a suitable
LogFactory
orLog
instance cannot be created by the corresponding factory methods. - LogConfigurationException() - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Constructs a new exception with
null
as its detail message. - LogConfigurationException(String) - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Constructs a new exception with the specified detail message.
- LogConfigurationException(String, Throwable) - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Constructs a new exception with the specified detail message and cause.
- LogConfigurationException(Throwable) - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Constructs a new exception with the specified cause and a derived detail message.
- logConstructor - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The one-argument constructor of the
Log
implementation class that will be used to create new instances. - logConstructorSignature - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The signature of the Constructor to be used.
- logDiagnostic(String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Output a diagnostic message to a user-specified destination (if the user has enabled diagnostic logging).
- LogFactory - Class in org.apache.commons.logging
-
Factory for creating
Log
instances, with discovery and configuration features similar to that employed by standard Java APIs such as JAXP. - LogFactory() - Constructor for class org.apache.commons.logging.LogFactory
-
Constructs a new instance.
- LogFactoryImpl - Class in org.apache.commons.logging.impl
-
Concrete subclass of
LogFactory
that implements the following algorithm to dynamically select a logging implementation class to instantiate a wrapper for: Use a factory configuration attribute namedorg.apache.commons.logging.Log
to identify the requested implementation class. Use theorg.apache.commons.logging.Log
system property to identify the requested implementation class. If Log4J is available, return an instance oforg.apache.commons.logging.impl.Log4JLogger
. If JDK 1.4 or later is available, return an instance oforg.apache.commons.logging.impl.Jdk14Logger
. Otherwise, return an instance oforg.apache.commons.logging.impl.SimpleLog
. - LogFactoryImpl() - Constructor for class org.apache.commons.logging.impl.LogFactoryImpl
-
Public no-arguments constructor required by the lookup mechanism.
- logger - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.The underlying Logger implementation we are using.
- logger - Variable in class org.apache.commons.logging.impl.Jdk14Logger
-
The underlying Logger implementation we are using.
- logger - Variable in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logging goes to this
LogKit
logger - logImplctor - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Constructor for current log class
- LogKitLogger - Class in org.apache.commons.logging.impl
-
Deprecated.Scheduled for removal because the Apache Avalon Project has been discontinued.
- LogKitLogger(String) - Constructor for class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Constructs
LogKitLogger
which wraps theLogKit
logger with given name. - logMethod - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The one-argument
setLogFactory
method of the selectedLog
method, if it exists. - logMethodSignature - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The signature of the
setLogFactory
method to be used. - logName - Variable in class org.apache.commons.logging.impl.SimpleLog
-
The name of this simple log instance
- logRawDiagnostic(String) - Static method in class org.apache.commons.logging.LogFactory
-
Writes the specified message to the internal logging destination.
- logs - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Logs.
- LogSource - Class in org.apache.commons.logging
-
Deprecated.Use
LogFactory
instead - The default factory implementation performs exactly the same algorithm as this class did
M
- makeNewLogInstance(String) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Create a new
Log
implementation, based on the given name.
N
- name - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Name.
- name - Variable in class org.apache.commons.logging.impl.Jdk14Logger
-
The name of the logger we are wrapping.
- name - Variable in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Name of this logger
- newFactory(String, ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Method provided for backwards compatibility; see newFactory version that takes 3 parameters.
- newFactory(String, ClassLoader, ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Gets a new instance of the specified
LogFactory
implementation class, loaded by the specified class loader. - newInstance(String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Create and return a new
Log
instance for the specified name. - NoOpLog - Class in org.apache.commons.logging.impl
-
Trivial implementation of Log that throws away all messages.
- NoOpLog() - Constructor for class org.apache.commons.logging.impl.NoOpLog
-
Convenience constructor
- NoOpLog(String) - Constructor for class org.apache.commons.logging.impl.NoOpLog
-
Base constructor
- nullClassLoaderFactory - Static variable in class org.apache.commons.logging.LogFactory
-
Deprecated.since 1.1.2
O
- objectId(Object) - Static method in class org.apache.commons.logging.LogFactory
-
Returns a string that uniquely identifies the specified object, including its class.
- org.apache.commons.logging - package org.apache.commons.logging
-
Simple wrapper API around multiple logging APIs.
- org.apache.commons.logging.impl - package org.apache.commons.logging.impl
-
Concrete implementations of commons-logging wrapper APIs.
P
- PRIORITY_KEY - Static variable in class org.apache.commons.logging.LogFactory
-
The name (
priority
) of the key in the configuration file used to specify the priority of that particular configuration file. - put(Object, Object) - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- putAll(Map) - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
R
- rehash() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- release() - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory
-
This method is supposed to clear all loggers.
- release() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Release any internal references to previously created
Log
instances returned by this factory. - release() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory
-
This method is supposed to clear all loggers.
- release() - Method in class org.apache.commons.logging.LogFactory
-
Releases any internal references to previously created
Log
instances returned by this factory. - release(ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Releases any internal references to previously created
LogFactory
instances that have been associated with the specified class loader (if any), after calling the instance methodrelease()
on each of them. - releaseAll() - Static method in class org.apache.commons.logging.LogFactory
-
Release any internal references to previously created
LogFactory
instances, after calling the instance methodrelease()
on each of them. - remove(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- removeAttribute(String) - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory
- removeAttribute(String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Remove any configuration attribute associated with the specified name.
- removeAttribute(String) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory
- removeAttribute(String) - Method in class org.apache.commons.logging.LogFactory
-
Removes any configuration attribute associated with the specified name.
S
- SERVICE_ID - Static variable in class org.apache.commons.logging.LogFactory
-
JDK 1.3+ 'Service Provider' specification.
- ServletContextCleaner - Class in org.apache.commons.logging.impl
-
This class is capable of receiving notifications about the undeployment of a webapp, and responds by ensuring that commons-logging releases all memory associated with the undeployed webapp.
- ServletContextCleaner() - Constructor for class org.apache.commons.logging.impl.ServletContextCleaner
-
Constructs a new instance.
- setAttribute(String, Object) - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory
- setAttribute(String, Object) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Sets the configuration attribute with the specified name.
- setAttribute(String, Object) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory
- setAttribute(String, Object) - Method in class org.apache.commons.logging.LogFactory
-
Sets the configuration attribute with the specified name.
- setDefaultLogger(Logger) - Static method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Sets the ancestral Avalon logger from which the delegating loggers will descend.
- setLevel(int) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Sets logging level.
- setLogImplementation(Class<?>) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Sets the log implementation/log implementation factory by class.
- setLogImplementation(String) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Sets the log implementation/log implementation factory by the name of the class.
- showDateTime - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
Include the current time in the log message
- showLogName - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
Include the instance name in the log message?
- showShortName - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
Include the short name (last component) of the logger in the log message.
- SimpleLog - Class in org.apache.commons.logging.impl
-
Simple implementation of Log that sends all enabled log messages, for all defined loggers, to System.err.
- SimpleLog(String) - Constructor for class org.apache.commons.logging.impl.SimpleLog
-
Constructs a simple log with given name.
- simpleLogProps - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
Properties loaded from simplelog.properties
- size() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- Slf4jLogFactory - Class in org.apache.commons.logging.impl
-
Logger factory hardcoded to send everything to SLF4J.
- Slf4jLogFactory() - Constructor for class org.apache.commons.logging.impl.Slf4jLogFactory
-
Constructs a new instance.
- systemPrefix - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
All system properties used by
SimpleLog
start with this
T
- TCCL_KEY - Static variable in class org.apache.commons.logging.LogFactory
-
The name (
use_tccl
) of the key in the configuration file used to specify whether logging classes should be loaded via the thread context class loader (TCCL), or not. - toString() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- trace(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.debug
. - trace(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.FINEST
. - trace(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.FINEST
. - trace(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.TRACE
. - trace(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.DEBUG
. - trace(Object) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- trace(Object) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_TRACE
. - trace(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with trace log level.
- trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.debug
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.FINEST
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.FINEST
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.TRACE
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.DEBUG
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_TRACE
. - trace(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with trace log level.
V
- values() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
W
- warn(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.warn
. - warn(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.WARNING
. - warn(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.WARNING
. - warn(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.WARN
. - warn(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.WARN
. - warn(Object) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- warn(Object) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_WARN
. - warn(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with warn log level.
- warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Deprecated.Logs a message with
org.apache.avalon.framework.logger.Logger.warn
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Logs a message with
Level.WARNING
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
Level.WARNING
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Logs a message with
org.apache.log4j.Priority.WARN
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Deprecated.Logs a message with
org.apache.log.Priority.WARN
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.NoOpLog
-
Do nothing
- warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Logs a message with
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_WARN
. - warn(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with warn log level.
- WeakHashtable - Class in org.apache.commons.logging.impl
-
Deprecated.No longer used, will be removed in 2.0.
- WeakHashtable() - Constructor for class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.Constructs a WeakHashtable with the Hashtable default capacity and load factor.
- write(StringBuffer) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Writes the content of the message accumulated in the specified
StringBuffer
to the appropriate output destination.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form