Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
LoggingRedactionOptions.IncludeUnmatchedRoutes 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 whether to report unmatched routes.
public bool IncludeUnmatchedRoutes { get; set; }
member this.IncludeUnmatchedRoutes : bool with get, set
Public Property IncludeUnmatchedRoutes As Boolean
Property Value
Defaults to false.
Remarks
If set to true, instead of logging unknown value for path attribute it will log whole path of routes not identified by ASP.NET Routing.
Applies to
Feedback
Was this page helpful?
