Class LogbackUtils


  • public final class LogbackUtils
    extends java.lang.Object
    Utility methods to configure LoggerContext.
    Since:
    3.8.4
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void configure​(java.lang.ClassLoader classLoader, ch.qos.logback.classic.LoggerContext context, java.lang.String logbackXmlLocation)
      Configures a Logger Context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • configure

        public static void configure​(@NonNull
                                     java.lang.ClassLoader classLoader,
                                     @NonNull
                                     ch.qos.logback.classic.LoggerContext context,
                                     @NonNull
                                     java.lang.String logbackXmlLocation)
        Configures a Logger Context.
        Parameters:
        classLoader - Class Loader
        context - Logger Context
        logbackXmlLocation - the location of the xml logback config file