Class 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 Detail

      • getProvider

        public static Provider getProvider()
        Since:
        2.24.0
      • hasProviders

        public static boolean hasProviders()
      • findClassLoader

        public static ClassLoader findClassLoader()