A C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
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 behaviour when a bad context-classloader 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 behaviour 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 behaviour when a logging adapter class is encountered which has bound to the wrong Log class implementation. - allowFlawedContext - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
See getBaseClassLoader and initConfiguration.
- allowFlawedDiscovery - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
See handleFlawedDiscovery and initConfiguration.
- allowFlawedHierarchy - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
See handleFlawedHierarchy and initConfiguration.
- attributes - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Configuration attributes.
- AvalonLogger - Class in org.apache.commons.logging.impl
-
Implementation of commons-logging Log interface that delegates all logging calls to the Avalon logging abstraction: the Logger interface.
- AvalonLogger(String) - Constructor for class org.apache.commons.logging.impl.AvalonLogger
-
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
-
Constructs an
AvalonLogger
that outputs to the givenLogger
instance.
C
- cacheFactory(ClassLoader, LogFactory) - Static method in class org.apache.commons.logging.LogFactory
-
Remember this factory, so later calls to LogFactory.getCachedFactory can return the previously created object (together with all its cached Log objects).
- cause - Variable in exception org.apache.commons.logging.LogConfigurationException
-
The underlying cause of this exception.
- changeCount - Variable in class org.apache.commons.logging.impl.WeakHashtable
- classAndMethodFound - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
- classesToDiscover - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The names of classes that will be tried (in order) as logging adapters.
- containsKey(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable
- 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
-
Implements the operations described in the javadoc for newFactory.
- createFactoryStore() - Static method in class org.apache.commons.logging.LogFactory
-
Create the hashtable which will be used to store a map of (context-classloader -> logfactory-object).
- createLogFromClass(String, String, boolean) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Attempts to load the given class, find a suitable constructor, and instantiate an instance of Log.
- 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
-
Logs a message with
org.apache.avalon.framework.logger.Logger.debug
. - debug(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.FINE
. - debug(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.FINE
. - debug(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.DEBUG
. - debug(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Logs a message with
org.apache.avalon.framework.logger.Logger.debug
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.FINE
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.FINE
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.DEBUG
. - debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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.SimpleLog.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
- defaultLogger - Static variable in class org.apache.commons.logging.impl.AvalonLogger
-
Ancestral Avalon logger.
- diagnosticPrefix - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The string prefixed to every message output by the logDiagnostic method.
- diagnosticPrefix - Static variable in class org.apache.commons.logging.LogFactory
-
A string that gets prefixed to every message output by the logDiagnostic method, so that users can clearly see which LogFactory class is generating the output.
- 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 classloaders they are loaded through, etc. - diagnosticsStream - Static variable in class org.apache.commons.logging.LogFactory
-
When null (the usual case), no diagnostic output will be generated by LogFactory or LogFactoryImpl.
- directGetContextClassLoader() - Static method in class org.apache.commons.logging.LogFactory
-
Return the thread context class loader if available; otherwise return null.
- discoverLogImplementation(String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Attempts to create a Log instance for the given category name.
- dummyLevel - Static variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
This member variable simply ensures that any attempt to initialise this class in a pre-1.4 JVM will result in an ExceptionInInitializerError.
- dummyLevel - Static variable in class org.apache.commons.logging.impl.Jdk14Logger
-
This member variable simply ensures that any attempt to initialise this class in a pre-1.4 JVM will result in an ExceptionInInitializerError.
E
- elements() - Method in class org.apache.commons.logging.impl.WeakHashtable
- Entry(Object, Object) - Constructor for class org.apache.commons.logging.impl.WeakHashtable.Entry
- entrySet() - Method in class org.apache.commons.logging.impl.WeakHashtable
- equals(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
- equals(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable.Referenced
- error(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Logs a message with
org.apache.avalon.framework.logger.Logger.error
. - error(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.SEVERE
. - error(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.SEVERE
. - error(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.ERROR
. - error(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Logs a message with
org.apache.avalon.framework.logger.Logger.error
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.SEVERE
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.SEVERE
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.ERROR
. - error(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Logs a message with
org.apache.avalon.framework.logger.Logger.fatalError
. - fatal(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.SEVERE
. - fatal(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.SEVERE
. - fatal(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.FATAL
. - fatal(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Logs a message with
org.apache.avalon.framework.logger.Logger.fatalError
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.SEVERE
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.SEVERE
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.FATAL
. - fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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.
- findUserSpecifiedLogClassName() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Checks system properties and the attribute map for a Log implementation specified by the user under the property names
LogFactoryImpl.LOG_PROPERTY
orLogFactoryImpl.LOG_PROPERTY_OLD
. - FQCN - Static variable in class org.apache.commons.logging.impl.Log4JLogger
-
The fully qualified name of the Log4JLogger class.
G
- get(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable
- getAttribute(String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Return 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.LogFactory
-
Return 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.LogFactoryImpl
-
Return an array containing the names of all currently defined configuration attributes.
- getAttributeNames() - Method in class org.apache.commons.logging.LogFactory
-
Return an array containing the names of all currently defined configuration attributes.
- getBaseClassLoader() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Return the classloader from which we should try to load the logging adapter classes.
- getBooleanConfiguration(String, boolean) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Get the setting for the user-configurable behaviour specified by key.
- getBooleanProperty(String, boolean) - Static method in class org.apache.commons.logging.impl.SimpleLog
- getCachedFactory(ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Check cached factories (keyed by contextClassLoader)
- getCause() - Method in exception org.apache.commons.logging.LogConfigurationException
-
Return the underlying cause of this exception (if any).
- getClassAndMethod() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Gets the class and method by looking at the stack trace for the first entry that is not this class.
- 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 classloader for the specified class.
- getConfigurationFile(ClassLoader, String) - Static method in class org.apache.commons.logging.LogFactory
-
Locate a user-provided configuration file.
- getConfigurationValue(String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Attempt to find an attribute (see method setAttribute) or a system property with the provided name and return its value.
- getContextClassLoader() - Static method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Gets the context classloader.
- getContextClassLoader() - Static method in class org.apache.commons.logging.impl.SimpleLog
-
Return the thread context class loader if available.
- getContextClassLoader() - Static method in class org.apache.commons.logging.LogFactory
-
Returns the current context classloader.
- getContextClassLoaderInternal() - Static method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Calls LogFactory.directGetContextClassLoader under the control of an AccessController class.
- getContextClassLoaderInternal() - Static method in class org.apache.commons.logging.LogFactory
-
Calls LogFactory.directGetContextClassLoader under the control of an AccessController class.
- getFactory() - Static method in class org.apache.commons.logging.LogFactory
-
Construct (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.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.LogFactory
-
Convenience method to derive a name from the specified class and call
getInstance(String)
with it. - getInstance(Class) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Get a
Log
instance by class. - 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.LogFactory
-
Construct (if necessary) and return a
Log
instance, using the factory's current set of configuration attributes. - getInstance(String) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Get a
Log
instance by class name. - getKey() - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
- getLevel() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Get logging level.
- getLog(Class) - Static method in class org.apache.commons.logging.LogFactory
-
Convenience method to return a named logger, without the application having to care about factories.
- getLog(String) - Static method in class org.apache.commons.logging.LogFactory
-
Convenience method to return 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
-
Gets the Avalon logger implementation used to perform logging.
- getLogger() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Return the native Logger instance we are using.
- getLogger() - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Return the native Logger instance we are using.
- getLogger() - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Return the native Logger instance we are using.
- getLogger() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
Return 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. - getLowestClassLoader(ClassLoader, ClassLoader) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Given two related classloaders, return the one which is a child of the other.
- getParentClassLoader(ClassLoader) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Fetch the parent classloader of a specified classloader.
- getProperties(URL) - Static method in class org.apache.commons.logging.LogFactory
-
Given a URL that refers to a .properties file, load that file.
- getReferenced() - Method in class org.apache.commons.logging.impl.WeakHashtable.WeakKey
- getResourceAsStream(ClassLoader, String) - Static method in class org.apache.commons.logging.LogFactory
-
Applets may run in an environment where accessing resources of a loader is a secure operation, but where the commons-logging library has explicitly been granted permission for that operation.
- getResourceAsStream(String) - Static method in class org.apache.commons.logging.impl.SimpleLog
- getResources(ClassLoader, String) - Static method in class org.apache.commons.logging.LogFactory
-
Given a filename, return an enumeration of URLs pointing to all the occurrences of that filename in the classpath.
- getStringProperty(String) - Static method in class org.apache.commons.logging.impl.SimpleLog
- getStringProperty(String, String) - Static method in class org.apache.commons.logging.impl.SimpleLog
- getSystemProperty(String, String) - Static method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Read the specified system property, using an AccessController so that the property can be read if JCL has been granted the appropriate security rights even if the calling code has not.
- getSystemProperty(String, String) - Static method in class org.apache.commons.logging.LogFactory
-
Read the specified system property, using an AccessController so that the property can be read if JCL has been granted the appropriate security rights even if the calling code has not.
- getValue() - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
- getValue() - Method in class org.apache.commons.logging.impl.WeakHashtable.Referenced
H
- handleFlawedDiscovery(String, ClassLoader, Throwable) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Generates an internal diagnostic logging of the discovery failure and then throws a
LogConfigurationException
that wraps the passedThrowable
. - handleFlawedHierarchy(ClassLoader, Class) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Report a problem loading the log adapter, then either return (if the situation is considered recoverable) or throw a LogConfigurationException.
- 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.
- hashCode - Variable in class org.apache.commons.logging.impl.WeakHashtable.Referenced
- hashCode() - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
- hashCode() - Method in class org.apache.commons.logging.impl.WeakHashtable.Referenced
- 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 classloaders to be substituted by an alternative implementation.
I
- implementsLogFactory(Class) - Static method in class org.apache.commons.logging.LogFactory
-
Determines whether the given class actually implements
LogFactory
. - info(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Logs a message with
org.apache.avalon.framework.logger.Logger.info
. - info(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.INFO
. - info(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.INFO
. - info(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.INFO
. - info(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Logs a message with
org.apache.avalon.framework.logger.Logger.info
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.INFO
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.INFO
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.INFO
. - info(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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.
- informUponSimilarName(StringBuffer, String, String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Appends message if the given name is similar to the candidate.
- initConfiguration() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Initialize a number of variables that control the behaviour of this class and that can be tweaked by the user.
- initDiagnostics() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Calculate and cache a string that uniquely identifies this instance, including which classloader the object was loaded from.
- initDiagnostics() - Static method in class org.apache.commons.logging.LogFactory
-
Determines whether the user wants internal diagnostic output.
- 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
-
Is logging to
org.apache.avalon.framework.logger.Logger.debug
enabled? - isDebugEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
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
-
Check whether the Log4j Logger used is enabled for
DEBUG
priority. - isDebugEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Are debug messages currently 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
-
Indicates true if the user has enabled internal logging.
- isEmpty() - Method in class org.apache.commons.logging.impl.WeakHashtable
- isErrorEnabled() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Is logging to
org.apache.avalon.framework.logger.Logger.error
enabled? - isErrorEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
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
-
Check whether the Log4j Logger used is enabled for
ERROR
priority. - isErrorEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Are error messages currently 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
-
Is logging to
org.apache.avalon.framework.logger.Logger.fatalError
enabled? - isFatalEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
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
-
Check whether the Log4j Logger used is enabled for
FATAL
priority. - isFatalEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Are fatal messages currently 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
-
Is logging to
org.apache.avalon.framework.logger.Logger.info
enabled? - isInfoEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
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
-
Check whether the Log4j Logger used is enabled for
INFO
priority. - isInfoEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Are info messages currently 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
-
Is the given log level currently enabled?
- isLog4JAvailable() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Deprecated.Never invoked by this class; subclasses should not assume it will be.
- isLogLibraryAvailable(String, String) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Utility method to check whether a particular logging library is present and available for use.
- isTraceEnabled() - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Is logging to
org.apache.avalon.framework.logger.Logger.debug
enabled? - isTraceEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
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
-
Check whether the Log4j Logger used is enabled for
TRACE
priority. - isTraceEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Are trace messages currently 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
-
Is logging to
org.apache.avalon.framework.logger.Logger.warn
enabled? - isWarnEnabled() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
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
-
Check whether the Log4j Logger used is enabled for
WARN
priority. - isWarnEnabled() - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Are warn messages currently enabled?
- isWarnEnabled() - Method in interface org.apache.commons.logging.Log
-
Is warn logging currently enabled?
J
- Jdk13LumberjackLogger - Class in org.apache.commons.logging.impl
-
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. - Jdk13LumberjackLogger(String) - Constructor for class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Construct a named instance of this Logger.
- jdk14IsAvailable - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Is JDK 1.4 logging available
- Jdk14Logger - Class in org.apache.commons.logging.impl
-
Implementation of the
org.apache.commons.logging.Log
interface that wraps 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
-
Construct a named instance of this Logger.
K
- key - Variable in class org.apache.commons.logging.impl.WeakHashtable.Entry
- keys() - Method in class org.apache.commons.logging.impl.WeakHashtable
- keySet() - Method in class org.apache.commons.logging.impl.WeakHashtable
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.Jdk13LumberjackLogger
- log(Level, String, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
- 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.
- 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
-
Implementation of
Log
that maps directly to a Logger for log4J version 1.2. - Log4JLogger() - Constructor for class org.apache.commons.logging.impl.Log4JLogger
- Log4JLogger(String) - Constructor for class org.apache.commons.logging.impl.Log4JLogger
-
Base constructor.
- Log4JLogger(Logger) - Constructor for class org.apache.commons.logging.impl.Log4JLogger
-
For use with a log4j factory.
- logClassLoaderEnvironment(Class) - Static method in class org.apache.commons.logging.LogFactory
-
Generate useful diagnostics regarding the classloader tree for the specified class.
- logClassName - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Name of the class implementing the Log interface.
- 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
-
Construct a new exception with
null
as its detail message. - LogConfigurationException(String) - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Construct a new exception with the specified detail message.
- LogConfigurationException(String, Throwable) - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Construct a new exception with the specified detail message and cause.
- LogConfigurationException(Throwable) - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Construct 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).
- logDiagnostic(String) - Static method in class org.apache.commons.logging.LogFactory
-
Write the specified message to the internal logging destination.
- 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
-
Protected constructor that is not available for public use.
- 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.AvalonLogger
-
Avalon logger used to perform log.
- logger - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
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.Log4JLogger
-
Log to this logger
- logger - Variable in class org.apache.commons.logging.impl.LogKitLogger
-
Logging goes to this
LogKit
logger - LOGGING_IMPL_JDK14_LOGGER - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Jdk14Logger class name
- LOGGING_IMPL_LOG4J_LOGGER - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Log4JLogger class name
- LOGGING_IMPL_LUMBERJACK_LOGGER - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Jdk13LumberjackLogger class name
- LOGGING_IMPL_SIMPLE_LOGGER - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
SimpleLog class name
- logHierarchy(String, ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Logs diagnostic messages about the given classloader and it's hierarchy.
- logImplctor - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Constructor for current log class
- LogKitLogger - Class in org.apache.commons.logging.impl
-
Implementation of
org.apache.commons.logging.Log
that wraps the avalon-logkit logging system. - LogKitLogger(String) - Constructor for class org.apache.commons.logging.impl.LogKitLogger
-
Construct
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
-
Write the specified message to the internal logging destination.
- logs - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.
- LogSource - Class in org.apache.commons.logging
-
Deprecated.Use
LogFactory
instead - The default factory implementation performs exactly the same algorithm as this class did - LogSource() - Constructor for class org.apache.commons.logging.LogSource
-
Deprecated.Don't allow others to create instances.
M
- makeNewLogInstance(String) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Create a new
Log
implementation, based on the given name. - MAX_CHANGES_BEFORE_PURGE - Static variable in class org.apache.commons.logging.impl.WeakHashtable
-
The maximum number of times put() or remove() can be called before the map will be purged of all cleared entries.
N
- name - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
- 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.Log4JLogger
-
Logger name
- name - Variable in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Return 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
- PARTIAL_PURGE_COUNT - Static variable in class org.apache.commons.logging.impl.WeakHashtable
-
The maximum number of times put() or remove() can be called before the map will be purged of one cleared entry.
- PKG_IMPL - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
- PKG_LEN - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
- PRIORITY_KEY - Static variable in class org.apache.commons.logging.LogFactory
-
The name (
priority
) of the key in the config file used to specify the priority of that particular config file. - purge() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Purges all entries whose wrapped keys have been garbage collected.
- purgeOne() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Purges one entry whose wrapped key has been garbage collected.
- put(Object, Object) - Method in class org.apache.commons.logging.impl.WeakHashtable
- putAll(Map) - Method in class org.apache.commons.logging.impl.WeakHashtable
Q
- queue - Variable in class org.apache.commons.logging.impl.WeakHashtable
R
- reference - Variable in class org.apache.commons.logging.impl.WeakHashtable.Referenced
- referenced - Variable in class org.apache.commons.logging.impl.WeakHashtable.WeakKey
- Referenced(Object) - Constructor for class org.apache.commons.logging.impl.WeakHashtable.Referenced
- Referenced(Object, ReferenceQueue) - Constructor for class org.apache.commons.logging.impl.WeakHashtable.Referenced
- rehash() - Method in class org.apache.commons.logging.impl.WeakHashtable
- 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.LogFactory
-
Release any internal references to previously created
Log
instances returned by this factory. - release(ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Release 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. - RELEASE_SIGNATURE - Static variable in class org.apache.commons.logging.impl.ServletContextCleaner
- 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
- 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.LogFactory
-
Remove any configuration attribute associated with the specified name.
S
- serialVersionUID - Static variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.logging.impl.Jdk14Logger
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.logging.impl.Log4JLogger
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.logging.impl.LogKitLogger
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.logging.impl.NoOpLog
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.logging.impl.SimpleLog
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.logging.impl.WeakHashtable
-
Serializable version identifier.
- serialVersionUID - Static variable in exception org.apache.commons.logging.LogConfigurationException
-
Serializable version identifier.
- SERVICE_ID - Static variable in class org.apache.commons.logging.LogFactory
-
JDK1.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
- setAttribute(String, Object) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Set the configuration attribute with the specified name.
- setAttribute(String, Object) - Method in class org.apache.commons.logging.LogFactory
-
Set the configuration attribute with the specified name.
- setDefaultLogger(Logger) - Static method in class org.apache.commons.logging.impl.AvalonLogger
-
Sets the ancestral Avalon logger from which the delegating loggers will descend.
- setLevel(int) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Set logging level.
- setLogImplementation(Class) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Set the log implementation/log implementation factory by class.
- setLogImplementation(String) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Set the log implementation/log implementation factory by the name of the class.
- setValue(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
- shortLogName - Variable in class org.apache.commons.logging.impl.SimpleLog
-
The short name of this simple log instance
- 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
-
Construct 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
- sourceClassName - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
- sourceMethodName - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
- 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 config file used to specify whether logging classes should be loaded via the thread context class loader (TCCL), or not. - thisClassLoader - Static variable in class org.apache.commons.logging.LogFactory
-
A reference to the classloader that loaded this class.
- toString() - Method in class org.apache.commons.logging.impl.WeakHashtable
- trace(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Logs a message with
org.apache.avalon.framework.logger.Logger.debug
. - trace(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.FINEST
. - trace(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.FINEST
. - trace(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.TRACE
. - trace(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Logs a message with
org.apache.avalon.framework.logger.Logger.debug
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.FINEST
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.FINEST
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.TRACE
. - trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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.
- traceLevel - Static variable in class org.apache.commons.logging.impl.Log4JLogger
- trim(String) - Static method in class org.apache.commons.logging.LogFactory
-
Utility method to safely trim a string.
U
- useTCCL - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Determines whether logging classes should be loaded using the thread-context classloader, or via the classloader that loaded this LogFactoryImpl class.
V
- value - Variable in class org.apache.commons.logging.impl.WeakHashtable.Entry
- values() - Method in class org.apache.commons.logging.impl.WeakHashtable
W
- warn(Object) - Method in class org.apache.commons.logging.impl.AvalonLogger
-
Logs a message with
org.apache.avalon.framework.logger.Logger.warn
. - warn(Object) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.WARNING
. - warn(Object) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.WARNING
. - warn(Object) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.WARN
. - warn(Object) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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
-
Logs a message with
org.apache.avalon.framework.logger.Logger.warn
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Logs a message with
java.util.logging.Level.WARNING
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.Jdk14Logger
-
Logs a message with
java.util.logging.Level.WARNING
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4JLogger
-
Logs a message with
org.apache.log4j.Priority.WARN
. - warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.LogKitLogger
-
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.
- WEAK_HASHTABLE_CLASSNAME - Static variable in class org.apache.commons.logging.LogFactory
-
Name used to load the weak hashtable implementation by names.
- WeakHashtable - Class in org.apache.commons.logging.impl
-
Implementation of
Hashtable
that usesWeakReference
's to hold its keys thus allowing them to be reclaimed by the garbage collector. - WeakHashtable() - Constructor for class org.apache.commons.logging.impl.WeakHashtable
-
Constructs a WeakHashtable with the Hashtable default capacity and load factor.
- WeakHashtable.Entry - Class in org.apache.commons.logging.impl
-
Entry implementation
- WeakHashtable.Referenced - Class in org.apache.commons.logging.impl
-
Wrapper giving correct symantics for equals and hashcode
- WeakHashtable.WeakKey - Class in org.apache.commons.logging.impl
-
WeakReference subclass that holds a hard reference to an associated
value
and also makes accessible the Referenced object holding it. - WeakKey(Object, ReferenceQueue, WeakHashtable.Referenced) - Constructor for class org.apache.commons.logging.impl.WeakHashtable.WeakKey
- write(StringBuffer) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Write the content of the message accumulated in the specified
StringBuffer
to the appropriate output destination.
All Classes All Packages