Uses of Class
org.apache.commons.logging.LogFactory
Package
Description
Simple wrapper API around multiple logging APIs.
Concrete implementations of commons-logging wrapper APIs.
-
Uses of LogFactory in org.apache.commons.logging
Modifier and TypeFieldDescriptionprotected static LogFactory
LogFactory.nullClassLoaderFactory
Deprecated.since 1.1.2Modifier and TypeFieldDescriptionprotected static Hashtable<ClassLoader,
LogFactory> LogFactory.factories
The previously constructedLogFactory
instances, keyed by theClassLoader
with which it was created.Modifier and TypeMethodDescriptionstatic LogFactory
LogFactory.getFactory()
Constructs (if necessary) and return aLogFactory
instance, using the following ordered lookup procedure to determine the name of the implementation class to be loaded.protected static LogFactory
LogFactory.newFactory
(String factoryClass, ClassLoader classLoader) Method provided for backwards compatibility; see newFactory version that takes 3 parameters.protected static LogFactory
LogFactory.newFactory
(String factoryClass, ClassLoader classLoader, ClassLoader contextClassLoader) Gets a new instance of the specifiedLogFactory
implementation class, loaded by the specified class loader. -
Uses of LogFactory in org.apache.commons.logging.impl
Modifier and TypeClassDescriptionfinal class
Logger factory hardcoded to send everything to Log4j API.class
Concrete subclass ofLogFactory
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
.final class
Logger factory hardcoded to send everything to SLF4J.