SensitiveDataLogger<T>(ILogger<T>, IDbContextOptions) Konstruktor

Definition

Initialisiert eine neue Instanz der SensitiveDataLogger<T>-Klasse.

public SensitiveDataLogger (Microsoft.Extensions.Logging.ILogger<T> logger, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions contextOptions);
new Microsoft.EntityFrameworkCore.Infrastructure.SensitiveDataLogger<'T> : Microsoft.Extensions.Logging.ILogger<'T> * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> Microsoft.EntityFrameworkCore.Infrastructure.SensitiveDataLogger<'T>
Public Sub New (logger As ILogger(Of T), contextOptions As IDbContextOptions)

Parameter

logger
ILogger<T>

Die zugrunde liegende Protokollierung, in die Protokollierungsinformationen geschrieben werden sollen.

contextOptions
IDbContextOptions

Die Optionen für den Kontext, mit dem diese Protokollierung verwendet wird.

Gilt für: