Share via


CoreLoggerExtensions.RedundantAddServicesCallWarning Method

Definition

Logs for the RedundantAddServicesCallWarning event.

public static void RedundantAddServicesCallWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, IServiceProvider serviceProvider);
static member RedundantAddServicesCallWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * IServiceProvider -> unit
<Extension()>
Public Sub RedundantAddServicesCallWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), serviceProvider As IServiceProvider)

Parameters

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

The diagnostics logger to use.

serviceProvider
IServiceProvider

The service provider used.

Applies to