- 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
-
Logs a message with java.util.logging.Level.FINE
.
- debug(Object, Throwable) - 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, Throwable) - 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, Throwable) - 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.NoOpLog
-
Do nothing
- debug(Object, Throwable) - 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, 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) - 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.
- 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.
- 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.
- factories - Static variable in class org.apache.commons.logging.LogFactory
-
The previously constructed LogFactory
instances, keyed by
the ClassLoader
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.Jdk13LumberjackLogger
-
Logs a message with java.util.logging.Level.SEVERE
.
- fatal(Object, Throwable) - 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, Throwable) - 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, Throwable) - 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.NoOpLog
-
Do nothing
- fatal(Object, Throwable) - 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, 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) - 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.
- findUserSpecifiedLogClassName() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
- FQCN - Static variable in class org.apache.commons.logging.impl.Log4JLogger
-
The fully qualified name of the Log4JLogger class.
- 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(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(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(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.
- getInstance(Class) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.
Get a Log
instance by class.
- 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
-
- getLogConstructor() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
- 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.
- 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(String) - Static method in class org.apache.commons.logging.impl.SimpleLog
-
- 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.
- 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
-
- 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
-
Logs a message with java.util.logging.Level.INFO
.
- info(Object, Throwable) - 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, Throwable) - 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, Throwable) - 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.NoOpLog
-
Do nothing
- info(Object, Throwable) - 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, 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) - 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.
- 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.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.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.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.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.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.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.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.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
-
- isJdk14Available() - Method in class org.apache.commons.logging.impl.LogFactoryImpl
-
- 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
-
- 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
-
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.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.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.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?
- 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(int, Object, Throwable) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Do the actual logging.
- 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)
- 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.
- 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 our
Log
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.
- 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
or Log
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(Throwable) - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Construct a new exception with the specified cause and a derived
detail message.
- LogConfigurationException(String, Throwable) - Constructor for exception org.apache.commons.logging.LogConfigurationException
-
Construct a new exception with the specified detail message and cause.
- 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 named
org.apache.commons.logging.Log
to identify the
requested implementation class.
Use the
org.apache.commons.logging.Log
system property
to identify the requested implementation class.
If
Log4J is available, return an instance of
org.apache.commons.logging.impl.Log4JLogger
.
If
JDK 1.4 or later is available, return an instance of
org.apache.commons.logging.impl.Jdk14Logger
.
Otherwise, return an instance of
org.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
-
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
- 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
- logMethod - Variable in class org.apache.commons.logging.impl.LogFactoryImpl
-
The one-argument
setLogFactory
method of the selected
Log
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
-
- LogSource() - Constructor for class org.apache.commons.logging.LogSource
-
Deprecated.
Don't allow others to create instances.
- 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.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
-
- 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.
- setLevel(int) - Method in class org.apache.commons.logging.impl.SimpleLog
-
Set logging level.
- 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.
- setLogImplementation(Class) - Static method in class org.apache.commons.logging.LogSource
-
Deprecated.
Set the log implementation/log implementation factory by 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
- 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.Jdk13LumberjackLogger
-
Logs a message with java.util.logging.Level.FINEST
.
- trace(Object, Throwable) - 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, Throwable) - 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, Throwable) - 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.NoOpLog
-
Do nothing
- trace(Object, Throwable) - 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, 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) - 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.
- 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.
- warn(Object) - 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.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, Throwable) - 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, Throwable) - 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.NoOpLog
-
Do nothing
- warn(Object, Throwable) - 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, 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) - 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.
- 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 uses WeakReference
'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.