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 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)
    Construct (if necessary) and return a Log instance, using the factory's current set of configuration attributes.
    static Log
    LogSource.getInstance(Class clazz)
    Deprecated.
    Get a Log instance by class.
    static Log
    LogSource.getInstance(String name)
    Deprecated.
    Get 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 
    Implementation of the org.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 the org.apache.commons.logging.Log interface that wraps the standard JDK logging mechanisms that were introduced in the Merlin release (JDK 1.4).
    class 
    Implementation of Log 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 Log
    Modifier and Type
    Method
    Description
    private 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 call getInstance(String) with it.
    LogFactoryImpl.getInstance(String name)
    Construct (if necessary) and return a Log instance, using the factory's current set of configuration attributes.
    protected Log
    LogFactoryImpl.newInstance(String name)
    Create and return a new Log instance for the specified name.