Partager via


CoreLoggerExtensions.SensitiveDataLoggingEnabledWarning<TLoggerCategory> Méthode

Définition

Journaux de l’événement SensitiveDataLoggingEnabledWarning .

public static void SensitiveDataLoggingEnabledWarning<TLoggerCategory> (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<TLoggerCategory> diagnostics) where TLoggerCategory : Microsoft.EntityFrameworkCore.Diagnostics.LoggerCategory<TLoggerCategory>, new();
static member SensitiveDataLoggingEnabledWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<'LoggerCategory (requires 'LoggerCategory :> Microsoft.EntityFrameworkCore.Diagnostics.LoggerCategory<'LoggerCategory> and 'LoggerCategory : (new : unit -> 'LoggerCategory))> -> unit (requires 'LoggerCategory :> Microsoft.EntityFrameworkCore.Diagnostics.LoggerCategory<'LoggerCategory> and 'LoggerCategory : (new : unit -> 'LoggerCategory))
<Extension()>
Public Sub SensitiveDataLoggingEnabledWarning(Of TLoggerCategory As {LoggerCategory(Of TLoggerCategory)New}) (diagnostics As IDiagnosticsLogger(Of TLoggerCategory))

Paramètres de type

TLoggerCategory

Catégorie d’enregistreur d’événements pour laquelle journaliser l’avertissement.

Paramètres

diagnostics
IDiagnosticsLogger<TLoggerCategory>

Journal diagnostics à utiliser.

S’applique à