C D E F G H I J L M N O P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- cause - Variable in exception org.apache.commons.logging.LogConfigurationException
-
The underlying cause of this exception.
- createFactory(String, ClassLoader) - Static method in class org.apache.commons.logging.LogFactory
-
Implements the operations described in the javadoc for newFactory.
D
- debug(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with debug log level.
- debug(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with debug log level.
- 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. - directGetContextClassLoader() - Static method in class org.apache.commons.logging.LogFactory
-
Return the thread context class loader if available; otherwise return null.
E
- error(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with error log level.
- 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 interface org.apache.commons.logging.Log
-
Logs a message with fatal log level.
- fatal(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with fatal log level.
G
- 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.LogFactory
-
Return an array containing the names of all currently defined configuration attributes.
- getCause() - Method in exception org.apache.commons.logging.LogConfigurationException
-
Return the underlying cause of this exception (if any).
- getClassLoader(Class) - Static method in class org.apache.commons.logging.LogFactory
-
Safely get access to the classloader for the specified class.
- getContextClassLoader() - Static method in class org.apache.commons.logging.LogFactory
-
Returns the current context classloader.
- 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.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.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. - 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.
- getLogNames() - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Returns a
String
array containing the names of all logs known to me.
H
- handleThrowable(Throwable) - Static method in class org.apache.commons.logging.LogFactory
-
Checks whether the supplied Throwable is one that needs to be re-thrown and ignores all others.
- HASHTABLE_IMPLEMENTATION_PROPERTY - Static variable in class org.apache.commons.logging.LogFactory
-
Setting this system property (
org.apache.commons.logging.LogFactory.HashtableImpl
) value allows theHashtable
used to store classloaders to be substituted by an alternative implementation.
I
- info(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with info log level.
- info(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with info log level.
- isDebugEnabled() - Method in interface org.apache.commons.logging.Log
-
Is debug logging currently enabled?
- isDiagnosticsEnabled() - Static method in class org.apache.commons.logging.LogFactory
-
Indicates true if the user has enabled internal logging.
- isErrorEnabled() - Method in interface org.apache.commons.logging.Log
-
Is error logging currently enabled?
- isFatalEnabled() - Method in interface org.apache.commons.logging.Log
-
Is fatal logging currently enabled?
- isInfoEnabled() - Method in interface org.apache.commons.logging.Log
-
Is info logging currently enabled?
- isTraceEnabled() - Method in interface org.apache.commons.logging.Log
-
Is trace logging currently enabled?
- isWarnEnabled() - Method in interface org.apache.commons.logging.Log
-
Is warn logging currently enabled?
J
- jdk14IsAvailable - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Is JDK 1.4 logging available
L
- Log - Interface in org.apache.commons.logging
-
A simple logging interface abstracting logging APIs.
- log4jIsAvailable - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Is log4j available (in the current classpath)
- 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.
- 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.
- logImplctor - Static variable in class org.apache.commons.logging.LogSource
-
Deprecated.Constructor for current log class
- 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
M
- makeNewLogInstance(String) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.Create a new
Log
implementation, based on the given name.
N
- 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. - 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 - module org.apache.commons.logging
- org.apache.commons.logging - package org.apache.commons.logging
-
Simple wrapper API around multiple logging APIs.
P
- 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.
R
- 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. - 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. - removeAttribute(String) - Method in class org.apache.commons.logging.LogFactory
-
Remove any configuration attribute associated with the specified name.
S
- SERVICE_ID - Static variable in class org.apache.commons.logging.LogFactory
-
JDK1.3+ 'Service Provider' specification.
- setAttribute(String, Object) - Method in class org.apache.commons.logging.LogFactory
-
Set the configuration attribute with the specified name.
- 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.
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. - trace(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with trace log level.
- trace(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with trace log level.
W
- warn(Object) - Method in interface org.apache.commons.logging.Log
-
Logs a message with warn log level.
- warn(Object, Throwable) - Method in interface org.apache.commons.logging.Log
-
Logs an error with warn log level.
All Classes All Packages