Package | Description |
---|---|
org.apache.commons.logging |
Jakarta Commons Logging implemented over SLF4J.
|
org.apache.commons.logging.impl |
SLF4J based implementation of commons-logging wrapper APIs.
|
Modifier and Type | Method and Description |
---|---|
protected static java.lang.ClassLoader |
LogFactory.getContextClassLoader()
This method exists to ensure signature compatibility.
|
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(java.lang.Class clazz)
Convenience method to derive a name from the specified class and call
getInstance(String) with it. |
abstract Log |
LogFactory.getInstance(java.lang.String name)
Construct (if necessary) and return a
Log instance, using
the factory's current set of configuration attributes. |
static Log |
LogFactory.getLog(java.lang.Class clazz)
Convenience method to return a named logger, without the application having
to care about factories.
|
static Log |
LogFactory.getLog(java.lang.String name)
Convenience method to return a named logger, without the application having
to care about factories.
|
Modifier and Type | Method and Description |
---|---|
Log |
SLF4JLogFactory.getInstance(java.lang.Class clazz)
Convenience method to derive a name from the specified class and call
getInstance(String) with it. |
Log |
SLF4JLogFactory.getInstance(java.lang.String name)
Construct (if necessary) and return a
Log instance, using
the factory's current set of configuration attributes. |