Condividi tramite


CoreLoggerExtensions.ServiceProviderDebugInfo Metodo

Definizione

Registra l'evento ServiceProviderDebugInfo .

public static void ServiceProviderDebugInfo (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, System.Collections.Generic.IDictionary<string,string> newDebugInfo, System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string,string>> cachedDebugInfos);
static member ServiceProviderDebugInfo : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string, string>> -> unit
<Extension()>
Public Sub ServiceProviderDebugInfo (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), newDebugInfo As IDictionary(Of String, String), cachedDebugInfos As IList(Of IDictionary(Of String, String)))

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Logger di diagnostica da usare.

newDebugInfo
IDictionary<String,String>

Eseguire il debug delle informazioni per i nuovi provider di servizi.

cachedDebugInfos
IList<IDictionary<String,String>>

Eseguire il debug delle informazioni per i provider di servizi esistenti.

Si applica a