com.opensymphony.xwork2.util.logging.slf4j

## Class Slf4jLoggerFactory

- java.lang.Object
- - com.opensymphony.xwork2.util.logging.LoggerFactory
  - - com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory

- Deprecated.
  since 2.5

      @Deprecated
      public class Slf4jLoggerFactory
      extends LoggerFactory

  Creates slf4j-logging-backed loggers You can use the same to explicit tell the framework which implementation to use and don't depend on class discovery:

         -Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Slf4jLoggerFactory()` Deprecated.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected Logger` | `getLoggerImpl(Class<?> cls)` Deprecated.
    `protected Logger` | `getLoggerImpl(String name)` Deprecated.

    - ### Methods inherited from class com.opensymphony.xwork2.util.logging.LoggerFactory

      `getLogger, getLogger, getLoggerFactory, setLoggerFactory`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Slf4jLoggerFactory

          public Slf4jLoggerFactory()

      Deprecated.

  - ### Method Detail

    - #### getLoggerImpl

          protected Logger getLoggerImpl(Class<?> cls)

      Deprecated.
      Specified by:
        `getLoggerImpl` in class `LoggerFactory`

    - #### getLoggerImpl

          protected Logger getLoggerImpl(String name)

      Deprecated.
      Specified by:
        `getLoggerImpl` in class `LoggerFactory`

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.