# 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 Hashtable<String,Log>`
  LogSource.`logs`
  Deprecated.
  Logs.
  Methods in org.apache.commons.logging that return Log
  Modifier and Type
  Method
  Description
  `abstract Log`
  LogFactory.`getInstance(Class<?> clazz)`
  Convenience method to derive a name from the specified class and call `getInstance(String)` with it.
  `abstract Log`
  LogFactory.`getInstance(String name)`
  Constructs (if necessary) and return a `Log` instance, using the factory's current set of configuration attributes.
  `static Log`
  LogSource.`getInstance(Class<?> clazz)`
  Deprecated.
  Gets a `Log` instance by class.
  `static Log`
  LogSource.`getInstance(String name)`
  Deprecated.
  Gets a `Log` instance by class name.
  `static Log`
  LogFactory.`getLog(Class<?> clazz)`
  Convenience method to return a named logger, without the application having to care about factories.
  `static Log`
  LogFactory.`getLog(String name)`
  Convenience method to return a named logger, without the application having to care about factories.
  `static Log`
  LogSource.`makeNewLogInstance(String name)`
  Deprecated.
  Create a new `Log` 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`
  `AvalonLogger`
  Deprecated.
  Scheduled for removal because the Apache Avalon Project has been discontinued.
  `class`
  `Jdk13LumberjackLogger`
  Deprecated.
  Scheduled for removal because the Lumberjack Project has been discontinued.
  `class`
  `Jdk14Logger`
  Implements the `org.apache.commons.logging.Log` interface to wrap the standard JDK logging mechanisms that were introduced in the Merlin release (JDK 1.4).
  `class`
  `Log4JLogger`
  Deprecated.
  Scheduled for removal since version 1.x of Log4j has reached end-of-life.
  `class`
  `LogKitLogger`
  Deprecated.
  Scheduled for removal because the Apache Avalon Project has been discontinued.
  `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.
  Fields in org.apache.commons.logging.impl with type parameters of type Log
  Modifier and Type
  Field
  Description
  `protected Hashtable<String,Log>`
  LogFactoryImpl.`instances`
  The `Log` instances that have already been created, keyed by logger name.
  Methods in org.apache.commons.logging.impl that return Log
  Modifier and Type
  Method
  Description
  `Log`
  Log4jApiLogFactory.`getInstance(Class<?> clazz)`
  `Log`
  Log4jApiLogFactory.`getInstance(String name)`
  `Log`
  LogFactoryImpl.`getInstance(Class<?> clazz)`
  Convenience method to derive a name from the specified class and call `getInstance(String)` with it.
  `Log`
  LogFactoryImpl.`getInstance(String name)`
  Construct (if necessary) and return a `Log` instance, using the factory's current set of configuration attributes.
  `Log`
  Slf4jLogFactory.`getInstance(Class<?> clazz)`
  `Log`
  Slf4jLogFactory.`getInstance(String name)`
  `protected Log`
  LogFactoryImpl.`newInstance(String name)`
  Create and return a new `Log` instance for the specified name.