LoggingOptions.RequestPathLoggingMode 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,指出應該如何記錄傳出 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。
備註
只有在選項未設定為 None時RequestPathParameterRedactionMode,才會套用此選項,否則會忽略此設定,並記錄未修改的 HTTP 要求路徑。