org.modeshape.common.logging.log4j

## Class Log4jLoggerFactory

- java.lang.Object
- - org.modeshape.common.logging.LogFactory
  - - org.modeshape.common.logging.log4j.Log4jLoggerFactory

-     public final class Log4jLoggerFactory
      extends LogFactory

  A `LogFactory` extension which creates a `Log4jLoggerImpl` instance to use for logging

- - ### Field Summary

    - ### Fields inherited from class org.modeshape.common.logging.LogFactory

      `CUSTOM_LOG_FACTORY_CLASSNAME`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Log4jLoggerFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected Logger` | `getLogger(String name)` Return a logger named according to the name parameter.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Log4jLoggerFactory

          public Log4jLoggerFactory()

  - ### Method Detail

    - #### getLogger

          protected Logger getLogger(String name)

      Description copied from class: `LogFactory`
      Return a logger named according to the name parameter.
      Specified by:
        `getLogger` in class `LogFactory`
      Parameters:
        `name` - The name of the logger.
      Returns:
        logger

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.