public ManagedServiceBuilder enableLoggingMappedDiagnosticContext(final Set<String> requestHeaders) {
        this.enableRequestChain = true;
        this.enableLoggingMappedDiagnosticContext = true;
        this.requestHeadersToTrackForMappedDiagnosticContext = Collections.unmodifiableSet(requestHeaders);
        return this;
    }
public ManagedServiceBuilder enableLoggingMappedDiagnosticContext(final Set<String> requestHeaders) {
        this.enableRequestChain = true;
        this.enableLoggingMappedDiagnosticContext = true;
        this.requestHeadersToTrackForMappedDiagnosticContext = Collections.unmodifiableSet(requestHeaders);
        return this;
    }
public ManagedServiceBuilder enableLoggingMappedDiagnosticContext ( final Set < String > requestHeaders ) { this . enableRequestChain = true ; this . enableLoggingMappedDiagnosticContext = true ; this . requestHeadersToTrackForMappedDiagnosticContext = Collections . unmodifiableSet ( requestHeaders ) ; return this ; }
Enable the logging diagnostic context

@param requestHeaders request headers to track in the MDC.
@return this
Enable the logging diagnostic context