Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`LogFactory()`

Method Summary
`static LogFactory` | `getLogFactory()`
`abstract Logger` | `getLogger(Class<?> clazz)` Return a logger named corresponding to the class passed as parameter.
`abstract 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

### LogFactory

    public LogFactory()

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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