次の方法で共有


LoggingOptions.RequestPathLoggingMode プロパティ

定義

要求パスのログ記録方法の戦略を取得または設定します。

public Microsoft.AspNetCore.Telemetry.IncomingPathLoggingMode RequestPathLoggingMode { get; set; }
member this.RequestPathLoggingMode : Microsoft.AspNetCore.Telemetry.IncomingPathLoggingMode with get, set
Public Property RequestPathLoggingMode As IncomingPathLoggingMode

プロパティ値

既定値は Formatted です。

注釈

機密情報がログ レコードに入らないように、編集者を追加してください。 このオプションは、 オプションが RequestPathParameterRedactionModeMicrosoft.Extensions.Http.Telemetry.HttpRouteParameterRedactionMode.None設定されていない場合にのみ適用されます。

適用対象