ModeShape Distribution 3.0.0.Beta4

org.modeshape.common.logging.log4j
Class Log4jLoggerFactory

java.lang.Object
  extended by org.modeshape.common.logging.LogFactory
      extended by 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
Log4jLoggerFactory()
           
 
Method Summary
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

ModeShape Distribution 3.0.0.Beta4

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