40 references to FakeLogger
Aspire.Hosting.Tests (2)
ResourceNotificationTests.cs (2)
299var logger = new FakeLogger<ResourceNotificationService>(); 367var logger = new FakeLogger<ResourceNotificationService>();
Microsoft.AspNetCore.HeaderParsing.Tests (1)
HeaderParsingFeatureTests.cs (1)
25private readonly FakeLogger<HeaderParsingFeature> _logger = new();
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (2)
TelemetryHealthChecksPublisherTests.cs (2)
91var logger = new FakeLogger<TelemetryHealthCheckPublisher>(); 133var logger = new FakeLogger<TelemetryHealthCheckPublisher>();
Microsoft.Extensions.Diagnostics.Probes.Tests (2)
TcpEndpointProbesServiceTests.cs (2)
33new FakeLogger<TcpEndpointProbesService>(), 82new FakeLogger<TcpEndpointProbesService>(),
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (9)
Linux\LinuxUtilizationProviderTests.cs (3)
30var logger = new FakeLogger<LinuxUtilizationProvider>(); 100var logger = new FakeLogger<LinuxUtilizationProvider>(); 168var logger = new FakeLogger<LinuxUtilizationProvider>();
ResourceMonitoringServiceTests.cs (4)
192var logger = new FakeLogger<ResourceMonitorService>(); 230var logger = new FakeLogger<ResourceMonitorService>(); 270var logger = new FakeLogger<ResourceMonitorService>(); 353var logger = new FakeLogger<ResourceMonitorService>();
Windows\WindowsContainerSnapshotProviderTests.cs (1)
47_logger = new FakeLogger<WindowsContainerSnapshotProvider>();
Windows\WindowsSnapshotProviderTests.cs (1)
39_fakeLogger = new FakeLogger<WindowsSnapshotProvider>();
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLoggerT.cs (1)
39: this(FakeLogCollector.Create(new FakeLogCollectorOptions { OutputSink = outputSink }))
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Logging\FakeLoggerProviderTests.cs (1)
28logger = new FakeLogger<FakeLoggerProviderTests>(loggerProvider.Collector);
Microsoft.Extensions.Hosting.Testing.Tests (3)
HostTerminatorServiceTests.cs (3)
19var logger = new FakeLogger<HostTerminatorService>(); 34var logger = new FakeLogger<HostTerminatorService>(); 55var logger = new FakeLogger<HostTerminatorService>();
Microsoft.Extensions.Http.Diagnostics.Tests (13)
Logging\HttpClientLoggerTest.cs (13)
221var fakeLogger = new FakeLogger<HttpClientLogger>(); 307var fakeLogger = new FakeLogger<HttpClientLogger>( 414var fakeLogger = new FakeLogger<HttpClientLogger>(new FakeLogCollector(Options.Options.Create(new FakeLogCollectorOptions()))); 510var fakeLogger = new FakeLogger<HttpClientLogger>( 624var fakeLogger = new FakeLogger<HttpClientLogger>(new FakeLogCollector(Options.Options.Create(new FakeLogCollectorOptions()))); 672var fakeLogger = new FakeLogger<HttpClientLogger>(); 715var fakeLogger = new FakeLogger<HttpClientLogger>(); 756var fakeLogger = new FakeLogger<HttpClientLogger>(); 800var fakeLogger = new FakeLogger<HttpClientLogger>(); 894var fakeLogger = new FakeLogger<HttpClientLogger>(new FakeLogCollector(Options.Options.Create(new FakeLogCollectorOptions()))); 945var fakeLogger = new FakeLogger<HttpClientLogger>(); 979var fakeLogger = new FakeLogger<HttpClientLogger>(); 1000var logger = new HttpClientLogger(new FakeLogger<HttpClientLogger>(), requestReader, Array.Empty<IHttpClientLogEnricher>(), options);
Microsoft.Gen.Logging.Generated.Tests (6)
LoggerFromMemberTests.cs (6)
91var logger = new FakeLogger<int>(); 108var logger = new FakeLogger<int>(); 122var logger = new FakeLogger<int>(); 134var logger2 = new FakeLogger<int>(); 151var logger = new FakeLogger<int>(); 165var logger = new FakeLogger<int>();