The Diagnostic Logs cluster is a device-wide singleton, not scoped per endpoint. The API has been simplified to reflect this.
What Changed
Old API:
using chip::app::clusters::DiagnosticLogs; DiagnosticLogsServer::Instance().SetDiagnosticLogsProviderDelegate(endpointId, delegate);
EndpointId.New API:
using chip::app::Clusters; DiagnosticLogsCluster::Instance().SetDelegate(delegate);
endpointId required.