163 references to EventId
Aspire.RabbitMQ.Client (1)
IIS.Tests (2)
Microsoft.AspNetCore.Components (2)
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\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);
Microsoft.AspNetCore.HttpLogging (3)
Microsoft.AspNetCore.Identity (8)
Microsoft.AspNetCore.Identity.FunctionalTests (4)
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)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
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)
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)
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)
Microsoft.Extensions.ML (8)
Microsoft.Extensions.Telemetry.PerformanceTests (4)
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");