16 references to Create
Aspire.Dashboard.Components.Tests (1)
Shared\IntegrationTestHelpers.cs (1)
14return LoggerFactory.Create(builder =>
Aspire.Dashboard.Tests (7)
Integration\IntegrationTestHelpers.cs (2)
28return LoggerFactory.Create(builder => 143var loggerFactory = LoggerFactory.Create(builder =>
Model\ApplicationsSelectHelpersTests.cs (2)
95var factory = LoggerFactory.Create(b => b.AddProvider(new TestLoggerProvider(testSink))); 119var factory = LoggerFactory.Create(b => b.AddProvider(new TestLoggerProvider(testSink)));
TelemetryRepositoryTests\OtlpHelpersTests.cs (2)
415var factory = LoggerFactory.Create(b => 460var factory = LoggerFactory.Create(b =>
TelemetryRepositoryTests\TraceTests.cs (1)
100var factory = LoggerFactory.Create(b => b.AddProvider(new TestLoggerProvider(testSink)));
BuildValidator (1)
Program.cs (1)
114var loggerFactory = LoggerFactory.Create(builder =>
Microsoft.CodeAnalysis.LanguageServer (1)
Program.cs (1)
52LoggerFactory.Create(builder =>
Microsoft.CodeAnalysis.Rebuild.UnitTests (4)
CompilationOptionsReaderTests.cs (1)
36var factory = LoggerFactory.Create(configure => { });
CSharpRebuildTests.cs (1)
30var factory = LoggerFactory.Create(configure => { });
RoundTripUtil.cs (2)
44var factory = LoggerFactory.Create(configure => { }); 77var factory = LoggerFactory.Create(configure => { });
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Program.cs (1)
83ILogger logger = LoggerFactory.Create(builder => builder.AddSimpleConsole()).CreateLogger("dotnet-swaggergen");
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
34using ILoggerFactory loggerFactory = LoggerFactory.Create(b => b.AddProvider(new FakeLoggerProvider(collector)));