Package | Description |
---|---|
org.apache.commons.logging |
Simple wrapper API around multiple logging APIs.
|
org.apache.commons.logging.impl |
Concrete implementations of commons-logging wrapper APIs.
|
Modifier and Type | Method and Description |
---|---|
protected static ClassLoader |
LogFactory.directGetContextClassLoader()
Return the thread context class loader if available; otherwise return null.
|
protected static ClassLoader |
LogFactory.getContextClassLoader()
Returns the current context classloader.
|
static LogFactory |
LogFactory.getFactory()
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. |
abstract Log |
LogFactory.getInstance(Class clazz)
Convenience method to derive a name from the specified class and
call
getInstance(String) with it. |
abstract Log |
LogFactory.getInstance(String name)
Construct (if necessary) and return a
Log instance,
using the factory's current set of configuration attributes. |
static Log |
LogFactory.getLog(Class clazz)
Convenience method to return a named logger, without the application
having to care about factories.
|
static Log |
LogFactory.getLog(String name)
Convenience method to return a named logger, without the application
having to care about factories.
|
protected static LogFactory |
LogFactory.newFactory(String factoryClass,
ClassLoader classLoader,
ClassLoader contextClassLoader)
Return a new instance of the specified
LogFactory
implementation class, loaded by the specified class loader. |
Modifier and Type | Method and Description |
---|---|
protected static ClassLoader |
LogFactoryImpl.getContextClassLoader()
Gets the context classloader.
|
Log |
LogFactoryImpl.getInstance(Class clazz)
Convenience method to derive a name from the specified class and
call
getInstance(String) with it. |
Log |
LogFactoryImpl.getInstance(String name)
Construct (if necessary) and return a
Log instance,
using the factory's current set of configuration attributes. |
protected Constructor |
LogFactoryImpl.getLogConstructor()
Deprecated.
Never invoked by this class; subclasses should not assume
it will be.
|
protected Log |
LogFactoryImpl.newInstance(String name)
Create and return a new
Log
instance for the specified name. |
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.