Package | Description |
---|---|
org.apache.commons.logging |
Spring's variant of the
Commons Logging API:
with special support for Log4J 2, SLF4J and
java.util.logging . |
org.apache.commons.logging.impl |
Spring's variant of the
Commons Logging API:
with special support for Log4J 2, SLF4J and
java.util.logging . |
Modifier and Type | Method and Description |
---|---|
Log |
LogFactory.getInstance(Class<?> clazz)
Deprecated.
in favor of
LogFactory.getLog(Class) |
Log |
LogFactory.getInstance(String name)
Deprecated.
in favor of
LogFactory.getLog(String) |
static Log |
LogFactory.getLog(Class<?> clazz)
Convenience method to return a named logger.
|
static Log |
LogFactory.getLog(String name)
Convenience method to return a named logger.
|
Modifier and Type | Class and Description |
---|---|
class |
NoOpLog
Trivial implementation of
Log that throws away all messages. |
class |
SimpleLog
Deprecated.
in
spring-jcl (effectively equivalent to NoOpLog ) |