OutgoingPathLoggingMode Enum

Definition

Strategy to decide how outgoing HTTP path is logged.

C#
public enum OutgoingPathLoggingMode
Inheritance
OutgoingPathLoggingMode

Fields

Name Value Description
Formatted 0

HTTP path is formatted, for example in a form of /foo/bar/redactedUserId.

Structured 1

HTTP path is not formatted, route parameters logged in curly braces, for example in a form of /foo/bar/{userId}.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)