PrintStreamLogger extends LoggerSupport { public void setThreshold(final Level threshold) { this.threshold = threshold; } PrintStreamLogger(final PrintStream stream, final Level threshold);  PrintStreamLogger(final PrintStream stream); PrintStream getStream(); Level getThreshold(); void setThreshold(final Level threshold); Renderer getRenderer(); void setRenderer(final Renderer renderer); void setName(final String name);  }
@Test public void testWithLevel() { PrintStreamLogger log = new PrintStreamLogger(System.out); log.setThreshold(Level.WARN); System.out.println("LOG: " + log); log.info("Test"); log.error("Test"); }