15 implementations of ILoggerFactory
Aspire.Cli.Tests (1)
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (1)
Aspire.Playground.Tests (1)
Aspire.TestUtilities (1)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.DotNet.HotReload.Watch (1)
Microsoft.Extensions.Logging (2)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.Maui (1)
1028 references to ILoggerFactory
aspire (10)
Aspire.Azure.AI.Inference (4)
Aspire.Cli.Tests (13)
Aspire.Components.Common.TestUtilities (3)
Aspire.Confluent.Kafka (2)
Aspire.Dashboard (19)
Aspire.Dashboard.Components.Tests (22)
Aspire.Dashboard.Tests (31)
Aspire.Hosting (18)
Aspire.Hosting.Nats (1)
Aspire.Hosting.Testing.Tests (7)
Aspire.Hosting.Tests (46)
Aspire.Milvus.Client (1)
Aspire.MongoDB.Driver (1)
Aspire.NATS.Net (1)
Aspire.OpenAI (4)
Aspire.OpenAI.Tests (4)
Aspire.Playground.Tests (8)
Aspire.Pomelo.EntityFrameworkCore.MySql (1)
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
Aspire.Qdrant.Client (1)
Aspire.RabbitMQ.Client (2)
Aspire.StackExchange.Redis (1)
dotnet-format (3)
dotnet-watch (2)
Microsoft.AspNetCore (4)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Authentication (20)
PolicySchemeHandler.cs (4)
20/// <param name="logger">The <see cref="ILoggerFactory"/>.</param>
24public PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
31/// <param name="logger">The <see cref="ILoggerFactory"/>.</param>
33public PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
SignInAuthenticationHandler.cs (4)
21/// <param name="logger">The <see cref="ILoggerFactory"/>.</param>
25public SignInAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
32/// <param name="logger">The <see cref="ILoggerFactory"/>.</param>
34public SignInAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
SignOutAuthenticationHandler.cs (4)
20/// <param name="logger">The <see cref="ILoggerFactory"/>.</param>
24public SignOutAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
31/// <param name="logger">The <see cref="ILoggerFactory"/>.</param>
33public SignOutAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Certificate (1)
Microsoft.AspNetCore.Authentication.Cookies (4)
Microsoft.AspNetCore.Authentication.Facebook (2)
Microsoft.AspNetCore.Authentication.Google (2)
Microsoft.AspNetCore.Authentication.JwtBearer (2)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (2)
Microsoft.AspNetCore.Authentication.Negotiate (2)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
Microsoft.AspNetCore.Authentication.Twitter (2)
Microsoft.AspNetCore.Authentication.WsFederation (2)
Microsoft.AspNetCore.Components (7)
Microsoft.AspNetCore.Components.Endpoints (6)
Microsoft.AspNetCore.Components.Server (4)
Microsoft.AspNetCore.Components.Web (6)
Microsoft.AspNetCore.Components.WebAssembly (4)
Microsoft.AspNetCore.Components.WebView (3)
Microsoft.AspNetCore.Components.WebView.Maui (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.CookiePolicy (2)
Microsoft.AspNetCore.Cors (8)
Microsoft.AspNetCore.DataProtection (60)
Microsoft.AspNetCore.Diagnostics (8)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (8)
Microsoft.AspNetCore.Grpc.JsonTranscoding (7)
Microsoft.AspNetCore.Hosting (4)
Microsoft.AspNetCore.Hosting.Abstractions (1)
Microsoft.AspNetCore.Http.Connections (9)
Microsoft.AspNetCore.Http.Connections.Client (12)
Microsoft.AspNetCore.Http.Extensions (5)
Microsoft.AspNetCore.Http.Results (78)
Microsoft.AspNetCore.HttpLogging (2)
Microsoft.AspNetCore.HttpOverrides (3)
Microsoft.AspNetCore.HttpsPolicy (3)
Microsoft.AspNetCore.Identity (7)
TwoFactorSecurityStampValidator.cs (2)
26public TwoFactorSecurityStampValidator(IOptions<SecurityStampValidatorOptions> options, SignInManager<TUser> signInManager, ISystemClock clock, ILoggerFactory logger) : base(options, signInManager, clock, logger)
35public TwoFactorSecurityStampValidator(IOptions<SecurityStampValidatorOptions> options, SignInManager<TUser> signInManager, ILoggerFactory logger) : base(options, signInManager, logger)
Microsoft.AspNetCore.InternalTesting (22)
AssemblyTestLog.cs (12)
32private readonly ILoggerFactory _globalLoggerFactory;
46private AssemblyTestLog(ILoggerFactory globalLoggerFactory, ILogger globalLogger, string baseDirectory, Assembly assembly, IServiceProvider serviceProvider)
59public IDisposable StartTestLog(ITestOutputHelper output, string className, out ILoggerFactory loggerFactory, [CallerMemberName] string testName = null) =>
63public IDisposable StartTestLog(ITestOutputHelper output, string className, out ILoggerFactory loggerFactory, LogLevel minLogLevel, [CallerMemberName] string testName = null) =>
66internal IDisposable StartTestLog(ITestOutputHelper output, string className, out ILoggerFactory loggerFactory, LogLevel minLogLevel, out string resolvedTestName, out string logOutputDirectory, [CallerMemberName] string testName = null)
70var factory = serviceProvider.GetRequiredService<ILoggerFactory>();
93public ILoggerFactory CreateLoggerFactory(ITestOutputHelper output, string className, [CallerMemberName] string testName = null, DateTimeOffset? logStart = null)
97public ILoggerFactory CreateLoggerFactory(ITestOutputHelper output, string className, LogLevel minLogLevel, [CallerMemberName] string testName = null, DateTimeOffset? logStart = null)
98=> CreateLoggerServices(output, className, minLogLevel, out var _, out var _, testName, logStart).GetRequiredService<ILoggerFactory>();
210var loggerFactory = serviceProvider.GetRequiredService<ILoggerFactory>();
Microsoft.AspNetCore.Localization (2)
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
Microsoft.AspNetCore.Mvc.Core (140)
Microsoft.AspNetCore.Mvc.Cors (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml (14)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
Microsoft.AspNetCore.Mvc.Razor (8)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.AspNetCore.Mvc.RazorPages (7)
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.OutputCaching (3)
Microsoft.AspNetCore.ResponseCaching (3)
Microsoft.AspNetCore.Rewrite (3)
Microsoft.AspNetCore.Routing (10)
Microsoft.AspNetCore.Server.HttpSys (2)
Microsoft.AspNetCore.Server.IISIntegration (4)
Microsoft.AspNetCore.Server.IntegrationTesting (10)
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Microsoft.AspNetCore.Session (7)
Microsoft.AspNetCore.SignalR.Client.Core (7)
Internal\InvocationRequest.cs (4)
48public static InvocationRequest Invoke(CancellationToken cancellationToken, Type resultType, string invocationId, ILoggerFactory loggerFactory, HubConnection hubConnection, Activity? activity, out Task<object?> result)
56ILoggerFactory loggerFactory, HubConnection hubConnection, Activity? activity, out ChannelReader<object?> result)
83public Streaming(CancellationToken cancellationToken, Type resultType, string invocationId, ILoggerFactory loggerFactory, HubConnection hubConnection, Activity? activity)
171public NonStreaming(CancellationToken cancellationToken, Type resultType, string invocationId, ILoggerFactory loggerFactory, HubConnection hubConnection, Activity? activity)
Microsoft.AspNetCore.SignalR.Core (3)
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
Microsoft.AspNetCore.SpaServices.Extensions (2)
Microsoft.AspNetCore.StaticFiles (2)
Microsoft.AspNetCore.WebSockets (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild (5)
Microsoft.DotNet.HotReload.Watch (3)
Microsoft.Extensions.AI (29)
Microsoft.Extensions.AI.Evaluation.Console (1)
Microsoft.Extensions.AI.Integration.Tests (4)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Extensions.AI.Tests (15)
ChatCompletion\FunctionInvokingChatClientTests.cs (7)
1054b.Use((c, services) => new FunctionInvokingChatClient(c, services.GetRequiredService<ILoggerFactory>()));
3253b.Use((c, services) => new FunctionInvokingChatClient(c, services.GetRequiredService<ILoggerFactory>()));
3285b.Use((c, services) => new FunctionInvokingChatClient(c, services.GetRequiredService<ILoggerFactory>()));
3318b.Use((c, services) => new FunctionInvokingChatClient(c, services.GetRequiredService<ILoggerFactory>()));
3356b.Use((c, services) => new FunctionInvokingChatClient(c, services.GetRequiredService<ILoggerFactory>()));
3368using var loggerFactory = LoggerFactory.Create(b => b.AddProvider(new FakeLoggerProvider(collector)).SetMinimumLevel(LogLevel.Debug));
3405using var loggerFactory = LoggerFactory.Create(b => b.AddProvider(new FakeLoggerProvider(collector)).SetMinimumLevel(LogLevel.Debug));
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Caching.Hybrid.Tests (3)
Microsoft.Extensions.Caching.Memory (3)
Microsoft.Extensions.DataIngestion (2)
Microsoft.Extensions.DataIngestion.Tests (5)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (3)
Microsoft.Extensions.Diagnostics.Testing.Tests (6)
Microsoft.Extensions.Hosting (9)
Microsoft.Extensions.Hosting.Systemd (2)
Microsoft.Extensions.Hosting.WindowsServices (4)
Microsoft.Extensions.Http (3)
Microsoft.Extensions.Http.Resilience.PerformanceTests (2)
Microsoft.Extensions.Localization (3)
Microsoft.Extensions.Logging (8)
Microsoft.Extensions.Logging.Abstractions (5)
Microsoft.Extensions.Logging.Console (16)
ConsoleLoggerExtensions.Obsolete.cs (16)
24public static Logging.ILoggerFactory AddConsole(this Logging.ILoggerFactory factory, Extensions.Configuration.IConfiguration configuration)
38public static Logging.ILoggerFactory AddConsole(this Logging.ILoggerFactory factory, Console.IConsoleLoggerSettings settings)
53public static Logging.ILoggerFactory AddConsole(this Logging.ILoggerFactory factory, Logging.LogLevel minLevel, bool includeScopes)
67public static Logging.ILoggerFactory AddConsole(this Logging.ILoggerFactory factory, Logging.LogLevel minLevel)
81public static Logging.ILoggerFactory AddConsole(this Logging.ILoggerFactory factory, bool includeScopes)
96public static Logging.ILoggerFactory AddConsole(this Logging.ILoggerFactory factory, System.Func<string, Logging.LogLevel, bool> filter, bool includeScopes)
110public static Logging.ILoggerFactory AddConsole(this Logging.ILoggerFactory factory, System.Func<string, Logging.LogLevel, bool> filter)
123public static Logging.ILoggerFactory AddConsole(this Logging.ILoggerFactory factory)
Microsoft.Extensions.Logging.Debug (7)
Microsoft.Extensions.Logging.EventLog (7)
Microsoft.Extensions.Logging.EventSource (5)
Microsoft.Extensions.Logging.TraceSource (16)
Microsoft.Extensions.Telemetry (4)
Microsoft.Extensions.Telemetry.PerformanceTests (1)
Microsoft.Extensions.Telemetry.Tests (33)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Maui (5)
Microsoft.Maui.Maps (3)
Microsoft.ML.GenAI.Samples (1)
Microsoft.NET.Build.Containers (8)
Microsoft.TemplateEngine.Abstractions (1)
Microsoft.TemplateEngine.Edge (3)
Microsoft.TemplateEngine.Utils (1)
Stress.ApiService (2)