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 |
---|---|
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.
|
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 | Method and Description |
---|---|
Log |
SLF4JLogFactory.getInstance(Class clazz)
Convenience method to derive a name from the specified class and call
getInstance(String) with it. |
Log |
SLF4JLogFactory.getInstance(String name)
Construct (if necessary) and return a
Log instance, using
the factory's current set of configuration attributes. |
Copyright © 2005–2015 QOS.ch. All rights reserved.