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 SLF4JLoggerFactory

    java.lang.Object
      org.modeshape.common.util.log.LogFactory
          org.modeshape.common.util.log.SLF4JLoggerFactory

    public final class SLF4JLoggerFactory

extends LogFactory

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

Constructor Summary
`SLF4JLoggerFactory()`

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

### SLF4JLoggerFactory

    public SLF4JLoggerFactory()

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

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.