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.
|
org.slf4j.impl |
Implementations of core logging interfaces defined in the
org.slf4j package. |
Modifier and Type | Method and Description |
---|---|
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 | Class and Description |
---|---|
class |
NoOpLog
Trivial implementation of Log that throws away all messages.
|
class |
SimpleLog
Simple implementation of Log that sends all enabled log messages, for all
defined loggers, to System.err.
|
class |
SLF4JLocationAwareLog
Implementation of
org.apache.commons.logging.Log interface which
delegates all processing to a wrapped org.slf4j.Logger
instance. |
class |
SLF4JLog
Implementation of
org.apache.commons.logging.Log interface which
delegates all processing to a wrapped org.slf4j.Logger
instance. |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.concurrent.ConcurrentMap<java.lang.String,Log> |
SLF4JLogFactory.loggerMap
The
Log instances that have already been
created, keyed by logger name. |
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. |
Modifier and Type | Field and Description |
---|---|
(package private) Log |
JCLLoggerAdapter.log |
Constructor and Description |
---|
JCLLoggerAdapter(Log log,
java.lang.String name) |