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

## com.opensymphony.xwork2.util.logging
Class LoggerFactory

    java.lang.Object
      com.opensymphony.xwork2.util.logging.LoggerFactory

Direct Known Subclasses:
  CommonsLoggerFactory, JdkLoggerFactory, Log4j2LoggerFactory, Slf4jLoggerFactory

    public abstract class LoggerFactory

extends Object

Creates loggers. Static accessor will lazily try to decide on the best factory if none specified.

Constructor Summary
`LoggerFactory()`

Method Summary
`static Logger` | `getLogger(Class<?> cls)`
`static Logger` | `getLogger(String name)`
`protected static LoggerFactory` | `getLoggerFactory()`
`protected abstract Logger` | `getLoggerImpl(Class<?> cls)`
`protected abstract Logger` | `getLoggerImpl(String name)`
`static void` | `setLoggerFactory(LoggerFactory factory)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LoggerFactory

    public LoggerFactory()

Method Detail

### setLoggerFactory

    public static void setLoggerFactory(LoggerFactory factory)

### getLogger

    public static Logger getLogger(Class<?> cls)

### getLogger

    public static Logger getLogger(String name)

### getLoggerFactory

    protected static LoggerFactory getLoggerFactory()

### getLoggerImpl

    protected abstract Logger getLoggerImpl(Class<?> cls)

### getLoggerImpl

    protected abstract Logger getLoggerImpl(String name)

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 © 2000–2018 Apache Software Foundation. All rights reserved.