org.modeshape.common.util.log
Class LogFactory
java.lang.Object
org.modeshape.common.util.log.LogFactory
- Direct Known Subclasses:
- JdkLoggerFactory, SLF4JLoggerFactory
public abstract class LogFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogFactory
public LogFactory()
getLogFactory
public static LogFactory getLogFactory()
getLogger
public abstract Logger getLogger(Class<?> clazz)
- Return a logger named corresponding to the class passed as parameter.
- Parameters:
clazz
- the returned logger will be named after clazz
- Returns:
- logger
getLogger
public abstract Logger getLogger(String name)
- Return a logger named according to the name parameter.
- Parameters:
name
- The name of the logger.
- Returns:
- logger
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.