Delen via


ISensitiveDataLogger<T> Interface

Definition

An ILogger<TCategoryName> for which logging of sensitive data can be enabled or disabled.

public interface ISensitiveDataLogger<out T> : Microsoft.EntityFrameworkCore.Infrastructure.ISensitiveDataLogger, Microsoft.Extensions.Logging.ILogger<out T>
type ISensitiveDataLogger<'T> = interface
    interface ILogger<'T>
    interface ILogger
    interface ISensitiveDataLogger
Public Interface ISensitiveDataLogger(Of Out T)
Implements ILogger(Of Out T), ISensitiveDataLogger

Type Parameters

T

The type who's name is used for the logger category name.

This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Properties

LogSensitiveData

Gets a value indicating whether sensitive data should be logged.

(Inherited from ISensitiveDataLogger)

Applies to