Class Log4JFactory

  • All Implemented Interfaces:
    IBase

    public final class Log4JFactory
    extends LogFactory

    Concrete subclass of LogFactory specific to log4j.

    Author:
    Costin Manolache
    • Constructor Detail

      • Log4JFactory

        public Log4JFactory()
    • Method Detail

      • createInstance

        public LogEngine createInstance​(String name)
        Convenience method to derive a name from the specified class and call getInstance(String) with it.
        Specified by:
        createInstance in class LogFactory
        Parameters:
        name - Class for which a suitable Log name will be derived
        Returns:
        the log engine
        Throws:
        org.apache.commons.logging.LogConfigurationException - if a suitable Log instance cannot be returned