Uses of Interface
org.apache.commons.logging.Log
Packages that use 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
Methods in org.apache.commons.logging that return LogModifier and TypeMethodDescriptionabstract Log
LogFactory.getInstance
(Class clazz) Convenience method to derive a name from the specified class and callgetInstance(String)
with it.abstract Log
LogFactory.getInstance
(String name) Construct (if necessary) and return aLog
instance, using the factory's current set of configuration attributes.static Log
LogSource.getInstance
(Class clazz) Deprecated.Get aLog
instance by class.static Log
LogSource.getInstance
(String name) Deprecated.Get aLog
instance by class name.static Log
Convenience method to return a named logger, without the application having to care about factories.static Log
Convenience method to return 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
Classes in org.apache.commons.logging.impl that implement LogModifier and TypeClassDescriptionclass
Implementation of theorg.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
Implementation of theorg.apache.commons.logging.Log
interface that wraps the standard JDK logging mechanisms that were introduced in the Merlin release (JDK 1.4).class
Implementation ofLog
that maps directly to a Logger for log4J version 1.2.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.Methods in org.apache.commons.logging.impl that return LogModifier and TypeMethodDescriptionprivate Log
LogFactoryImpl.createLogFromClass
(String logAdapterClassName, String logCategory, boolean affectState) Attempts to load the given class, find a suitable constructor, and instantiate an instance of Log.private Log
LogFactoryImpl.discoverLogImplementation
(String logCategory) Attempts to create a Log instance for the given category 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.protected Log
LogFactoryImpl.newInstance
(String name) Create and return a newLog
instance for the specified name.