5 implementations of IHttpClientLogEnricher
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
Microsoft.Extensions.Http.Diagnostics.Tests (3)
39 references to IHttpClientLogEnricher
Microsoft.Extensions.Http.Diagnostics (6)
Microsoft.Extensions.Http.Diagnostics.Tests (33)
Logging\HttpClientLoggerTest.cs (24)
66Empty.Enumerable<IHttpClientLogEnricher>(),
101Enumerable.Empty<IHttpClientLogEnricher>(),
144Enumerable.Empty<IHttpClientLogEnricher>(),
230new List<IHttpClientLogEnricher> { testEnricher },
326new List<IHttpClientLogEnricher> { testEnricher },
431new List<IHttpClientLogEnricher> { testEnricher },
546new List<IHttpClientLogEnricher> { testEnricher },
639new List<IHttpClientLogEnricher> { testEnricher },
665var enricher1 = new Mock<IHttpClientLogEnricher>();
666var enricher2 = new Mock<IHttpClientLogEnricher>();
682new List<IHttpClientLogEnricher> { enricher1.Object, enricher2.Object },
706var enricher1 = new Mock<IHttpClientLogEnricher>();
707var enricher2 = new Mock<IHttpClientLogEnricher>();
725new List<IHttpClientLogEnricher> { enricher1.Object, enricher2.Object },
750var enricher1 = new Mock<IHttpClientLogEnricher>();
755var enricher2 = new Mock<IHttpClientLogEnricher>();
760var enrichers = new List<IHttpClientLogEnricher> { enricher1.Object, enricher2.Object };
793var enricher1 = new Mock<IHttpClientLogEnricher>();
799var enricher2 = new Mock<IHttpClientLogEnricher>();
807new List<IHttpClientLogEnricher> { enricher1.Object, enricher2.Object },
909new List<IHttpClientLogEnricher> { testEnricher },
952new HttpClientLogger(fakeLogger, requestReader, Array.Empty<IHttpClientLogEnricher>(), options),
980var logger = new HttpClientLogger(fakeLogger, requestReaderMock.Object, Array.Empty<IHttpClientLogEnricher>(), new());
1000var logger = new HttpClientLogger(new FakeLogger<HttpClientLogger>(), requestReader, Array.Empty<IHttpClientLogEnricher>(), options);