class DefaultDittoDiagnosticLoggingAdapter extends DittoDiagnosticLoggingAdapter {

    public static DefaultDittoDiagnosticLoggingAdapter of(final DiagnosticLoggingAdapter diagnosticLoggingAdapter,
            final CharSequence loggerName) {

        final DefaultDiagnosticLoggingAdapter loggingAdapter =
                DefaultDiagnosticLoggingAdapter.of(diagnosticLoggingAdapter, loggerName);

        return new DefaultDittoDiagnosticLoggingAdapter(loggingAdapter,
                AutoDiscardingDiagnosticLoggingAdapter.of(loggingAdapter));
    }

    private  DefaultDittoDiagnosticLoggingAdapter(final AbstractDiagnosticLoggingAdapter loggingAdapter,
            final AbstractDiagnosticLoggingAdapter autoDiscardingLoggingAdapter);

}