Class LogbackUtils

java.lang.Object
io.micronaut.logging.impl.LogbackUtils

public final class LogbackUtils extends Object
Utility methods to configure LoggerContext.
Since:
3.8.4
Author:
Sergio del Amo
  • Method Details

    • configure

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