语言

CoreLoggerExtensions.ServiceProviderDebugInfo 方法

定义

事件的 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)))

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

要使用的诊断记录器。

newDebugInfo
IDictionary<String,String>

调试新服务提供商的信息。

cachedDebugInfos
IList<IDictionary<String,String>>

调试现有服务提供商的信息。

适用于