class DefaultMuteableConnectionLogger implements MuteableConnectionLogger {

    @Override
    public void failure(final ConnectionMonitor.InfoProvider infoProvider, @Nullable final DittoRuntimeException exception) {
        if (active) {
            delegate.failure(infoProvider, exception);
        } else {
            logTraceWithCorrelationId("Not logging failure since logger is muted.", infoProvider);
        }
    }

      DefaultMuteableConnectionLogger(final ConnectionId connectionId, final ConnectionLogger delegate);

}