Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- adapter - Variable in class org.apache.commons.logging.impl.Log4jApiLogFactory
-
Caches Log instances
- 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. - 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.Log4jApiLogFactory
- attributes - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Configuration attributes.
- attributes - Variable in class org.apache.commons.logging.impl.Slf4jLogFactory
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 class org.apache.commons.logging.LogConfigurationException
-
Deprecated.
- changeCount - Variable in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.Counter used to control how often we purge gc'd entries.
- Choosing a LogFactory Implementation - Search tag in package org.apache.commons.logging
- Section
- classAndMethodFound - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Class and method found flag.
- classesToDiscover - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The names of classes that will be tried (in order) as logging adapters.
- Configuring the Commons Logging Package - Search tag in package org.apache.commons.logging
- Section
- Configuring the Underlying Logging System - Search tag in package org.apache.commons.logging
- Section
- 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.
- createFactoryStore() - Static method in class org.apache.commons.logging.LogFactory
-
Creates the hash table which will be used to store a map of (context class loader -> 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.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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- debug(Object) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- debug(Object, Throwable) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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
- diagnosticPrefix - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The string prefixed to every message output by the logDiagnostic method.
- 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. - DIAGNOSTICS_PREFIX - 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_STREAM - 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
-
Gets 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
-
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.
- EMPTY_ARRAY - Static variable in class org.apache.commons.logging.impl.Log4jApiLogFactory
- EMPTY_OBJECT_ARRAY - Static variable in class org.apache.commons.logging.impl.Slf4jLogFactory
- EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
An empty immutable
String
array. - EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.logging.impl.Slf4jLogFactory
- EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.An empty immutable
String
array. - Entry(Object, Object) - Constructor for class org.apache.commons.logging.impl.WeakHashtable.Entry
-
Deprecated.
- entrySet() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- equals(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
-
Deprecated.
- equals(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable.Referenced
-
Deprecated.
- 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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- error(Object) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- error(Object, Throwable) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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_LOG4J_API - Static variable in class org.apache.commons.logging.LogFactory
- 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. - FACTORY_SLF4J - Static variable in class org.apache.commons.logging.LogFactory
- 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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- fatal(Object) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- fatal(Object, Throwable) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.Log4jApiLogFactory.Log4j2Log
- FQCN - Static variable in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.The fully qualified name of the Log4JLogger class.
- FQCN - Static variable in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
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.
- getBaseClassLoader() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Gets the class loader from which we should try to load the logging adapter classes.
- getBooleanConfiguration(String, boolean) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Gets the setting for the user-configurable behavior 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
-
Gets a cached log factory (keyed by contextClassLoader)
- getClassAndMethod() - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.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 class loader for the specified class.
- getConfigurationFile(ClassLoader, String) - Static method in class org.apache.commons.logging.LogFactory
-
Gets 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.
- getContext() - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory.LogAdapter
- 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
-
Gets the thread context class loader if available.
- getContextClassLoader() - Static method in class org.apache.commons.logging.LogFactory
-
Gets the current context class loader.
- 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
-
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. - getKey() - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
-
Deprecated.
- 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.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.
- 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 class loaders, return the one which is a child of the other.
- getParentClassLoader(ClassLoader) - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Fetch the parent class loader of a specified class loader.
- 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
-
Deprecated.
- 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 file name, return an enumeration of URLs pointing to all the occurrences of that file name 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
-
Deprecated.
- getValue() - Method in class org.apache.commons.logging.impl.WeakHashtable.Referenced
-
Deprecated.
H
- handleFlawedDiscovery(String, 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
-
Deprecated.
- hashCode() - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
-
Deprecated.
- hashCode() - Method in class org.apache.commons.logging.impl.WeakHashtable.Referenced
-
Deprecated.
- 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
- 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.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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- info(Object) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- info(Object, Throwable) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- info(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with info log level.
- informUponSimilarName(StringBuilder, 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 behavior 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 class loader the object was loaded from.
- initDiagnostics() - Static method in class org.apache.commons.logging.LogFactory
-
Tests 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. - isClassAvailable(String, ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
- isClassForName(String) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.
- 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.Log4jApiLogFactory.Log4j2Log
- 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.NoOpLog
-
Debug is never enabled.
- isDebugEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether debug messages are enabled.
- isDebugEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- isDebugEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.
- isEnabled(Level) - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory.Log4j2Log
- 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.Log4jApiLogFactory.Log4j2Log
- 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.NoOpLog
-
Error is never enabled.
- isErrorEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether error messages are enabled.
- isErrorEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- isErrorEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- isErrorEnabled() - Method in interface org.apache.commons.logging.Log
-
Is error logging currently 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.Log4jApiLogFactory.Log4j2Log
- 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.NoOpLog
-
Fatal is never enabled.
- isFatalEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether fatal messages are enabled.
- isFatalEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- isFatalEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- isFatalEnabled() - Method in interface org.apache.commons.logging.Log
-
Is fatal logging currently 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.Log4jApiLogFactory.Log4j2Log
- 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.NoOpLog
-
Info is never enabled.
- isInfoEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether info messages are enabled.
- isInfoEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- isInfoEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.
- 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.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.Log4jApiLogFactory.Log4j2Log
- 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.NoOpLog
-
Trace is never enabled.
- isTraceEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether trace messages are enabled.
- isTraceEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- isTraceEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- isTraceEnabled() - Method in interface org.apache.commons.logging.Log
-
Is trace logging currently 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.Log4jApiLogFactory.Log4j2Log
- 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.NoOpLog
-
Warn is never enabled.
- isWarnEnabled() - Method in class org.apache.commons.logging.impl.SimpleLog
-
Tests whether warn messages are enabled.
- isWarnEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- isWarnEnabled() - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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
- key - Variable in class org.apache.commons.logging.impl.WeakHashtable.Entry
-
Deprecated.
- 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(int, Object, Throwable) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- log(Level, String, Throwable) - Method in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.
- 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.
- LOG4J_TO_SLF4J_BRIDGE - Static variable in class org.apache.commons.logging.LogFactory
- Log4j2Log(ExtendedLogger) - Constructor for class org.apache.commons.logging.impl.Log4jApiLogFactory.Log4j2Log
- 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.
- Log4jApiLogFactory.Log4j2Log - Class in org.apache.commons.logging.impl
- Log4jApiLogFactory.LogAdapter - Class in org.apache.commons.logging.impl
- 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.
- LogAdapter() - Constructor for class org.apache.commons.logging.impl.Log4jApiLogFactory.LogAdapter
- logClassLoaderEnvironment(Class<?>) - Static method in class org.apache.commons.logging.LogFactory
-
Generates useful diagnostics regarding the class loader 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 Class 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 class org.apache.commons.logging.LogConfigurationException
-
Constructs a new exception with
null
as its detail message. - LogConfigurationException(String) - Constructor for exception class org.apache.commons.logging.LogConfigurationException
-
Constructs a new exception with the specified detail message.
- LogConfigurationException(String, Throwable) - Constructor for exception class org.apache.commons.logging.LogConfigurationException
-
Constructs a new exception with the specified detail message and cause.
- LogConfigurationException(Throwable) - Constructor for exception class 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).
- logDiagnostic(String) - Static method in class org.apache.commons.logging.LogFactory
-
Writes the specified message to the internal logging destination.
- logDiagnostic(Supplier<String>) - Static method in class org.apache.commons.logging.LogFactory
-
Writes the specified message to the internal logging destination.
- logDiagnosticDirect(String) - Static method in class org.apache.commons.logging.LogFactory
- 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.Log4jApiLogFactory.Log4j2Log
- logger - Variable in class org.apache.commons.logging.impl.Log4JLogger
-
Deprecated.Log to this logger
- logger - Variable in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- logger - Variable in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- loggers - Variable in class org.apache.commons.logging.impl.Slf4jLogFactory
-
Caches Log instances.
- 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 class loader and it's hierarchy.
- logIfEnabled(Level, Object, Throwable) - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory.Log4j2Log
- logImplctor - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Constructor for current log class
- 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 - 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. - MARKER - Static variable in class org.apache.commons.logging.impl.Log4jApiLogFactory
-
Marker used by all messages coming from Apache Commons Logging.
- MARKER - Static variable in class org.apache.commons.logging.impl.Slf4jLogFactory
-
Marker used by all messages coming from Apache Commons Logging.
- MAX_BROKEN_SERVICES - Static variable in class org.apache.commons.logging.LogFactory
-
Maximum number of
ServiceLoader
errors to ignore, while looking for an implementation. - MAX_CHANGES_BEFORE_PURGE - Static variable in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.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
-
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.Log4JLogger
-
Deprecated.Logger name
- 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. - newLogger(String, LoggerContext) - Method in class org.apache.commons.logging.impl.Log4jApiLogFactory.LogAdapter
- newStandardFactory(ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Tries to load one of the standard three implementations from the given classloader.
- 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.
- Overview - Search tag in package org.apache.commons.logging
- Section
P
- PARTIAL_PURGE_COUNT - Static variable in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.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 configuration file used to specify the priority of that particular configuration file. - purge() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.Purges all entries whose wrapped keys have been garbage collected.
- purgeOne() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.Purges one entry whose wrapped key has been garbage collected.
- 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.
Q
- queue - Variable in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.ReferenceQueue we check for GC'd keys.
- Quick Start Guide - Search tag in package org.apache.commons.logging
- Section
R
- reference - Variable in class org.apache.commons.logging.impl.WeakHashtable.Referenced
-
Deprecated.
- referenced - Variable in class org.apache.commons.logging.impl.WeakHashtable.WeakKey
-
Deprecated.
- Referenced(Object) - Constructor for class org.apache.commons.logging.impl.WeakHashtable.Referenced
-
Deprecated.
- Referenced(Object, ReferenceQueue) - Constructor for class org.apache.commons.logging.impl.WeakHashtable.Referenced
-
Deprecated.
- 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. - 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
-
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
- serialVersionUID - Static variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.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
-
Deprecated.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
-
Deprecated.Serializable version identifier.
- serialVersionUID - Static variable in exception class org.apache.commons.logging.LogConfigurationException
-
Serializable version identifier.
- 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.
- 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.
- setValue(Object) - Method in class org.apache.commons.logging.impl.WeakHashtable.Entry
-
Deprecated.
- 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
-
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.
- Slf4jLocationAwareLog(LocationAwareLogger) - Constructor for class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- Slf4jLog(Logger) - Constructor for class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.
- Slf4jLogFactory.Slf4jLocationAwareLog - Class in org.apache.commons.logging.impl
- Slf4jLogFactory.Slf4jLog - Class in org.apache.commons.logging.impl
- sourceClassName - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Source class name.
- sourceMethodName - Variable in class org.apache.commons.logging.impl.Jdk13LumberjackLogger
-
Deprecated.Source method name.
- 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. - The Default LogFactory Implementation - Search tag in package org.apache.commons.logging
- Section
- thisClassLoaderRef - Static variable in class org.apache.commons.logging.LogFactory
-
A reference to the class loader that loaded this class.
- toString() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
- 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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- trace(Object) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- trace(Object, Throwable) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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
-
Deprecated.
- trim(String) - Static method in class org.apache.commons.logging.impl.LogFactoryImpl
-
Utility method to safely trim a string.
- trim(String) - Static method in class org.apache.commons.logging.LogFactory
-
Trims the given string in a null-safe manner.
U
- useTCCL - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
Determines whether logging classes should be loaded using the thread-context class loader, or via the class loader that loaded this LogFactoryImpl class.
- Using the Logging Package APIs - Search tag in package org.apache.commons.logging
- Section
V
- value - Variable in class org.apache.commons.logging.impl.WeakHashtable.Entry
-
Deprecated.
- values() - Method in class org.apache.commons.logging.impl.WeakHashtable
-
Deprecated.
W
- 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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- warn(Object) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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.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.Log4jApiLogFactory.Log4j2Log
- 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.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 class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLocationAwareLog
- warn(Object, Throwable) - Method in class org.apache.commons.logging.impl.Slf4jLogFactory.Slf4jLog
- 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 hash table implementation by names.
- 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.
- WeakHashtable.Entry - Class in org.apache.commons.logging.impl
-
Deprecated.Entry implementation
- WeakHashtable.Referenced - Class in org.apache.commons.logging.impl
-
Deprecated.Wrapper giving correct symantics for equals and hash code
- WeakHashtable.WeakKey - Class in org.apache.commons.logging.impl
-
Deprecated.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
-
Deprecated.
- write(Object) - 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. - 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
Throwable.getCause()
.