org.modeshape.common.util.log
Class JdkLoggerFactory

java.lang.Object
  extended by org.modeshape.common.util.log.LogFactory
      extended by org.modeshape.common.util.log.JdkLoggerFactory

public final class JdkLoggerFactory
extends LogFactory

Factory used to create the Logger implementation that uses the JDK logging framework.


Constructor Summary
JdkLoggerFactory()
           
 
Method Summary
 Logger getLogger(Class<?> clazz)
          Return a logger named corresponding to the class passed as parameter.
 Logger getLogger(String name)
          Return a logger named according to the name parameter.
 
Methods inherited from class org.modeshape.common.util.log.LogFactory
getLogFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdkLoggerFactory

public JdkLoggerFactory()
Method Detail

getLogger

public Logger getLogger(Class<?> clazz)
Description copied from class: LogFactory
Return a logger named corresponding to the class passed as parameter.

Specified by:
getLogger in class LogFactory
Parameters:
clazz - the returned logger will be named after clazz
Returns:
logger

getLogger

public 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-2012 JBoss, a division of Red Hat. All Rights Reserved.