| Package | Description |
|---|---|
| org.apache.commons.logging | |
| org.apache.commons.logging.impl |
| Modifier and Type | Method and Description |
|---|---|
protected static ClassLoader |
LogFactory.directGetContextClassLoader() |
protected static ClassLoader |
LogFactory.getContextClassLoader() |
static LogFactory |
LogFactory.getFactory() |
static AndroidLogFactory |
AndroidLogFactory.getFactory()
Construct (if necessary) and return a
AndroidLogFactory instance, using the following ordered lookup procedure to determine the
name of the implementation class to be loaded. |
abstract Log |
LogFactory.getInstance(Class clazz) |
abstract Log |
AndroidLogFactory.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) |
abstract Log |
AndroidLogFactory.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) |
static Log |
AndroidLogFactory.getLog(Class<?> clazz)
Convenience method to return a named logger, without the application having to care about factories.
|
static Log |
LogFactory.getLog(String name) |
static Log |
AndroidLogFactory.getLog(String name)
Convenience method to return a named logger, without the application having to care about factories.
|
protected static AndroidLogFactory |
AndroidLogFactory.newFactory(String factoryClass,
ClassLoader classLoader)
Return a new instance of the specified
AndroidLogFactory implementation class, loaded by the specified class loader. |
protected static LogFactory |
LogFactory.newFactory(String factoryClass,
ClassLoader classLoader,
ClassLoader contextClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected static ClassLoader |
LogFactoryImpl.getContextClassLoader() |
Log |
AndroidLoggerFactory.getInstance(Class clazz)
Convenience method to derive a name from the specified class and call
getInstance(String) with it. |
Log |
LogFactoryImpl.getInstance(Class clazz) |
AndroidLog |
AndroidLogFactoryImpl.getInstance(Class<?> clazz)
Convenience method to derive a name from the specified class and call
getInstance(String) with it. |
Log |
AndroidLoggerFactory.getInstance(String name)
Construct (if necessary) and return a
Log instance, using the factory's current set of configuration attributes. |
Log |
LogFactoryImpl.getInstance(String name) |
AndroidLog |
AndroidLogFactoryImpl.getInstance(String name)
Construct (if necessary) and return a
AndroidLog instance, using the factory's current set of configuration attributes. |
protected Constructor |
LogFactoryImpl.getLogConstructor()
Deprecated.
|
protected Log |
LogFactoryImpl.newInstance(String name) |
protected AndroidLog |
AndroidLogFactoryImpl.newInstance(String name)
Create and return a new
AndroidLog instance for the specified name. |
Copyright © 2014. All rights reserved.