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>>

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

适用于