9 references to FakeLogCollector
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogCollector.cs (1)
46return new FakeLogCollector(Options.Options.Create(Throw.IfNull(options)));
Microsoft.Extensions.Diagnostics.Testing.Tests (3)
Logging\FakeLogCollectorTests.cs (3)
82var collector = new FakeLogCollector(Microsoft.Extensions.Options.Options.Create(options)); 113Assert.Throws<ArgumentNullException>(() => new FakeLogCollector(null!)); 114Assert.Throws<ArgumentException>(() => new FakeLogCollector(Microsoft.Extensions.Options.Options.Create((FakeLogCollectorOptions)null!)));
Microsoft.Extensions.Http.Diagnostics.Tests (5)
Logging\HttpClientLoggerTest.cs (5)
308new FakeLogCollector( 414var fakeLogger = new FakeLogger<HttpClientLogger>(new FakeLogCollector(Options.Options.Create(new FakeLogCollectorOptions()))); 511new FakeLogCollector( 624var fakeLogger = new FakeLogger<HttpClientLogger>(new FakeLogCollector(Options.Options.Create(new FakeLogCollectorOptions()))); 894var fakeLogger = new FakeLogger<HttpClientLogger>(new FakeLogCollector(Options.Options.Create(new FakeLogCollectorOptions())));