语言

CoreEventId.SensitiveDataLoggingEnabledWarning 字段

定义

一条警告,指示已启用敏感数据日志记录,并可能记录。

public static readonly Microsoft.Extensions.Logging.EventId SensitiveDataLoggingEnabledWarning;
 staticval mutable SensitiveDataLoggingEnabledWarning : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly SensitiveDataLoggingEnabledWarning As EventId 

字段值

注解

此事件可能在不同的类别中,具体取决于正在记录敏感数据的位置。

此事件在与 a DiagnosticSource. 一起使用时使用EventData有效负载。

适用于