Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
LoggingRedactionOptions Class
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.
Top-level model for redacting incoming HTTP requests and their corresponding responses.
public class LoggingRedactionOptions
type LoggingRedactionOptions = class
Public Class LoggingRedactionOptions
- Inheritance
-
LoggingRedactionOptions
Constructors
| Name | Description |
|---|---|
| LoggingRedactionOptions() | |
Properties
| Name | Description |
|---|---|
| ExcludePathStartsWith |
Gets or sets the set of HTTP paths that should be excluded from logging. |
| IncludeUnmatchedRoutes |
Gets or sets a value indicating whether to report unmatched routes. |
| RequestHeadersDataClasses |
Gets or sets a map between request headers to be logged and their data classification. |
| RequestPathLoggingMode |
Gets or sets a strategy how request path should be logged. |
| RequestPathParameterRedactionMode |
Gets or sets a value indicating how request path parameter should be redacted. |
| ResponseHeadersDataClasses |
Gets or sets a map between response headers to be logged and their data classification. |
| RouteParameterDataClasses |
Gets or sets a map between HTTP path parameters and their data classification. |
Applies to
Feedback
Was this page helpful?
