Uses of Interface
org.apache.commons.logging.Log
-
Packages that use Log 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. -
-
Uses of Log in org.apache.commons.logging
Methods in org.apache.commons.logging that return Log Modifier and Type Method Description abstract Log
LogFactory. getInstance(java.lang.Class clazz)
Convenience method to derive a name from the specified class and callgetInstance(String)
with it.abstract Log
LogFactory. getInstance(java.lang.String name)
Construct (if necessary) and return aLog
instance, using the factory's current set of configuration attributes.static Log
LogSource. getInstance(java.lang.Class clazz)
Deprecated.Get aLog
instance by class.static Log
LogSource. getInstance(java.lang.String name)
Deprecated.Get aLog
instance by class name.static Log
LogFactory. getLog(java.lang.Class clazz)
Convenience method to return a named logger, without the application having to care about factories.static Log
LogFactory. getLog(java.lang.String name)
Convenience method to return a named logger, without the application having to care about factories.static Log
LogSource. makeNewLogInstance(java.lang.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 Log Modifier and Type Class Description class
Jdk13LumberjackLogger
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
Jdk14Logger
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
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.Methods in org.apache.commons.logging.impl that return Log Modifier and Type Method Description private Log
LogFactoryImpl. createLogFromClass(java.lang.String logAdapterClassName, java.lang.String logCategory, boolean affectState)
Attempts to load the given class, find a suitable constructor, and instantiate an instance of Log.private Log
LogFactoryImpl. discoverLogImplementation(java.lang.String logCategory)
Attempts to create a Log instance for the given category name.Log
LogFactoryImpl. getInstance(java.lang.Class clazz)
Convenience method to derive a name from the specified class and callgetInstance(String)
with it.Log
LogFactoryImpl. getInstance(java.lang.String name)
Construct (if necessary) and return aLog
instance, using the factory's current set of configuration attributes.protected Log
LogFactoryImpl. newInstance(java.lang.String name)
Create and return a newLog
instance for the specified name.
-