class DefaultMuteableConnectionLogger implements MuteableConnectionLogger {

    @Override
    public Collection<LogEntry> getLogs() {
        if (active) {
            return delegate.getLogs();
        }
        LOGGER.trace("Returning empty logs since logger is muted.");
        return Collections.emptyList();
    }

      DefaultMuteableConnectionLogger(final ConnectionId connectionId, final ConnectionLogger delegate);

}