StructuredLogging { public static void configureStructuredLogging() { configureStructuredLogging(defaultLoggingLevel()); } private  StructuredLogging(); static void configureStructuredLogging(); static void configureStructuredLogging(Level level);  }
@Test public void testStructuredLoggingProgrammaticSetup() throws Exception { verifyStructuredLogging(() -> StructuredLogging.configureStructuredLogging(Level.DEBUG)); }
@Test public void testTextLoggingProgrammaticSetup() throws Exception { StructuredLogging.configureStructuredLogging(); verifyTextLogging(); }