Package io.micronaut.logging.impl
Class LogbackUtils
java.lang.Object
io.micronaut.logging.impl.LogbackUtils
Utility methods to configure
LoggerContext
.- Since:
- 3.8.4
- Author:
- Sergio del Amo
-
Method Summary
-
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 Loadercontext
- Logger ContextlogbackXmlLocation
- the location of the xml logback config file
-