Class BootstrapLogging

java.lang.Object
io.dropwizard.logging.common.BootstrapLogging

public class BootstrapLogging extends Object
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 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)