Uses of Interface
org.apache.commons.logging.Log
Package
Description
Simple wrapper API around multiple logging APIs.
Concrete implementations of commons-logging wrapper APIs.
-
Uses of Log in org.apache.commons.logging
Modifier and TypeMethodDescriptionabstract Log
LogFactory.getInstance
(Class<?> clazz) Gets a Log for the given class.abstract Log
LogFactory.getInstance
(String name) Gets a (possibly new)Log
instance, using the factory's current set of configuration attributes.static Log
LogSource.getInstance
(Class<?> clazz) Deprecated.Gets aLog
instance by class.static Log
LogSource.getInstance
(String name) Deprecated.Gets aLog
instance by class name.static Log
Gets a named logger, without the application having to care about factories.static Log
Gets a named logger, without the application having to care about factories.static Log
LogSource.makeNewLogInstance
(String name) Deprecated.Create a newLog
implementation, based on the given name. -
Uses of Log in org.apache.commons.logging.impl
Modifier and TypeClassDescriptionclass
Deprecated.Scheduled for removal because the Apache Avalon Project has been discontinued.class
Deprecated.Scheduled for removal because the Lumberjack Project has been discontinued.class
Implements theorg.apache.commons.logging.Log
interface to wrap the standard JDK logging mechanisms that were introduced in the Merlin release (JDK 1.4).class
Deprecated.Scheduled for removal since version 1.x of Log4j has reached end-of-life.class
Deprecated.Scheduled for removal because the Apache Avalon Project has been discontinued.class
Trivial implementation of Log that throws away all messages.class
Simple implementation of Log that sends all enabled log messages, for all defined loggers, to System.err.Modifier and TypeFieldDescriptionLogFactoryImpl.instances
TheLog
instances that have already been created, keyed by logger name.Modifier and TypeMethodDescriptionLog4jApiLogFactory.getInstance
(Class<?> clazz) Log4jApiLogFactory.getInstance
(String name) LogFactoryImpl.getInstance
(Class<?> clazz) Convenience method to derive a name from the specified class and callgetInstance(String)
with it.LogFactoryImpl.getInstance
(String name) Construct (if necessary) and return aLog
instance, using the factory's current set of configuration attributes.Slf4jLogFactory.getInstance
(Class<?> clazz) Slf4jLogFactory.getInstance
(String name) protected Log
LogFactoryImpl.newInstance
(String name) Create and return a newLog
instance for the specified name.