Class Constants

java.lang.Object
org.apache.logging.log4j.jul.Constants

public final class Constants extends Object
Constants for the JUL adapter.
Since:
2.1
  • Field Details

    • LOGGER_ADAPTOR_PROPERTY

      public static final String LOGGER_ADAPTOR_PROPERTY
      Name of the Log4j property to set to override the AbstractLoggerAdapter to be used. By default, when this property is not set, an appropriate LoggerAdaptor is chosen based on the presence of log4j-core.
      See Also:
    • LEVEL_CONVERTER_PROPERTY

      public static final String LEVEL_CONVERTER_PROPERTY
      The Log4j property to set to a custom implementation of LevelConverter. The specified class must have a default constructor.
      See Also:
    • CORE_LOGGER_CLASS_NAME

      static final String CORE_LOGGER_CLASS_NAME
      See Also:
    • CORE_LOGGER_ADAPTER_CLASS_NAME

      static final String CORE_LOGGER_ADAPTER_CLASS_NAME
      See Also:
    • API_LOGGER_ADAPTER_CLASS_NAME

      static final String API_LOGGER_ADAPTER_CLASS_NAME
      See Also:
  • Constructor Details

    • Constants

      private Constants()