DefaultHttpLogWriter implements HttpLogWriter { @Override public boolean isActive() { return log.isTraceEnabled(); }  @Override boolean isActive(); @Override void write(final Precorrelation precorrelation, final String request); @Override void write(final Correlation correlation, final String response);  }
@Test void shouldUseTraceLevelForActivation() { final HttpLogWriter unit = new DefaultHttpLogWriter(); logger.setEnabledLevels(TRACE); assertTrue(unit.isActive()); logger.setEnabledLevels(INFO); assertFalse(unit.isActive()); }