LoggingOptions.RequestPathLoggingMode 属性

定义

获取或设置一个值,该值指示应如何记录传出 HTTP 请求路径。

public:
 property Microsoft::Extensions::Http::Logging::OutgoingPathLoggingMode RequestPathLoggingMode { Microsoft::Extensions::Http::Logging::OutgoingPathLoggingMode get(); void set(Microsoft::Extensions::Http::Logging::OutgoingPathLoggingMode value); };
public Microsoft.Extensions.Http.Logging.OutgoingPathLoggingMode RequestPathLoggingMode { get; set; }
member this.RequestPathLoggingMode : Microsoft.Extensions.Http.Logging.OutgoingPathLoggingMode with get, set
Public Property RequestPathLoggingMode As OutgoingPathLoggingMode

属性值

默认值为 Formatted

注解

仅当选项未设置为 NoneRequestPathParameterRedactionMode,才应用此选项,否则将忽略此设置,并记录未编修的 HTTP 请求路径。

适用于