class EvictingConnectionLogger implements ConnectionLogger {

    @Override
    public void exception(final ConnectionMonitor.InfoProvider infoProvider, @Nullable final Exception exception) {
        if (null != exception) {
            exception(infoProvider, defaultExceptionMessage, exception.getMessage());
        } else {
            exception(infoProvider, defaultExceptionMessage, FALLBACK_EXCEPTION_TEXT);
        }
    }

    private  EvictingConnectionLogger(final Builder builder);

}