LoggingOptions Class

Definition

Options to configure HTTP client requests logging.

public ref class LoggingOptions
public class LoggingOptions
type LoggingOptions = class
Public Class LoggingOptions
Inheritance
LoggingOptions

Constructors

LoggingOptions()

Properties

BodyReadTimeout

Gets or sets the maximum amount of time to wait for the request or response body to be read.

BodySizeLimit

Gets or sets the maximum number of bytes of the request or response body to read.

LogBody

Gets or sets a value indicating whether the HTTP request and response body are logged.

LogContentHeaders

Gets or sets a value indicating whether the HTTP request and response content headers are logged.

LogRequestStart

Gets or sets a value indicating whether the request is logged additionally before any further processing.

RequestBodyContentTypes

Gets or sets the list of HTTP request content types which are considered text and thus possible to serialize.

RequestHeadersDataClasses

Gets or sets the set of HTTP request headers to log and their respective data classifications to use for redaction.

RequestPathLoggingMode

Gets or sets a value indicating how the outgoing HTTP request path should be logged.

RequestPathParameterRedactionMode

Gets or sets a value indicating how outgoing HTTP request path parameters should be redacted.

ResponseBodyContentTypes

Gets or sets the list of HTTP response content types which are considered text and thus possible to serialize.

ResponseHeadersDataClasses

Gets or sets the set of HTTP response headers to log and their respective data classifications to use for redaction.

RouteParameterDataClasses

Gets or sets the route parameters to redact with their corresponding data classifications to apply appropriate redaction.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to