93 implementations of Log
aspire (1)
Aspire.Dashboard (1)
Aspire.Dashboard.Components.Tests (3)
Aspire.Dashboard.Tests (3)
Aspire.Hosting (3)
ApplicationModel\ResourceLoggerService.cs (2)
117public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
575public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Hosting.Testing.Tests (3)
Aspire.Hosting.Tests (4)
Aspire.Playground.Tests (3)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v7.Tests (1)
BasicTestApp (1)
BuildValidator (2)
DemoLogger.cs (2)
40public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
71public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Diagnostics.EFCore.FunctionalTests (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (1)
InMemory.FunctionalTests (5)
HttpsTests.cs (2)
824public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
852public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Interop.FunctionalTests (1)
Microsoft.AspNetCore.Authorization.Test (1)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.Hosting.Tests (3)
HostingApplicationDiagnosticsTests.cs (2)
1305public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
1328public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Identity.Specification.Tests (1)
Microsoft.AspNetCore.InternalTesting (3)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
Microsoft.AspNetCore.TestHost.Tests (3)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.DotNet.Build.Tasks.Feed (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.TraceSource (1)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (3)
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 (1)
Microsoft.Maui (1)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
71 references to Log
Aspire.Confluent.Kafka (2)
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (1)
Aspire.Hosting (4)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (2)
Aspire.Playground.Tests (1)
Aspire.RabbitMQ.Client (1)
BasicTestApp (1)
EventHubsConsumer (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (1)
Microsoft.AspNetCore.FunctionalTests (8)
WebApplicationFunctionalTests.cs (6)
35logger.Log(LogLevel.Information, 0, "Message", null, (s, e) =>
42logger.Log(LogLevel.Warning, 0, "Message", null, (s, e) =>
78logger.Log(LogLevel.Information, 0, "Message", null, (s, e) =>
85logger.Log(LogLevel.Warning, 0, "Message", null, (s, e) =>
132logger.Log(LogLevel.Warning, 0, "Message", null, (s, e) =>
161logger.Log(LogLevel.Warning, 0, "Message", null, (s, e) =>
WebHostFunctionalTests.cs (2)
129logger.Log(LogLevel.Information, 0, "Message", null, (s, e) =>
136logger.Log(LogLevel.Warning, 0, "Message", null, (s, e) =>
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.HttpLogging (3)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
Microsoft.Extensions.AI (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.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.Telemetry (2)
Microsoft.Extensions.Telemetry.Abstractions (1)
Microsoft.Extensions.Telemetry.PerformanceTests (2)
Microsoft.Extensions.Telemetry.Tests (3)
Logging\ExtendedLoggerTests.cs (3)
154logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
936logger.Log(LogLevel.Warning, new EventId(2, "ID2"), "some state", null, (_, _) => "MSG2");
968logger.Log(LogLevel.Warning, new EventId(2, "ID2"), "some state", null, (_, _) => "MSG2");
Microsoft.Gen.Logging.Generated.Tests (1)
Stress.ApiService (1)