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
Fields in org.apache.commons.logging with type parameters of type Log Modifier and Type Field Description protected static java.util.Hashtable<java.lang.String,Log>
LogSource. logs
Deprecated.Logs.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)
Constructs (if necessary) and return aLog
instance, using the factory's current set of configuration attributes.static Log
LogSource. getInstance(java.lang.Class<?> clazz)
Deprecated.Gets aLog
instance by class.static Log
LogSource. getInstance(java.lang.String name)
Deprecated.Gets 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
Deprecated.Scheduled for removal because the Lumberjack Project has been discontinued.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).private static class
Log4jApiLogFactory.Log4j2Log
class
Log4JLogger
Deprecated.Scheduled for removal since version 1.x of Log4j has reached end-of-life.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.private static class
Slf4jLogFactory.Slf4jLocationAwareLog
private static class
Slf4jLogFactory.Slf4jLog
Fields in org.apache.commons.logging.impl with type parameters of type Log Modifier and Type Field Description private org.apache.logging.log4j.spi.LoggerAdapter<Log>
Log4jApiLogFactory. adapter
Caches Log instancesprotected java.util.Hashtable<java.lang.String,Log>
LogFactoryImpl. instances
TheLog
instances that have already been created, keyed by logger name.private java.util.concurrent.ConcurrentMap<java.lang.String,Log>
Slf4jLogFactory. loggers
Caches Log instances.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
Log4jApiLogFactory. getInstance(java.lang.Class<?> clazz)
Log
Log4jApiLogFactory. getInstance(java.lang.String 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.Log
Slf4jLogFactory. getInstance(java.lang.Class<?> clazz)
Log
Slf4jLogFactory. getInstance(java.lang.String name)
protected Log
LogFactoryImpl. newInstance(java.lang.String name)
Create and return a newLog
instance for the specified name.protected Log
Log4jApiLogFactory.LogAdapter. newLogger(java.lang.String name, org.apache.logging.log4j.spi.LoggerContext context)
-