Class ProviderUtil

java.lang.Object
org.apache.logging.log4j.util.ProviderUtil

@InternalApi public final class ProviderUtil extends Object
Consider this class private.

Utility class for Log4j Providers. When integrating with an application container framework, any Log4j Providers not accessible through standard classpath scanning should loadProvider(java.net.URL, ClassLoader) a classpath accordingly.

  • Method Details

    • getProvider

      public static Provider getProvider()
      Since:
      2.24.0
    • getProviders

      public static Iterable<Provider> getProviders()
    • hasProviders

      public static boolean hasProviders()
    • findClassLoader

      public static ClassLoader findClassLoader()