Share via


LoggingRedactionOptions Class

Definition

Top-level model for redacting incoming HTTP requests and their corresponding responses.

public class LoggingRedactionOptions
type LoggingRedactionOptions = class
Public Class LoggingRedactionOptions
Inheritance
LoggingRedactionOptions

Constructors

LoggingRedactionOptions()

Properties

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