26 references to OutgoingPathLoggingMode
Microsoft.Extensions.Http.Diagnostics (7)
Logging\Internal\HttpRequestReader.cs (2)
43private readonly OutgoingPathLoggingMode _outgoingPathLogMode; 255if (_outgoingPathLogMode == OutgoingPathLoggingMode.Formatted)
Logging\Internal\LoggingOptionsConfigureOptions.cs (1)
61BindEnum<OutgoingPathLoggingMode>(_section, nameof(LoggingOptions.RequestPathLoggingMode), value => options.RequestPathLoggingMode = value);
Logging\LoggingOptions.cs (4)
24private const OutgoingPathLoggingMode DefaultPathLoggingMode = OutgoingPathLoggingMode.Formatted; 130/// The default value is <see cref="OutgoingPathLoggingMode.Formatted"/>. 137public OutgoingPathLoggingMode RequestPathLoggingMode { get; set; } = DefaultPathLoggingMode;
Microsoft.Extensions.Http.Diagnostics.Tests (19)
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 (6)
159var formatRequestPath = _fixture.Create<OutgoingPathLoggingMode>(); 292options.RequestPathLoggingMode.Should().Be(OutgoingPathLoggingMode.Structured); 381options.RequestPathLoggingMode.Should().Be(OutgoingPathLoggingMode.Formatted); 480var formatRequestPath = _fixture.Create<OutgoingPathLoggingMode>();
Logging\HttpRequestReaderTest.cs (3)
274RequestPathLoggingMode = OutgoingPathLoggingMode.Structured 347RequestPathLoggingMode = OutgoingPathLoggingMode.Structured 874RequestPathLoggingMode = OutgoingPathLoggingMode.Formatted
Logging\LoggingOptionsTest.cs (3)
101[CombinatorialValues(OutgoingPathLoggingMode.Structured, OutgoingPathLoggingMode.Formatted)] 102OutgoingPathLoggingMode testValue)