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. logsDeprecated.Logs.Methods in org.apache.commons.logging that return Log Modifier and Type Method Description abstract LogLogFactory. getInstance(java.lang.Class<?> clazz)Gets a Log for the given class.abstract LogLogFactory. getInstance(java.lang.String name)Gets a (possibly new)Loginstance, using the factory's current set of configuration attributes.static LogLogSource. getInstance(java.lang.Class<?> clazz)Deprecated.Gets aLoginstance by class.static LogLogSource. getInstance(java.lang.String name)Deprecated.Gets aLoginstance by class name.static LogLogFactory. getLog(java.lang.Class<?> clazz)Gets a named logger, without the application having to care about factories.static LogLogFactory. getLog(java.lang.String name)Gets a named logger, without the application having to care about factories.static LogLogSource. makeNewLogInstance(java.lang.String name)Deprecated.Create a newLogimplementation, 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 classAvalonLoggerDeprecated.Scheduled for removal because the Apache Avalon Project has been discontinued.classJdk13LumberjackLoggerDeprecated.Scheduled for removal because the Lumberjack Project has been discontinued.classJdk14LoggerImplements theorg.apache.commons.logging.Loginterface to wrap the standard JDK logging mechanisms that were introduced in the Merlin release (JDK 1.4).private static classLog4jApiLogFactory.Log4j2LogclassLog4JLoggerDeprecated.Scheduled for removal since version 1.x of Log4j has reached end-of-life.classLogKitLoggerDeprecated.Scheduled for removal because the Apache Avalon Project has been discontinued.classNoOpLogTrivial implementation of Log that throws away all messages.classSimpleLogSimple implementation of Log that sends all enabled log messages, for all defined loggers, to System.err.private static classSlf4jLogFactory.Slf4jLocationAwareLogprivate static classSlf4jLogFactory.Slf4jLogFields 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. adapterCaches Log instancesprotected java.util.Hashtable<java.lang.String,Log>LogFactoryImpl. instancesTheLoginstances that have already been created, keyed by logger name.private java.util.concurrent.ConcurrentMap<java.lang.String,Log>Slf4jLogFactory. loggersCaches Log instances.Methods in org.apache.commons.logging.impl that return Log Modifier and Type Method Description private LogLogFactoryImpl. 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 LogLogFactoryImpl. discoverLogImplementation(java.lang.String logCategory)Attempts to create a Log instance for the given category name.LogLog4jApiLogFactory. getInstance(java.lang.Class<?> clazz)LogLog4jApiLogFactory. getInstance(java.lang.String name)LogLogFactoryImpl. getInstance(java.lang.Class<?> clazz)Convenience method to derive a name from the specified class and callgetInstance(String)with it.LogLogFactoryImpl. getInstance(java.lang.String name)Construct (if necessary) and return aLoginstance, using the factory's current set of configuration attributes.LogSlf4jLogFactory. getInstance(java.lang.Class<?> clazz)LogSlf4jLogFactory. getInstance(java.lang.String name)protected LogLogFactoryImpl. newInstance(java.lang.String name)Create and return a newLoginstance for the specified name.protected LogLog4jApiLogFactory.LogAdapter. newLogger(java.lang.String name, org.apache.logging.log4j.spi.LoggerContext context)
-