80 implementations of Log
Aspire.Dashboard.Components.Tests (3)
tests\Shared\Logging\TestLogger.cs (1)
38public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
tests\Shared\Logging\TestLoggerT.cs (1)
25public void Log<TState>(
tests\Shared\Logging\XunitLoggerProvider.cs (1)
59public void Log<TState>(
Aspire.Dashboard.Tests (3)
tests\Shared\Logging\TestLogger.cs (1)
38public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
tests\Shared\Logging\TestLoggerT.cs (1)
25public void Log<TState>(
tests\Shared\Logging\XunitLoggerProvider.cs (1)
59public void Log<TState>(
Aspire.Hosting.Testing.Tests (3)
tests\Shared\Logging\TestLogger.cs (1)
38public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
tests\Shared\Logging\TestLoggerT.cs (1)
25public void Log<TState>(
tests\Shared\Logging\XunitLoggerProvider.cs (1)
59public void Log<TState>(
Aspire.Hosting.Tests (4)
Dashboard\DashboardResourceTests.cs (1)
542public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
tests\Shared\Logging\TestLogger.cs (1)
38public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
tests\Shared\Logging\TestLoggerT.cs (1)
25public void Log<TState>(
tests\Shared\Logging\XunitLoggerProvider.cs (1)
59public void Log<TState>(
Aspire.Playground.Tests (3)
tests\Shared\Logging\TestLogger.cs (1)
38public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
tests\Shared\Logging\TestLoggerT.cs (1)
25public void Log<TState>(
tests\Shared\Logging\XunitLoggerProvider.cs (1)
59public void Log<TState>(
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQLoggingTests.cs (1)
211public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
BasicTestApp (1)
PrependMessageLoggerProvider.cs (1)
58public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
BuildValidator (2)
DemoLogger.cs (2)
42public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter) 73public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Diagnostics.EFCore.FunctionalTests (1)
Helpers\TestLoggerProvider.cs (1)
43public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
166public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
166public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
166public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
166public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
166public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
166public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
InMemory.FunctionalTests (5)
Http2\Http2EndToEndTests.cs (1)
126public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
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)
src\Servers\Kestrel\shared\test\MockLogger.cs (1)
21public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
209public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Authorization.Test (1)
DefaultAuthorizationServiceTests.cs (1)
1177public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\WebAssemblyConsoleLogger.cs (1)
44public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.AspNetCore.DataProtection.Tests (1)
StringLoggerFactory.cs (1)
61public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Hosting.Tests (3)
HostingApplicationDiagnosticsTests.cs (2)
1128public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 1151public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
WebHostTests.cs (1)
1358public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Identity.Specification.Tests (1)
TestLogger.cs (1)
60public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.InternalTesting (3)
Logging\TestLogger.cs (1)
42public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Logging\TestLoggerT.cs (1)
27public void Log<TState>(
Logging\XunitLoggerProvider.cs (1)
61public void Log<TState>(
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
TagHelperLogger.cs (1)
22public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelTrace.cs (1)
25public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
LoggingStreamTests.cs (1)
66public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
src\Servers\Kestrel\shared\test\MockLogger.cs (1)
21public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.SignalR.Tests (1)
NativeAotTests.cs (1)
417public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
src\Shared\SignalR\LogSinkProvider.cs (1)
71public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
src\Shared\SignalR\WrappingLoggerFactory.cs (1)
73public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
ListLoggerFactory.cs (1)
79public void Log<TState>(
Microsoft.AspNetCore.TestHost.Tests (3)
ClientHandlerTests.cs (1)
719public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) => formatter(state, exception);
HttpContextBuilderTests.cs (1)
355public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) => formatter(state, exception);
TestClientTests.cs (1)
744public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) => formatter(state, exception);
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\TestOutputLogger.cs (1)
31public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogger.cs (1)
63public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
DropMessageLogger.cs (1)
23public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Logging (1)
Logger.cs (1)
27public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Logging.Abstractions (3)
LoggerT.cs (1)
45void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
NullLogger.cs (1)
38public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
NullLoggerT.cs (1)
29public void Log<TState>(
Microsoft.Extensions.Logging.AzureAppServices (1)
BatchingLogger.cs (1)
70public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.Extensions.Logging.Console (1)
ConsoleLogger.cs (1)
46public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Logging.Debug (1)
DebugLogger.cs (1)
39public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Logging.EventLog (1)
EventLogLogger.cs (1)
70public void Log<TState>(
Microsoft.Extensions.Logging.EventSource (1)
EventSourceLogger.cs (1)
55public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Logging.TraceSource (1)
TraceSourceLogger.cs (1)
27public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Telemetry (1)
Logging\ExtendedLogger.cs (1)
40public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Telemetry.PerformanceTests (1)
BenchLogger.cs (1)
35public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Telemetry.Tests (4)
Logging\ExtendedLoggerFactoryTests.cs (2)
554public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter) 592public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Logging\ExtendedLoggerTests.cs (2)
821public void Log<TState>( 889public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter) => _provider.State = state?.ToString();
Microsoft.Gen.Logging.Generated.Tests (1)
Utils.cs (1)
63public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Maui (1)
Hosting\MauiAppBuilder.cs (1)
200 public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
59 references to Log
Aspire.Confluent.Kafka (2)
AspireKafkaConsumerExtensions.cs (1)
175logger.Log((LogLevel)logMessage.LevelAs(LogLevelType.MicrosoftExtensionsLogging), logMessage.Facility?.GetHashCode() ?? 0, logMessage.Message, null, static (value, ex) => value);
AspireKafkaProducerExtensions.cs (1)
175logger.Log((LogLevel)logMessage.LevelAs(LogLevelType.MicrosoftExtensionsLogging), logMessage.Facility?.GetHashCode() ?? 0, logMessage.Message, null, static (value, ex) => value);
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Logging\TestLoggerT.cs (1)
32_logger.Log(logLevel, eventId, state, exception, formatter);
Aspire.Dashboard.Tests (1)
tests\Shared\Logging\TestLoggerT.cs (1)
32_logger.Log(logLevel, eventId, state, exception, formatter);
Aspire.Hosting (2)
Dashboard\DashboardLifecycleHook.cs (1)
419logger.Log(
Dcp\DcpHostService.cs (1)
346logger.Log(logLevel, 0, message, null, static (value, ex) => value);
Aspire.Hosting.Testing.Tests (1)
tests\Shared\Logging\TestLoggerT.cs (1)
32_logger.Log(logLevel, eventId, state, exception, formatter);
Aspire.Hosting.Tests (1)
tests\Shared\Logging\TestLoggerT.cs (1)
32_logger.Log(logLevel, eventId, state, exception, formatter);
Aspire.Playground.Tests (1)
tests\Shared\Logging\TestLoggerT.cs (1)
32_logger.Log(logLevel, eventId, state, exception, formatter);
Aspire.RabbitMQ.Client (1)
RabbitMQEventSourceLogForwarder.cs (1)
44_logger.Log(level, eventId, new ErrorEventSourceEvent(eventData), null, s_formatErrorEvent);
BasicTestApp (1)
PrependMessageLoggerProvider.cs (1)
59=> _underlyingLogger.Log(logLevel, eventId, state, exception,
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
168Logger?.Log(logLevel, eventId, state, exception, formatter);
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
168Logger?.Log(logLevel, eventId, state, exception, formatter);
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
168Logger?.Log(logLevel, eventId, state, exception, formatter);
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
168Logger?.Log(logLevel, eventId, state, exception, formatter);
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
168Logger?.Log(logLevel, eventId, state, exception, formatter);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
168Logger?.Log(logLevel, eventId, state, exception, formatter);
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)
127logger.Log(LogLevel.Information, 0, "Message", null, (s, e) => 134logger.Log(LogLevel.Warning, 0, "Message", null, (s, e) =>
Microsoft.AspNetCore.Hosting (3)
Internal\HostingApplicationDiagnostics.cs (3)
258_logger.Log( 276_logger.Log( 288_logger.Log(
Microsoft.AspNetCore.HttpLogging (3)
HttpLoggingExtensions.cs (3)
10public static void RequestLog(this ILogger logger, HttpLog requestLog) => logger.Log( 16public static void ResponseLog(this ILogger logger, HttpLog responseLog) => logger.Log( 41public static void RequestResponseLog(this ILogger logger, HttpLog log) => logger.Log(
Microsoft.AspNetCore.InternalTesting (1)
Logging\TestLoggerT.cs (1)
34_logger.Log(logLevel, eventId, state, exception, formatter);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelTrace.cs (1)
26=> _generalLogger.Log(logLevel, eventId, state, exception, formatter);
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
ServerLogScope.cs (1)
60logger.Log(write.LogLevel, write.EventId, write.State, write.Exception, write.Formatter);
src\Shared\SignalR\WrappingLoggerFactory.cs (1)
87_logger.Log(logLevel, eventId, message, exception, (s, ex) => s);
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DefaultHealthCheckService.cs (1)
261logger.Log(
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogRecord.cs (1)
62/// When logging using the code generator logging model, the arguments you supply to the logging method are packaged into a single state object which is delivered to the <see cref="ILogger.Log"/>
Microsoft.Extensions.Http (4)
Logging\LogHelper.cs (4)
105logger.Log( 120logger.Log( 144logger.Log( 159logger.Log(
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\Log.cs (1)
136logger.Log(
Microsoft.Extensions.Logging (1)
Logger.cs (1)
56logger.Log(logLevel, eventId, state, exception, formatter);
Microsoft.Extensions.Logging.Abstractions (9)
LoggerExtensions.cs (1)
486logger.Log(logLevel, eventId, new FormattedLogValues(message, args), exception, _messageFormatter);
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);
LoggerT.cs (1)
47_logger.Log(logLevel, eventId, state, exception, formatter);
Microsoft.Extensions.Telemetry (2)
Logging\ExtendedLogger.cs (1)
355loggerInfo.Logger.Log(logLevel, eventId, joiner, exception, static (s, e) =>
Logging\Import\LoggerInformation.cs (1)
30LoggerLog = logger.Log<ExtendedLogger.ModernTagJoiner>;
Microsoft.Extensions.Telemetry.Abstractions (1)
Logging\LoggerMessageState.cs (1)
14/// Additional state to use with <see cref="ILogger.Log"/>.
Microsoft.Extensions.Telemetry.PerformanceTests (2)
ModernCodeGen.cs (2)
25logger.Log( 58logger.Log(
Microsoft.Gen.Logging.Generated.Tests (1)
Utils.cs (1)
64=> _logger.Log(logLevel, eventId, state, exception, formatter);
Stress.ApiService (1)
Program.cs (1)
131logger.Log(LogLevel.Information, 0, eventData, null, formatter: (_, _) => null!);