Esempio n. 1
0
  @Override
  public void endLog(boolean success) throws IOException {
    List<LogEntry> filtered = interceptor.apply(logEntries);

    delegate.startLog();
    for (LogEntry entry : filtered) {
      entry.accept(delegate);
    }
    delegate.endLog(success);

    logEntries.clear();
  }
Esempio n. 2
0
 @Override
 public void endLog(boolean success) throws IOException {
   delegate.endLog(true);
 }