40 instantiations of 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.Tests (2)
Logging\FakeLogCollectorTests.cs (1)
154var logger = new FakeLogger<FakeLogCollectorTests>(output.WriteLine);
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>();
38 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.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)
25private readonly FakeLogger<WindowsContainerSnapshotProvider> _logger;
Windows\WindowsSnapshotProviderTests.cs (1)
28private readonly FakeLogger<WindowsSnapshotProvider> _fakeLogger;
Microsoft.Extensions.Diagnostics.Testing (2)
Logging\FakeLoggerT.cs (2)
26/// Initializes a new instance of the <see cref="FakeLogger{T}"/> class. 35/// Initializes a new instance of the <see cref="FakeLogger{T}"/> class that copies all log records to the given output sink.
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Logging\FakeLogCollectorTests.cs (1)
154var logger = new FakeLogger<FakeLogCollectorTests>(output.WriteLine);
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 (12)
Logging\HttpClientLoggerTest.cs (12)
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>();
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>();