163 instantiations of EventId
Aspire.RabbitMQ.Client (1)
RabbitMQEventSourceLogForwarder.cs (1)
35var eventId = new EventId(eventData.EventId, eventData.EventName);
IIS.Tests (2)
MaxRequestBodySizeTests.cs (2)
358var badRequestLog = Assert.Single(TestSink.Writes, w => w.LoggerName == "Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer" && w.EventId == new EventId(4, "ConnectionBadRequest")); 360Assert.Equal(new EventId(2, "ApplicationError"), appErrorLog.EventId);
Microsoft.AspNetCore.Components (2)
Infrastructure\ComponentStatePersistenceManager.cs (2)
178logger.LogError(new EventId(1000, "PersistenceCallbackError"), ex, "There was an error executing a callback while pausing the application."); 190logger.LogError(new EventId(1000, "PersistenceCallbackError"), ex, "There was an error executing a callback while pausing the application.");
Microsoft.AspNetCore.Http.Extensions.Tests (35)
RequestDelegateFactoryTests.cs (7)
1583Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), log.EventId); 1682Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), log.EventId); 1948Assert.Equal(new EventId(1, "RequestBodyIOException"), logMessage.EventId); 1981Assert.Equal(new EventId(1, "RequestBodyIOException"), logMessage.EventId); 3204Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[0].EventId); 3208Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[1].EventId); 3212Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[2].EventId);
RequestDelegateGenerator\CompileTimeCreationTests.cs (2)
565Assert.Equal(new EventId(5, "ImplicitBodyNotProvided"), log1.EventId); 573Assert.Equal(new EventId(5, "ImplicitBodyNotProvided"), log2.EventId);
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (3)
393Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[0].EventId); 397Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[1].EventId); 401Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[2].EventId);
RequestDelegateGenerator\RequestDelegateCreationTests.BindAsync.cs (1)
144Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), log.EventId);
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (3)
345Assert.Equal(new EventId(7, "UnexpectedContentType"), logMessage.EventId); 941Assert.Equal(new EventId(1, "RequestBodyIOException"), logMessage.EventId); 975Assert.Equal(new EventId(8, "InvalidFormRequestBody"), logMessage.EventId);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (1)
476Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), log.EventId);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBodyOrService.cs (1)
133Assert.Equal(new EventId(5, "ImplicitBodyNotProvided"), log.EventId);
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (15)
49Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[0].EventId); 57Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[1].EventId); 65Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[2].EventId); 73Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[3].EventId); 112Assert.Equal(new EventId(3, "ParameterBindingFailed"), logs[0].EventId); 120Assert.Equal(new EventId(3, "ParameterBindingFailed"), logs[1].EventId); 232Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[0].EventId); 240Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[1].EventId); 312Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[0].EventId); 320Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), logs[1].EventId); 402Assert.Equal(new EventId(6, "UnexpectedContentType"), logMessage.EventId); 451Assert.Equal(new EventId(6, "UnexpectedContentType"), logMessage.EventId); 492Assert.Equal(new EventId(1, "RequestBodyIOException"), logMessage.EventId); 530Assert.Equal(new EventId(2, "InvalidJsonRequestBody"), logMessage.EventId); 610Assert.Equal(new EventId(2, "InvalidJsonRequestBody"), logMessage.EventId);
RequestDelegateGenerator\RequestDelegateCreationTests.QueryParameters.cs (1)
69Assert.Equal(new EventId(4, "RequiredParameterNotProvided"), log.EventId);
RequestDelegateGenerator\RuntimeCreationTests.ComplexFormBinding.cs (1)
183Assert.Equal(new EventId(10, "FormMappingFailed"), log.EventId);
Microsoft.AspNetCore.HttpLogging (3)
HttpLoggingExtensions.cs (3)
12new EventId(1, "RequestLog"), 18new EventId(2, "ResponseLog"), 43new EventId(9, "RequestResponseLog"),
Microsoft.AspNetCore.Identity (8)
EventIds.cs (8)
10public static EventId UserCannotSignInWithoutConfirmedEmail = new EventId(0, "UserCannotSignInWithoutConfirmedEmail"); 11public static EventId SecurityStampValidationFailed = new EventId(0, "SecurityStampValidationFailed"); 12public static EventId SecurityStampValidationFailedId4 = new EventId(4, "SecurityStampValidationFailed"); 13public static EventId UserCannotSignInWithoutConfirmedPhoneNumber = new EventId(1, "UserCannotSignInWithoutConfirmedPhoneNumber"); 14public static EventId InvalidPassword = new EventId(2, "InvalidPassword"); 15public static EventId UserLockedOut = new EventId(3, "UserLockedOut"); 16public static EventId UserCannotSignInWithoutConfirmedAccount = new EventId(4, "UserCannotSignInWithoutConfirmedAccount"); 17public static EventId TwoFactorSecurityStampValidationFailed = new EventId(5, "TwoFactorSecurityStampValidationFailed");
Microsoft.AspNetCore.Identity.FunctionalTests (4)
MapIdentityApiTests.cs (4)
445w.EventId == new EventId(3, "UserLockedOut")); 472w.EventId == new EventId(3, "UserLockedOut")); 499w.EventId == new EventId(4, "UserCannotSignInWithoutConfirmedAccount")); 524w.EventId == new EventId(0, "UserCannotSignInWithoutConfirmedEmail"));
Microsoft.AspNetCore.Identity.UI (17)
LoggerEventIds.cs (17)
16public static readonly EventId UserCreatedByExternalProvider = new EventId(1, "UserCreatedByExternalProvider"); 21public static readonly EventId UserLoggedInByExternalProvider = new EventId(2, "UserLoggedInByExternalProvider"); 26public static readonly EventId UserLogin = new EventId(3, "UserLogin"); 31public static readonly EventId UserLockout = new EventId(4, "UserLockout"); 36public static readonly EventId UserLoginWith2FA = new EventId(5, "UserLoginWith2FA"); 41public static readonly EventId InvalidAuthenticatorCode = new EventId(6, "InvalidAuthenticatorCode"); 46public static readonly EventId UserLoginWithRecoveryCode = new EventId(7, "UserLoginWithRecoveryCode"); 51public static readonly EventId InvalidRecoveryCode = new EventId(8, "InvalidRecoveryCode"); 56public static readonly EventId PasswordChanged = new EventId(9, "PasswordChanged"); 61public static readonly EventId UserDeleted = new EventId(10, "UserDeleted"); 66public static readonly EventId TwoFADisabled = new EventId(11, "TwoFADisabled"); 71public static readonly EventId PersonalDataRequested = new EventId(12, "PersonalDataRequested"); 76public static readonly EventId TwoFAEnabled = new EventId(13, "TwoFAEnabled"); 81public static readonly EventId TwoFARecoveryGenerated = new EventId(14, "TwoFARecoveryGenerated"); 86public static readonly EventId AuthenticationAppKeyReset = new EventId(15, "AuthenticationAppKeyReset"); 91public static readonly EventId UserCreated = new EventId(16, "UserCreated"); 96public static readonly EventId UserLoggedOut = new EventId(17, "UserLoggedOut");
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
Internal\RedisLog.cs (1)
73logger.LogDebug(new EventId(100, "RedisConnectionLog"), message);
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DefaultHealthCheckService.cs (1)
200public static readonly EventId HealthCheckData = new EventId(HealthCheckDataId, HealthCheckDataName);
Microsoft.Extensions.Diagnostics.Testing.Tests (6)
Logging\FakeLoggerTests.cs (6)
71logger.Log<int>(LogLevel.Error, new EventId(0), 42, null, (_, _) => "MESSAGE"); 84logger.Log(LogLevel.Debug, new EventId(1), l, null, (_, _) => "Nothing"); 99logger.Log<object?>(LogLevel.Error, new EventId(0), null, null, (_, _) => "MESSAGE"); 113logger.Log<object?>(LogLevel.Error, new EventId(0), null, null, (_, _) => "MESSAGE"); 129logger.Log(LogLevel.Error, new EventId(0), dt, null, (_, _) => "MESSAGE"); 137logger.Log(LogLevel.Debug, new EventId(1), l, null, (_, _) => "Nothing");
Microsoft.Extensions.Hosting (11)
Internal\LoggerEventIds.cs (11)
10public static readonly EventId Starting = new EventId(1, nameof(Starting)); 11public static readonly EventId Started = new EventId(2, nameof(Started)); 12public static readonly EventId Stopping = new EventId(3, nameof(Stopping)); 13public static readonly EventId Stopped = new EventId(4, nameof(Stopped)); 14public static readonly EventId StoppedWithException = new EventId(5, nameof(StoppedWithException)); 15public static readonly EventId ApplicationStartupException = new EventId(6, nameof(ApplicationStartupException)); 16public static readonly EventId ApplicationStoppingException = new EventId(7, nameof(ApplicationStoppingException)); 17public static readonly EventId ApplicationStoppedException = new EventId(8, nameof(ApplicationStoppedException)); 18public static readonly EventId BackgroundServiceFaulted = new EventId(9, nameof(BackgroundServiceFaulted)); 19public static readonly EventId BackgroundServiceStoppingHost = new EventId(10, nameof(BackgroundServiceStoppingHost)); 20public static readonly EventId HostedServiceStartupFaulted = new EventId(11, nameof(HostedServiceStartupFaulted));
Microsoft.Extensions.Http (14)
DefaultHttpClientFactory.cs (4)
320public static readonly EventId CleanupCycleStart = new EventId(100, "CleanupCycleStart"); 321public static readonly EventId CleanupCycleEnd = new EventId(101, "CleanupCycleEnd"); 322public static readonly EventId CleanupItemFailed = new EventId(102, "CleanupItemFailed"); 323public static readonly EventId HandlerExpired = new EventId(103, "HandlerExpired");
Logging\LogHelper.cs (10)
22public static readonly EventId RequestStart = new EventId(100, "RequestStart"); 23public static readonly EventId RequestEnd = new EventId(101, "RequestEnd"); 25public static readonly EventId RequestHeader = new EventId(102, "RequestHeader"); 26public static readonly EventId ResponseHeader = new EventId(103, "ResponseHeader"); 28public static readonly EventId RequestFailed = new EventId(104, "RequestFailed"); 30public static readonly EventId PipelineStart = new EventId(100, "RequestPipelineStart"); 31public static readonly EventId PipelineEnd = new EventId(101, "RequestPipelineEnd"); 33public static readonly EventId RequestPipelineRequestHeader = new EventId(102, "RequestPipelineRequestHeader"); 34public static readonly EventId RequestPipelineResponseHeader = new EventId(103, "RequestPipelineResponseHeader"); 36public static readonly EventId PipelineFailed = new EventId(104, "RequestPipelineFailed");
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\Log.cs (1)
138new(eventId, eventName),
Microsoft.Extensions.Identity.Core (15)
LoggerEventIds.cs (15)
10public static readonly EventId RoleValidationFailed = new EventId(0, "RoleValidationFailed"); 11public static readonly EventId InvalidPassword = new EventId(0, "InvalidPassword"); 12public static readonly EventId UserAlreadyHasPassword = new EventId(1, "UserAlreadyHasPassword"); 13public static readonly EventId ChangePasswordFailed = new EventId(2, "ChangePasswordFailed"); 14public static readonly EventId AddLoginFailed = new EventId(4, "AddLoginFailed"); 15public static readonly EventId UserAlreadyInRole = new EventId(5, "UserAlreadyInRole"); 16public static readonly EventId UserNotInRole = new EventId(6, "UserNotInRole"); 17public static readonly EventId PhoneNumberChanged = new EventId(7, "PhoneNumberChanged"); 18public static readonly EventId VerifyUserTokenFailed = new EventId(9, "VerifyUserTokenFailed"); 19public static readonly EventId VerifyTwoFactorTokenFailed = new EventId(10, "VerifyTwoFactorTokenFailed"); 20public static readonly EventId LockoutFailed = new EventId(11, "LockoutFailed"); 21public static readonly EventId UserLockedOut = new EventId(12, "UserLockedOut"); 22public static readonly EventId UserValidationFailed = new EventId(13, "UserValidationFailed"); 23public static readonly EventId PasswordValidationFailed = new EventId(14, "PasswordValidationFailed"); 24public static readonly EventId GetSecurityStampFailed = new EventId(15, "GetSecurityStampFailed");
Microsoft.Extensions.Logging.Abstractions (1)
EventId.cs (1)
20return new EventId(i);
Microsoft.Extensions.ML (8)
ModelLoaders\FileModelLoader.cs (4)
151public static readonly EventId FileReloadBegin = new EventId(100, "FileReloadBegin"); 152public static readonly EventId FileReloadEnd = new EventId(101, "FileReloadEnd"); 153public static readonly EventId FileReload = new EventId(102, "FileReload"); 154public static readonly EventId FileReloadError = new EventId(103, nameof(FileReloadError));
ModelLoaders\UriModelLoader.cs (4)
185public static readonly EventId UriReloadBegin = new EventId(100, "UriReloadBegin"); 186public static readonly EventId UriReloadEnd = new EventId(101, "UriReloadEnd"); 187public static readonly EventId UriReloadError = new EventId(102, "UriReloadError"); 188public static readonly EventId UriLoadError = new EventId(103, "UriLoadError");
Microsoft.Extensions.Telemetry.PerformanceTests (4)
ClassicCodeGen.cs (2)
19global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String, global::System.String, global::System.String, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(2037881459, nameof(RefTypes)), "Connection id '{connectionId}' received {type} frame for stream ID {streamId} with length {length} and flags {flags} and {other}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 30global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Int64, global::System.Int64, global::System.Int32, global::System.Guid>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(558429541, nameof(ValueTypes)), "Range [{start}..{end}], options {options}, guid {guid}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
ModernCodeGen.cs (2)
27new global::Microsoft.Extensions.Logging.EventId(0, nameof(RefTypes)), 60new global::Microsoft.Extensions.Logging.EventId(0, nameof(ValueTypes)),
Microsoft.Extensions.Telemetry.Tests (29)
Logging\ExtendedLoggerTests.cs (27)
68logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2"); 79Assert.Equal(new EventId(0), snap[0].Id); 95Assert.Equal(new EventId(2, "ID2"), snap[1].Id); 153logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2"); 164Assert.Equal(new EventId(0), snap[0].Id); 171Assert.Equal(new EventId(2, "ID2"), snap[1].Id); 213logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0"), null, null, (_, _) => "MSG0"); 214logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0b"), null, null, (_, _) => "MSG0b"); 217logger.Log(LogLevel.Warning, new EventId(2, "ID2"), (LoggerMessageState?)null, null, (_, _) => "MSG2"); 218logger.Log(LogLevel.Warning, new EventId(2, "ID2b"), (LoggerMessageState?)null, null, (_, _) => "MSG2b"); 229Assert.Equal(new EventId(0, "ID0"), snap[0].Id); 236Assert.Equal(new EventId(0, "ID0b"), snap[1].Id); 243Assert.Equal(new EventId(2, "ID2"), snap[2].Id); 250Assert.Equal(new EventId(2, "ID2b"), snap[3].Id); 278logger.Log(LogLevel.Warning, new EventId(0, "ID0"), e, null, (_, _) => "MSG0"); 289Assert.Equal(new EventId(0, "ID0"), snap[0].Id); 347logger.Log(LogLevel.Warning, new EventId(0, "ID0"), "PAYLOAD", null, (_, _) => "MSG0"); 358Assert.Equal(new EventId(0, "ID0"), snap[0].Id); 380logger.Log(LogLevel.Information, new EventId(0, "ID0"), "PAYLOAD", null, (_, _) => "MSG0"); 451logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0"), null, null, (_, _) => "MSG0"); 452logger.Log<object?>(LogLevel.Error, new EventId(0, "ID0b"), null, ex, (_, _) => "MSG0b"); 455logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2"); 456logger.Log(LogLevel.Warning, new EventId(2, "ID2b"), lms, ex, (_, _) => "MSG2b"); 467Assert.Equal(new EventId(0, "ID0"), snap[0].Id); 472Assert.Equal(new EventId(0, "ID0b"), snap[1].Id); 477Assert.Equal(new EventId(2, "ID2"), snap[2].Id); 482Assert.Equal(new EventId(2, "ID2b"), snap[3].Id);
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");
246 references to EventId
Aspire.Dashboard.Components.Tests (4)
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)
27EventId eventId,
tests\Shared\Logging\WriteContext.cs (1)
10public EventId EventId { get; set; }
tests\Shared\Logging\XunitLoggerProvider.cs (1)
60LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Dashboard.Tests (4)
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)
27EventId eventId,
tests\Shared\Logging\WriteContext.cs (1)
10public EventId EventId { get; set; }
tests\Shared\Logging\XunitLoggerProvider.cs (1)
60LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Hosting (1)
ApplicationModel\ResourceLoggerService.cs (1)
424public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Hosting.Testing.Tests (4)
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)
27EventId eventId,
tests\Shared\Logging\WriteContext.cs (1)
10public EventId EventId { get; set; }
tests\Shared\Logging\XunitLoggerProvider.cs (1)
60LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Hosting.Tests (5)
Dashboard\DashboardResourceTests.cs (1)
504public 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)
27EventId eventId,
tests\Shared\Logging\WriteContext.cs (1)
10public EventId EventId { get; set; }
tests\Shared\Logging\XunitLoggerProvider.cs (1)
60LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Playground.Tests (4)
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)
27EventId eventId,
tests\Shared\Logging\WriteContext.cs (1)
10public EventId EventId { get; set; }
tests\Shared\Logging\XunitLoggerProvider.cs (1)
60LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.RabbitMQ.Client (1)
RabbitMQEventSourceLogForwarder.cs (1)
35var eventId = new EventId(eventData.EventId, eventData.EventName);
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQLoggingTests.cs (1)
168public 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)
157public 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)
157public 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)
157public 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)
157public 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)
157public 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)
157public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
InMemory.FunctionalTests (7)
Http2\Http2EndToEndTests.cs (1)
126public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
HttpsTests.cs (3)
821public EventId LastEventId { get; set; } 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 (2)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 120public EventId EventId { get; set; }
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
208public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Authorization.Test (5)
DefaultAuthorizationServiceTests.cs (5)
1160private readonly Action<LogLevel, EventId, object, Exception, Func<object, Exception, string>> _assertion; 1162public DefaultAuthorizationServiceTestLogger(Action<LogLevel, EventId, object, Exception, Func<object, Exception, string>> assertion) 1177public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 1188static void Assertion(LogLevel level, EventId eventId, object state, Exception exception, Func<object, Exception, string> formatter) 1221static void Assertion(LogLevel level, EventId eventId, object state, Exception exception, Func<object, 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 (1)
Internal\HostingLoggerExtensions.cs (1)
27public static void ApplicationError(this ILogger logger, EventId eventId, string message, Exception exception)
Microsoft.AspNetCore.Hosting.Tests (3)
HostingApplicationDiagnosticsTests.cs (2)
1123public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 1146public 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 (8)
EventIds.cs (8)
10public static EventId UserCannotSignInWithoutConfirmedEmail = new EventId(0, "UserCannotSignInWithoutConfirmedEmail"); 11public static EventId SecurityStampValidationFailed = new EventId(0, "SecurityStampValidationFailed"); 12public static EventId SecurityStampValidationFailedId4 = new EventId(4, "SecurityStampValidationFailed"); 13public static EventId UserCannotSignInWithoutConfirmedPhoneNumber = new EventId(1, "UserCannotSignInWithoutConfirmedPhoneNumber"); 14public static EventId InvalidPassword = new EventId(2, "InvalidPassword"); 15public static EventId UserLockedOut = new EventId(3, "UserLockedOut"); 16public static EventId UserCannotSignInWithoutConfirmedAccount = new EventId(4, "UserCannotSignInWithoutConfirmedAccount"); 17public static EventId TwoFactorSecurityStampValidationFailed = new EventId(5, "TwoFactorSecurityStampValidationFailed");
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.Identity.UI (17)
LoggerEventIds.cs (17)
16public static readonly EventId UserCreatedByExternalProvider = new EventId(1, "UserCreatedByExternalProvider"); 21public static readonly EventId UserLoggedInByExternalProvider = new EventId(2, "UserLoggedInByExternalProvider"); 26public static readonly EventId UserLogin = new EventId(3, "UserLogin"); 31public static readonly EventId UserLockout = new EventId(4, "UserLockout"); 36public static readonly EventId UserLoginWith2FA = new EventId(5, "UserLoginWith2FA"); 41public static readonly EventId InvalidAuthenticatorCode = new EventId(6, "InvalidAuthenticatorCode"); 46public static readonly EventId UserLoginWithRecoveryCode = new EventId(7, "UserLoginWithRecoveryCode"); 51public static readonly EventId InvalidRecoveryCode = new EventId(8, "InvalidRecoveryCode"); 56public static readonly EventId PasswordChanged = new EventId(9, "PasswordChanged"); 61public static readonly EventId UserDeleted = new EventId(10, "UserDeleted"); 66public static readonly EventId TwoFADisabled = new EventId(11, "TwoFADisabled"); 71public static readonly EventId PersonalDataRequested = new EventId(12, "PersonalDataRequested"); 76public static readonly EventId TwoFAEnabled = new EventId(13, "TwoFAEnabled"); 81public static readonly EventId TwoFARecoveryGenerated = new EventId(14, "TwoFARecoveryGenerated"); 86public static readonly EventId AuthenticationAppKeyReset = new EventId(15, "AuthenticationAppKeyReset"); 91public static readonly EventId UserCreated = new EventId(16, "UserCreated"); 96public static readonly EventId UserLoggedOut = new EventId(17, "UserLoggedOut");
Microsoft.AspNetCore.InternalTesting (4)
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)
29EventId eventId,
Logging\WriteContext.cs (1)
12public EventId EventId { get; set; }
Logging\XunitLoggerProvider.cs (1)
62LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
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 (4)
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 (2)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 120public EventId EventId { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (2)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 120public EventId EventId { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (2)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 120public EventId EventId { get; set; }
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 (3)
src\Shared\SignalR\LogSinkProvider.cs (2)
32public void Log<TState>(string categoryName, 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)
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 (4)
ListLoggerFactory.cs (4)
28public List<(LogLevel Level, EventId Id, string Message, object State, Exception Exception)> Log => Logger.LoggedEvents; 68public List<(LogLevel, EventId, string, object, Exception)> LoggedEvents { get; } 69= new List<(LogLevel, EventId, string, object, Exception)>(); 80LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
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 (1)
Logging\LspLogMessageLogger.cs (1)
36public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
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.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\DiagnosticReporterLoggerProvider.cs (1)
48public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DefaultHealthCheckService.cs (1)
200public static readonly EventId HealthCheckData = new EventId(HealthCheckDataId, HealthCheckDataName);
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (10)
HealthCheckPublisherHostedServiceTest.cs (10)
25public static readonly EventId HealthCheckProcessingBegin = new EventId(DefaultHealthCheckService.EventIds.HealthCheckProcessingBeginId, DefaultHealthCheckService.EventIds.HealthCheckProcessingBeginName); 26public static readonly EventId HealthCheckProcessingEnd = new EventId(DefaultHealthCheckService.EventIds.HealthCheckProcessingEndId, DefaultHealthCheckService.EventIds.HealthCheckProcessingEndName); 27public static readonly EventId HealthCheckBegin = new EventId(DefaultHealthCheckService.EventIds.HealthCheckBeginId, DefaultHealthCheckService.EventIds.HealthCheckBeginName); 28public static readonly EventId HealthCheckEnd = new EventId(DefaultHealthCheckService.EventIds.HealthCheckEndId, DefaultHealthCheckService.EventIds.HealthCheckEndName); 32public static readonly EventId HealthCheckPublisherProcessingBegin = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingBeginId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingBeginName); 33public static readonly EventId HealthCheckPublisherProcessingEnd = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingEndId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingEndName); 34public static readonly EventId HealthCheckPublisherBegin = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherBeginId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherBeginName); 35public static readonly EventId HealthCheckPublisherEnd = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherEndId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherEndName); 36public static readonly EventId HealthCheckPublisherError = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherErrorId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherErrorName); 37public static readonly EventId HealthCheckPublisherTimeout = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherTimeoutId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherTimeoutName);
Microsoft.Extensions.Diagnostics.Testing (3)
Logging\FakeLogger.cs (1)
63public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Logging\FakeLogRecord.cs (2)
29public FakeLogRecord(LogLevel level, EventId id, object? state, Exception? exception, string message, IReadOnlyList<object?> scopes, string? category, bool enabled, DateTimeOffset timestamp) 51public EventId Id { get; }
Microsoft.Extensions.Hosting (12)
Internal\HostingLoggerExtensions.cs (1)
13public static void ApplicationError(this ILogger logger, EventId eventId, string? message, Exception? exception)
Internal\LoggerEventIds.cs (11)
10public static readonly EventId Starting = new EventId(1, nameof(Starting)); 11public static readonly EventId Started = new EventId(2, nameof(Started)); 12public static readonly EventId Stopping = new EventId(3, nameof(Stopping)); 13public static readonly EventId Stopped = new EventId(4, nameof(Stopped)); 14public static readonly EventId StoppedWithException = new EventId(5, nameof(StoppedWithException)); 15public static readonly EventId ApplicationStartupException = new EventId(6, nameof(ApplicationStartupException)); 16public static readonly EventId ApplicationStoppingException = new EventId(7, nameof(ApplicationStoppingException)); 17public static readonly EventId ApplicationStoppedException = new EventId(8, nameof(ApplicationStoppedException)); 18public static readonly EventId BackgroundServiceFaulted = new EventId(9, nameof(BackgroundServiceFaulted)); 19public static readonly EventId BackgroundServiceStoppingHost = new EventId(10, nameof(BackgroundServiceStoppingHost)); 20public static readonly EventId HostedServiceStartupFaulted = new EventId(11, nameof(HostedServiceStartupFaulted));
Microsoft.Extensions.Http (14)
DefaultHttpClientFactory.cs (4)
320public static readonly EventId CleanupCycleStart = new EventId(100, "CleanupCycleStart"); 321public static readonly EventId CleanupCycleEnd = new EventId(101, "CleanupCycleEnd"); 322public static readonly EventId CleanupItemFailed = new EventId(102, "CleanupItemFailed"); 323public static readonly EventId HandlerExpired = new EventId(103, "HandlerExpired");
Logging\LogHelper.cs (10)
22public static readonly EventId RequestStart = new EventId(100, "RequestStart"); 23public static readonly EventId RequestEnd = new EventId(101, "RequestEnd"); 25public static readonly EventId RequestHeader = new EventId(102, "RequestHeader"); 26public static readonly EventId ResponseHeader = new EventId(103, "ResponseHeader"); 28public static readonly EventId RequestFailed = new EventId(104, "RequestFailed"); 30public static readonly EventId PipelineStart = new EventId(100, "RequestPipelineStart"); 31public static readonly EventId PipelineEnd = new EventId(101, "RequestPipelineEnd"); 33public static readonly EventId RequestPipelineRequestHeader = new EventId(102, "RequestPipelineRequestHeader"); 34public static readonly EventId RequestPipelineResponseHeader = new EventId(103, "RequestPipelineResponseHeader"); 36public static readonly EventId PipelineFailed = new EventId(104, "RequestPipelineFailed");
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (2)
DropMessageLogger.cs (2)
11internal static readonly Func<LogLevel, EventId, object, Exception, object?> CreateLogRecord 23public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Identity.Core (15)
LoggerEventIds.cs (15)
10public static readonly EventId RoleValidationFailed = new EventId(0, "RoleValidationFailed"); 11public static readonly EventId InvalidPassword = new EventId(0, "InvalidPassword"); 12public static readonly EventId UserAlreadyHasPassword = new EventId(1, "UserAlreadyHasPassword"); 13public static readonly EventId ChangePasswordFailed = new EventId(2, "ChangePasswordFailed"); 14public static readonly EventId AddLoginFailed = new EventId(4, "AddLoginFailed"); 15public static readonly EventId UserAlreadyInRole = new EventId(5, "UserAlreadyInRole"); 16public static readonly EventId UserNotInRole = new EventId(6, "UserNotInRole"); 17public static readonly EventId PhoneNumberChanged = new EventId(7, "PhoneNumberChanged"); 18public static readonly EventId VerifyUserTokenFailed = new EventId(9, "VerifyUserTokenFailed"); 19public static readonly EventId VerifyTwoFactorTokenFailed = new EventId(10, "VerifyTwoFactorTokenFailed"); 20public static readonly EventId LockoutFailed = new EventId(11, "LockoutFailed"); 21public static readonly EventId UserLockedOut = new EventId(12, "UserLockedOut"); 22public static readonly EventId UserValidationFailed = new EventId(13, "UserValidationFailed"); 23public static readonly EventId PasswordValidationFailed = new EventId(14, "PasswordValidationFailed"); 24public static readonly EventId GetSecurityStampFailed = new EventId(15, "GetSecurityStampFailed");
Microsoft.Extensions.Logging (2)
Logger.cs (2)
27public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter) 52static void LoggerLog(LogLevel logLevel, EventId eventId, ILogger logger, Exception? exception, Func<TState, Exception?, string> formatter, ref List<Exception>? exceptions, in TState state)
Microsoft.Extensions.Logging.Abstractions (51)
BufferedLogRecord.cs (1)
33public abstract EventId EventId { get; }
EventId.cs (15)
12public readonly struct EventId : IEquatable<EventId> 18public static implicit operator EventId(int i) 24/// Checks if two specified <see cref="EventId"/> instances have the same value. They are equal if they have the same ID. 26/// <param name="left">The first <see cref="EventId"/>.</param> 27/// <param name="right">The second <see cref="EventId"/>.</param> 29public static bool operator ==(EventId left, EventId right) 35/// Checks if two specified <see cref="EventId"/> instances have different values. 37/// <param name="left">The first <see cref="EventId"/>.</param> 38/// <param name="right">The second <see cref="EventId"/>.</param> 40public static bool operator !=(EventId left, EventId right) 46/// Initializes an instance of the <see cref="EventId"/> struct. 77public bool Equals(EventId other) 90return obj is EventId eventId && Equals(eventId);
ILogger.cs (1)
23void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter);
LogDefineOptions.cs (1)
9/// Options for <see cref="LoggerMessage.Define(LogLevel, EventId, string)"/> and its overloads.
LogEntry.cs (2)
22public LogEntry(LogLevel logLevel, string category, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter) 45public EventId EventId { get; }
LoggerExtensions.cs (14)
30public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args) 47public static void LogDebug(this ILogger logger, EventId eventId, string? message, params object?[] args) 100public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args) 117public static void LogTrace(this ILogger logger, EventId eventId, string? message, params object?[] args) 170public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args) 187public static void LogInformation(this ILogger logger, EventId eventId, string? message, params object?[] args) 240public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args) 257public static void LogWarning(this ILogger logger, EventId eventId, string? message, params object?[] args) 310public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args) 327public static void LogError(this ILogger logger, EventId eventId, string? message, params object?[] args) 380public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args) 397public static void LogCritical(this ILogger logger, EventId eventId, string? message, params object?[] args) 455public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, string? message, params object?[] args) 482public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string? message, params object?[] args)
LoggerMessage.cs (14)
130public static Action<ILogger, Exception?> Define(LogLevel logLevel, EventId eventId, string formatString) 141public static Action<ILogger, Exception?> Define(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options) 172public static Action<ILogger, T1, Exception?> Define<T1>(LogLevel logLevel, EventId eventId, string formatString) 184public static Action<ILogger, T1, Exception?> Define<T1>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options) 216public static Action<ILogger, T1, T2, Exception?> Define<T1, T2>(LogLevel logLevel, EventId eventId, string formatString) 229public static Action<ILogger, T1, T2, Exception?> Define<T1, T2>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options) 262public static Action<ILogger, T1, T2, T3, Exception?> Define<T1, T2, T3>(LogLevel logLevel, EventId eventId, string formatString) 276public static Action<ILogger, T1, T2, T3, Exception?> Define<T1, T2, T3>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options) 310public static Action<ILogger, T1, T2, T3, T4, Exception?> Define<T1, T2, T3, T4>(LogLevel logLevel, EventId eventId, string formatString) 325public static Action<ILogger, T1, T2, T3, T4, Exception?> Define<T1, T2, T3, T4>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options) 360public static Action<ILogger, T1, T2, T3, T4, T5, Exception?> Define<T1, T2, T3, T4, T5>(LogLevel logLevel, EventId eventId, string formatString) 376public static Action<ILogger, T1, T2, T3, T4, T5, Exception?> Define<T1, T2, T3, T4, T5>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options) 412public static Action<ILogger, T1, T2, T3, T4, T5, T6, Exception?> Define<T1, T2, T3, T4, T5, T6>(LogLevel logLevel, EventId eventId, string formatString) 429public static Action<ILogger, T1, T2, T3, T4, T5, T6, Exception?> Define<T1, T2, T3, T4, T5, T6>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
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)
31EventId eventId,
Microsoft.Extensions.Logging.AzureAppServices (2)
BatchingLogger.cs (2)
31public void Log<TState>(DateTimeOffset timestamp, LogLevel logLevel, EventId _, TState state, Exception exception, Func<TState, Exception, string> formatter) 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)
72EventId eventId,
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.ML (8)
ModelLoaders\FileModelLoader.cs (4)
151public static readonly EventId FileReloadBegin = new EventId(100, "FileReloadBegin"); 152public static readonly EventId FileReloadEnd = new EventId(101, "FileReloadEnd"); 153public static readonly EventId FileReload = new EventId(102, "FileReload"); 154public static readonly EventId FileReloadError = new EventId(103, nameof(FileReloadError));
ModelLoaders\UriModelLoader.cs (4)
185public static readonly EventId UriReloadBegin = new EventId(100, "UriReloadBegin"); 186public static readonly EventId UriReloadEnd = new EventId(101, "UriReloadEnd"); 187public static readonly EventId UriReloadError = new EventId(102, "UriReloadError"); 188public static readonly EventId UriLoadError = new EventId(103, "UriLoadError");
Microsoft.Extensions.Telemetry (4)
Logging\ExtendedLogger.cs (3)
40public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter) 208private void ModernPath(LogLevel logLevel, EventId eventId, LoggerMessageState msgState, Exception? exception, Func<LoggerMessageState, Exception?, string> formatter) 298private void LegacyPath<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Logging\Import\LoggerInformation.cs (1)
35public Action<LogLevel, EventId, ExtendedLogger.ModernTagJoiner, Exception?, Func<ExtendedLogger.ModernTagJoiner, Exception?, string>> LoggerLog { get; }
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)
823EventId eventId, 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)
Sockets.BindTests (2)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (2)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 120public EventId EventId { get; set; }
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (2)
64public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter) 120public EventId EventId { get; set; }