Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

LoggingRedactionOptions.RequestPathParameterRedactionMode Property

Definition

Namespace:
Microsoft.AspNetCore.Diagnostics.Logging
Assembly:
Microsoft.AspNetCore.Diagnostics.Middleware.dll
Package:
Microsoft.AspNetCore.Diagnostics.Middleware v10.0.0
Package:
Microsoft.AspNetCore.Diagnostics.Middleware v10.6.0
Package:
Microsoft.AspNetCore.Diagnostics.Middleware v9.8.0
Source:
LoggingRedactionOptions.cs
Source:
LoggingRedactionOptions.cs
Source:
LoggingRedactionOptions.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets a value indicating how request path parameter should be redacted.

public Microsoft.Extensions.Http.Diagnostics.HttpRouteParameterRedactionMode RequestPathParameterRedactionMode { get; set; }
member this.RequestPathParameterRedactionMode : Microsoft.Extensions.Http.Diagnostics.HttpRouteParameterRedactionMode with get, set
Public Property RequestPathParameterRedactionMode As HttpRouteParameterRedactionMode

Property Value

The default value is Strict.

Applies to


Feedback

Was this page helpful?