Package | Description |
---|---|
org.apache.commons.logging |
Simple wrapper API around multiple logging APIs.
|
org.apache.commons.logging.impl |
Concrete implementations 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. |
static Log |
LogSource.getInstance(Class clazz)
Deprecated.
Get a
Log instance by class. |
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 |
LogSource.getInstance(String name)
Deprecated.
Get a
Log instance by class name. |
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.
|
static Log |
LogSource.makeNewLogInstance(String name)
Deprecated.
Create a new
Log implementation, based on the given name. |
Modifier and Type | Class and Description |
---|---|
class |
AvalonLogger
Implementation of commons-logging Log interface that delegates all
logging calls to the Avalon logging abstraction: the Logger interface.
|
class |
Jdk13LumberjackLogger
Implementation of the
org.apache.commons.logging.Log
interface that wraps the standard JDK logging mechanisms that are
available in SourceForge's Lumberjack for JDKs prior to 1.4. |
class |
Jdk14Logger
Implementation of the
org.apache.commons.logging.Log
interface that wraps the standard JDK logging mechanisms that were
introduced in the Merlin release (JDK 1.4). |
class |
Log4JLogger
Implementation of
Log that maps directly to a
Logger for log4J version 1.2. |
class |
LogKitLogger
Implementation of
org.apache.commons.logging.Log
that wraps the avalon-logkit
logging system. |
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.
|
Modifier and Type | Method and Description |
---|---|
Log |
LogFactoryImpl.getInstance(Class clazz)
Convenience method to derive a name from the specified class and
call
getInstance(String) with it. |
Log |
LogFactoryImpl.getInstance(String name)
Construct (if necessary) and return a
Log instance,
using the factory's current set of configuration attributes. |
protected Log |
LogFactoryImpl.newInstance(String name)
Create and return a new
Log
instance for the specified name. |
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.