14 writes to RequestPathLoggingMode
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\LoggingOptionsConfigureOptions.cs (1)
61BindEnum<OutgoingPathLoggingMode>(_section, nameof(LoggingOptions.RequestPathLoggingMode), value => options.RequestPathLoggingMode = value);
Microsoft.Extensions.Http.Diagnostics.Tests (13)
Logging\AcceptanceTests.cs (1)
349o.RequestPathLoggingMode = OutgoingPathLoggingMode.Structured;
Logging\HttpClientLoggerTest.cs (6)
210RequestPathLoggingMode = OutgoingPathLoggingMode.Structured, 303RequestPathLoggingMode = OutgoingPathLoggingMode.Structured, 412RequestPathLoggingMode = OutgoingPathLoggingMode.Structured, 509RequestPathLoggingMode = OutgoingPathLoggingMode.Structured, 624RequestPathLoggingMode = OutgoingPathLoggingMode.Structured, 895RequestPathLoggingMode = OutgoingPathLoggingMode.Structured,
Logging\HttpClientLoggingExtensionsTest.cs (2)
174options.RequestPathLoggingMode = formatRequestPath; 496options.RequestPathLoggingMode = formatRequestPath;
Logging\HttpRequestReaderTest.cs (3)
274RequestPathLoggingMode = OutgoingPathLoggingMode.Structured 347RequestPathLoggingMode = OutgoingPathLoggingMode.Structured 874RequestPathLoggingMode = OutgoingPathLoggingMode.Formatted
Logging\LoggingOptionsTest.cs (1)
104_sut.RequestPathLoggingMode = testValue;
9 references to RequestPathLoggingMode
Microsoft.Extensions.Http.Diagnostics (2)
Logging\Internal\HttpRequestReader.cs (1)
73_outgoingPathLogMode = Throw.IfOutOfRange(options.RequestPathLoggingMode);
Logging\Internal\LoggingOptionsConfigureOptions.cs (1)
61BindEnum<OutgoingPathLoggingMode>(_section, nameof(LoggingOptions.RequestPathLoggingMode), value => options.RequestPathLoggingMode = value);
Microsoft.Extensions.Http.Diagnostics.Tests (7)
Logging\HttpClientLoggingExtensionsTest.cs (6)
192options.RequestPathLoggingMode.Should().Be(formatRequestPath); 263[$"{nameof(LoggingOptions)}:{nameof(LoggingOptions.RequestPathLoggingMode)}"] = "Structured", 292options.RequestPathLoggingMode.Should().Be(OutgoingPathLoggingMode.Structured); 381options.RequestPathLoggingMode.Should().Be(OutgoingPathLoggingMode.Formatted); 413[$"{nameof(LoggingOptions)}:{nameof(LoggingOptions.RequestPathLoggingMode)}"] = "invalid", 514options.RequestPathLoggingMode.Should().Be(formatRequestPath);
Logging\LoggingOptionsTest.cs (1)
106_sut.RequestPathLoggingMode.Should().Be(testValue);