Package io.dropwizard.logging.common
Class BootstrapLogging
java.lang.Object
io.dropwizard.logging.common.BootstrapLogging
Utility class to configure logging before the dropwizard yml
configuration has been read, parsed, and the provided logging
strategy has been applied.
N.B. The methods in this class have run once semantics,
multiple calls are idempotent
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidbootstrap(ch.qos.logback.classic.Level level) static voidbootstrap(ch.qos.logback.classic.Level level, DiscoverableLayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent> layoutFactory)
-
Method Details
-
bootstrap
public static void bootstrap() -
bootstrap
public static void bootstrap(ch.qos.logback.classic.Level level) -
bootstrap
public static void bootstrap(ch.qos.logback.classic.Level level, DiscoverableLayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent> layoutFactory)
-