org.modeshape.common.util.log
Class JdkLoggerFactory
java.lang.Object
org.modeshape.common.util.log.LogFactory
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdkLoggerFactory
public JdkLoggerFactory()
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.