34 references to AddLogging
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Logging\XunitLoggerFactoryExtensions.cs (1)
50services.AddLogging(b => b.AddXunit(output));
Aspire.Dashboard.Tests (1)
tests\Shared\Logging\XunitLoggerFactoryExtensions.cs (1)
50services.AddLogging(b => b.AddXunit(output));
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
875builder.ApplicationBuilder.Services.AddLogging(configure =>
Aspire.Hosting.Testing.Tests (1)
tests\Shared\Logging\XunitLoggerFactoryExtensions.cs (1)
50services.AddLogging(b => b.AddXunit(output));
Aspire.Hosting.Tests (3)
Dashboard\DashboardResourceTests.cs (1)
430builder.Services.AddLogging(b =>
tests\Shared\Logging\XunitLoggerFactoryExtensions.cs (1)
50services.AddLogging(b => b.AddXunit(output));
Utils\TestDistributedApplicationBuilder.cs (1)
112Services.AddLogging(builder =>
Aspire.Playground.Tests (2)
Infrastructure\DistributedApplicationTestFactory.cs (1)
37builder.Services.AddLogging(logging =>
tests\Shared\Logging\XunitLoggerFactoryExtensions.cs (1)
50services.AddLogging(b => b.AddXunit(output));
CustomEncryptorSample (1)
Program.cs (1)
16.AddLogging(o => o.AddConsole().SetMinimumLevel(LogLevel.Debug))
EntityFrameworkCoreSample (1)
Program.cs (1)
18.AddLogging(o => o.AddConsole().SetMinimumLevel(LogLevel.Debug))
InteropClient (1)
InteropClient.cs (1)
93services.AddLogging(configure =>
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
314services.AddLogging(logging =>
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
311Services.AddLogging(builder =>
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (1)
JsonTranscodingServiceMethodProviderTests.cs (1)
265serviceCollection.AddLogging(log =>
Microsoft.AspNetCore.Hosting (2)
WebHostBuilderExtensions.cs (2)
232return hostBuilder.ConfigureServices(collection => collection.AddLogging(configureLogging)); 243return hostBuilder.ConfigureServices((context, collection) => collection.AddLogging(builder => configureLogging(context, builder)));
Microsoft.AspNetCore.InternalTesting (2)
AssemblyTestLog.cs (2)
164serviceCollection.AddLogging(builder => 197serviceCollection.AddLogging(builder =>
Microsoft.AspNetCore.InternalTesting.Tests (1)
XunitLoggerProviderTest.cs (1)
89.AddLogging(configure)
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionBuilderExtensions.cs (1)
24hubConnectionBuilder.Services.AddLogging(configureLogging);
Microsoft.Extensions.Diagnostics.Testing (3)
Logging\FakeLoggerServiceCollectionExtensions.cs (3)
23=> services.AddLogging(x => x.AddFakeLogging(section)); 32=> services.AddLogging(x => x.AddFakeLogging(configure)); 40=> services.AddLogging(builder => builder.AddFakeLogging());
Microsoft.Extensions.Hosting (3)
HostingHostBuilderExtensions.cs (3)
100return hostBuilder.ConfigureServices((context, collection) => collection.AddLogging(builder => configureLogging(context, builder))); 111return hostBuilder.ConfigureServices((context, collection) => collection.AddLogging(configureLogging)); 275services.AddLogging(logging =>
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceLifetimeHostBuilderExtensions.cs (1)
113services.AddLogging(logging =>
Microsoft.Extensions.Logging (2)
LoggerFactory.cs (1)
114serviceCollection.AddLogging(configure);
LoggingServiceCollectionExtensions.cs (1)
23return AddLogging(services, builder => { });
Microsoft.Extensions.Telemetry.PerformanceTests (1)
ExtendedLoggerBench.cs (1)
59serviceCollection.AddLogging(builder =>
Microsoft.Extensions.Telemetry.Tests (1)
Logging\Utils.cs (1)
15serviceCollection.AddLogging(builder =>
Microsoft.Gen.Logging.Generated.Tests (1)
Utils.cs (1)
72serviceCollection.AddLogging(builder =>
Redis (1)
Program.cs (1)
20.AddLogging(o => o.AddConsole().SetMinimumLevel(LogLevel.Debug))