69 implementations of Log
aspire (2)
Aspire.Cli.Tests (4)
Aspire.Dashboard (1)
Aspire.Dashboard.Components.Tests (3)
Aspire.Dashboard.Tests (3)
Aspire.Hosting (4)
ApplicationModel\ResourceLoggerService.cs (2)
119public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
832public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Hosting.EntityFrameworkCore.Tests (1)
Aspire.Hosting.Radius.Tests (1)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.Testing.Tests (3)
Aspire.Hosting.Tests (2)
Aspire.Hosting.TestUtilities (3)
Aspire.Playground.Tests (3)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v6.Tests (1)
dotnet-format (1)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.InternalTesting (3)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.DotNet.HotReload.Watch (2)
Microsoft.Extensions.AI.Templates.Tests (1)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (3)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.Logging.Debug (1)
Microsoft.Extensions.Logging.EventLog (1)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Extensions.Logging.MSBuild (1)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Extensions.Telemetry.PerformanceTests (1)
Microsoft.Extensions.Telemetry.Tests (4)
Logging\ExtendedLoggerFactoryTests.cs (2)
569public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
607public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Gen.Logging.Generated.Tests (3)
LogMethodTests.cs (2)
28public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
41public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Maui (1)
88 references to Log
Aspire.Cli.Tests (1)
Aspire.Confluent.Kafka (2)
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (1)
Aspire.Hosting (4)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (1)
Aspire.Hosting.TestUtilities (1)
Aspire.Playground.Tests (1)
Aspire.RabbitMQ.Client (1)
EventHubsConsumer (1)
Microsoft.AspNetCore.Components (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoggerMessage.g.cs (1)
241logger.Log(
Microsoft.AspNetCore.Components.Endpoints (3)
Microsoft.AspNetCore.Components.Server (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoggerMessage.g.cs (1)
1189logger.Log(
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.Http.Extensions (3)
Microsoft.AspNetCore.HttpLogging (3)
Microsoft.AspNetCore.Identity (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoggerMessage.g.cs (1)
69logger.Log(
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Mvc.Core (5)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoggerMessage.g.cs (2)
291logger.Log(
1150logger.Log(
Microsoft.AspNetCore.SignalR.Core (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoggerMessage.g.cs (1)
165logger.Log(
Microsoft.DotNet.HotReload.Watch (1)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Http (4)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (9)
LoggerMessage.cs (7)
147logger.Log(logLevel, eventId, new LogValues(formatter), exception, LogValues.Callback);
190logger.Log(logLevel, eventId, new LogValues<T1>(formatter, arg1), exception, LogValues<T1>.Callback);
235logger.Log(logLevel, eventId, new LogValues<T1, T2>(formatter, arg1, arg2), exception, LogValues<T1, T2>.Callback);
282logger.Log(logLevel, eventId, new LogValues<T1, T2, T3>(formatter, arg1, arg2, arg3), exception, LogValues<T1, T2, T3>.Callback);
331logger.Log(logLevel, eventId, new LogValues<T1, T2, T3, T4>(formatter, arg1, arg2, arg3, arg4), exception, LogValues<T1, T2, T3, T4>.Callback);
382logger.Log(logLevel, eventId, new LogValues<T1, T2, T3, T4, T5>(formatter, arg1, arg2, arg3, arg4, arg5), exception, LogValues<T1, T2, T3, T4, T5>.Callback);
435logger.Log(logLevel, eventId, new LogValues<T1, T2, T3, T4, T5, T6>(formatter, arg1, arg2, arg3, arg4, arg5, arg6), exception, LogValues<T1, T2, T3, T4, T5, T6>.Callback);
Microsoft.Extensions.Telemetry (3)
Microsoft.Extensions.Telemetry.Abstractions (1)
Microsoft.Extensions.Telemetry.PerformanceTests (2)
Microsoft.Extensions.Telemetry.Tests (22)
Logging\ExtendedLoggerTests.cs (20)
73logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
154logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
190logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
250logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0"), null, null, (_, _) => "MSG0");
251logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0b"), null, null, (_, _) => "MSG0b");
254logger.Log(LogLevel.Warning, new EventId(2, "ID2"), (LoggerMessageState?)null, null, (_, _) => "MSG2");
255logger.Log(LogLevel.Warning, new EventId(2, "ID2b"), (LoggerMessageState?)null, null, (_, _) => "MSG2b");
315logger.Log(LogLevel.Warning, new EventId(0, "ID0"), e, null, (_, _) => "MSG0");
384logger.Log(LogLevel.Warning, new EventId(0, "ID0"), "PAYLOAD", null, (_, _) => "MSG0");
417logger.Log(LogLevel.Information, new EventId(0, "ID0"), "PAYLOAD", null, (_, _) => "MSG0");
488logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0"), null, null, (_, _) => "MSG0");
489logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0b"), null, ex, (_, _) => "MSG0b");
492logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
493logger.Log(LogLevel.Warning, new EventId(2, "ID2b"), lms, ex, (_, _) => "MSG2b");
847logger.Log(LogLevel.Warning, new EventId(1, "ID1"), state, exception, (_, _) => "MSG");
895logger.Log(LogLevel.Warning, new EventId(1, "ID1"), list, exception, (_, _) => "MSG");
906logger.Log(LogLevel.Warning, new EventId(1, "ID1"), enumerable, exception, (_, _) => "MSG");
910logger.Log(LogLevel.Warning, new EventId(1, "ID1"), "V4", exception, (_, _) => "MSG");
941logger.Log(LogLevel.Warning, new EventId(2, "ID2"), "some state", null, (_, _) => "MSG2");
973logger.Log(LogLevel.Warning, new EventId(2, "ID2"), "some state", null, (_, _) => "MSG2");
Logging\SerialExtendedLoggerTests.cs (2)
52logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0"), null, null, (_, _) => "MSG0");
55logger.Log(LogLevel.Warning, new EventId(2, "ID2"), (LoggerMessageState?)null, null, (_, _) => "MSG2");
Microsoft.Gen.Logging.Generated.Tests (1)
Stress.ApiService (1)