com.opensymphony.xwork2.util.logging.log4j2

## Class Log4j2LoggerFactory

- java.lang.Object
- - com.opensymphony.xwork2.util.logging.LoggerFactory
  - - com.opensymphony.xwork2.util.logging.log4j2.Log4j2LoggerFactory

- Deprecated.
  since 2.5

      @Deprecated
      public class Log4j2LoggerFactory
      extends LoggerFactory

  Creates log4j2-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.log4j2.Log4j2LoggerFactory

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Log4j2LoggerFactory()` 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

    - #### Log4j2LoggerFactory

          public Log4j2LoggerFactory()

      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.