388 instantiations of EventId
Aspire.Cli.Tests (4)
Aspire.Dashboard (1)
Aspire.RabbitMQ.Client (1)
IIS.Tests (2)
Microsoft.AspNetCore.Antiforgery (2)
Microsoft.AspNetCore.Authentication (2)
Microsoft.AspNetCore.Authentication.BearerToken (2)
Microsoft.AspNetCore.Authentication.Certificate (2)
Microsoft.AspNetCore.Authentication.Cookies (2)
Microsoft.AspNetCore.Authentication.JwtBearer (2)
Microsoft.AspNetCore.Authentication.Negotiate (2)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
Microsoft.AspNetCore.Authentication.Twitter (2)
Microsoft.AspNetCore.Authentication.WsFederation (2)
Microsoft.AspNetCore.Authorization (2)
Microsoft.AspNetCore.Components (4)
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Components.Server (2)
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebAssembly (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Components.WebView (2)
Microsoft.AspNetCore.CookiePolicy (2)
Microsoft.AspNetCore.Cors (2)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (2)
Microsoft.AspNetCore.Diagnostics (2)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.HostFiltering (2)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Http.Connections.Client (2)
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.Http.Results (2)
Microsoft.AspNetCore.HttpLogging (5)
Microsoft.AspNetCore.HttpOverrides (2)
Microsoft.AspNetCore.HttpsPolicy (2)
Microsoft.AspNetCore.Identity (27)
EventIds.cs (12)
10public static readonly EventId UserCannotSignInWithoutConfirmedEmail = new(0, "UserCannotSignInWithoutConfirmedEmail");
11public static readonly EventId SecurityStampValidationFailed = new(0, "SecurityStampValidationFailed");
12public static readonly EventId SecurityStampValidationFailedId4 = new(4, "SecurityStampValidationFailed");
13public static readonly EventId UserCannotSignInWithoutConfirmedPhoneNumber = new(1, "UserCannotSignInWithoutConfirmedPhoneNumber");
14public static readonly EventId InvalidPassword = new(2, "InvalidPassword");
15public static readonly EventId UserLockedOut = new(3, "UserLockedOut");
16public static readonly EventId UserCannotSignInWithoutConfirmedAccount = new(4, "UserCannotSignInWithoutConfirmedAccount");
17public static readonly EventId TwoFactorSecurityStampValidationFailed = new(5, "TwoFactorSecurityStampValidationFailed");
18public static readonly EventId NoPasskeyCreationOptions = new(6, "NoPasskeyCreationOptions");
19public static readonly EventId UserDoesNotMatchPasskeyCreationOptions = new(7, "UserDoesNotMatchPasskeyCreationOptions");
20public static readonly EventId PasskeyAttestationFailed = new(8, "PasskeyAttestationFailed");
21public static readonly EventId PasskeyAssertionFailed = new(9, "PasskeyAssertionFailed");
GeneratedRouteBuilderExtensions.g.cs (8)
1538LoggerMessage.Define(LogLevel.Debug, new EventId(1, "RequestBodyIOException"), "Reading the request body failed with an IOException.");
1555LoggerMessage.Define<string, string>(LogLevel.Debug, new EventId(2, "InvalidJsonRequestBody"), "Failed to read parameter \"{ParameterType} {ParameterName}\" from the request body as JSON.");
1572LoggerMessage.Define<string, string, string>(LogLevel.Debug, new EventId(3, "ParameterBindingFailed"), "Failed to bind parameter \"{ParameterType} {ParameterName}\" from \"{SourceValue}\".");
1589LoggerMessage.Define<string, string, string>(LogLevel.Debug, new EventId(4, "RequiredParameterNotProvided"), "Required parameter \"{ParameterType} {ParameterName}\" was not provided from {Source}.");
1606LoggerMessage.Define<string>(LogLevel.Debug, new EventId(5, "ImplicitBodyNotProvided"), "Implicit body inferred for parameter \"{ParameterName}\" but no body was provided. Did you mean to use a Service instead?");
1623LoggerMessage.Define<string>(LogLevel.Debug, new EventId(6, "UnexpectedContentType"), "Expected a supported JSON media type but got \"{ContentType}\".");
1640LoggerMessage.Define<string>(LogLevel.Debug, new EventId(7, "UnexpectedNonFormContentType"), "Expected a supported form media type but got \"{ContentType}\".");
1657LoggerMessage.Define<string, string>(LogLevel.Debug, new EventId(8, "InvalidFormRequestBody"), "Failed to read parameter \"{ParameterType} {ParameterName}\" from the request body as form.");
LoggerMessage.g.cs (7)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(0, "InvalidExpirationTime"), "ValidateAsync failed: the expiration time is invalid.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
26global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "UserIdsNotEquals"), "ValidateAsync failed: did not find expected UserId.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
42global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "PurposeNotEquals"), "ValidateAsync failed: did not find expected purpose. '{ActualPurpose}' does not match the expected purpose '{ExpectedPurpose}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
58global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "UnexpectedEndOfInput"), "ValidateAsync failed: unexpected end of input.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
74global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "SecurityStampNotEquals"), "ValidateAsync failed: did not find expected security stamp.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
90global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "SecurityStampIsNotEmpty"), "ValidateAsync failed: the expected stamp is not empty.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
106global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(6, "UnhandledException"), "ValidateAsync failed: unhandled exception was thrown.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
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.Localization (2)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.Mvc.Cors (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.AspNetCore.Mvc.RazorPages (2)
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.OpenApi (8)
GeneratedRouteBuilderExtensions.g.cs (8)
1538LoggerMessage.Define(LogLevel.Debug, new EventId(1, "RequestBodyIOException"), "Reading the request body failed with an IOException.");
1555LoggerMessage.Define<string, string>(LogLevel.Debug, new EventId(2, "InvalidJsonRequestBody"), "Failed to read parameter \"{ParameterType} {ParameterName}\" from the request body as JSON.");
1572LoggerMessage.Define<string, string, string>(LogLevel.Debug, new EventId(3, "ParameterBindingFailed"), "Failed to bind parameter \"{ParameterType} {ParameterName}\" from \"{SourceValue}\".");
1589LoggerMessage.Define<string, string, string>(LogLevel.Debug, new EventId(4, "RequiredParameterNotProvided"), "Required parameter \"{ParameterType} {ParameterName}\" was not provided from {Source}.");
1606LoggerMessage.Define<string>(LogLevel.Debug, new EventId(5, "ImplicitBodyNotProvided"), "Implicit body inferred for parameter \"{ParameterName}\" but no body was provided. Did you mean to use a Service instead?");
1623LoggerMessage.Define<string>(LogLevel.Debug, new EventId(6, "UnexpectedContentType"), "Expected a supported JSON media type but got \"{ContentType}\".");
1640LoggerMessage.Define<string>(LogLevel.Debug, new EventId(7, "UnexpectedNonFormContentType"), "Expected a supported form media type but got \"{ContentType}\".");
1657LoggerMessage.Define<string, string>(LogLevel.Debug, new EventId(8, "InvalidFormRequestBody"), "Failed to read parameter \"{ParameterType} {ParameterName}\" from the request body as form.");
Microsoft.AspNetCore.OutputCaching (2)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (2)
Microsoft.AspNetCore.RateLimiting (2)
Microsoft.AspNetCore.RequestDecompression (2)
Microsoft.AspNetCore.ResponseCaching (2)
Microsoft.AspNetCore.ResponseCompression (2)
Microsoft.AspNetCore.Rewrite (2)
Microsoft.AspNetCore.Routing (2)
Microsoft.AspNetCore.Server.HttpSys (58)
LoggerMessage.g.cs (58)
12global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(50, "AcceptSetResultFailed"), "Error attempting to set 'accept' outcome", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
28global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Critical, new global::Microsoft.Extensions.Logging.EventId(51, "AcceptSetExpectationMismatch"), "Mismatch setting callback expectation - {Value}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
44global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Critical, new global::Microsoft.Extensions.Logging.EventId(52, "AcceptCancelExpectationMismatch"), "Mismatch canceling accept state - {Value}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
60global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Critical, new global::Microsoft.Extensions.Logging.EventId(53, "AcceptObserveExpectationMismatch"), "Mismatch observing {Kind} accept callback - {Value}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
85global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(23, "ChannelBindingMissing"), "GetChannelBindingFromTls", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
101global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(22, "ChannelBindingUnsupported"), "GetChannelBindingFromTls; Channel binding is not supported.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
126global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(13, "DisconnectHandlerError"), "CreateDisconnectToken Callback", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
142global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(10, "DisconnectRegistrationError"), "Unable to register for disconnect notifications.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
158global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(48, "CreateDisconnectTokenError"), "CreateDisconnectToken", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
174global::Microsoft.Extensions.Logging.LoggerMessage.Define<ulong>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(44, "DisconnectTriggered"), "CreateDisconnectToken; http.sys disconnect callback fired for connection ID: {ConnectionId}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
190global::Microsoft.Extensions.Logging.LoggerMessage.Define<ulong>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(11, "RegisterDisconnectListener"), "CreateDisconnectToken; Registering connection for disconnect for connection ID: {ConnectionId}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
206global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(12, "UnknownDisconnectError"), "HttpWaitForDisconnectEx", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
231global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(15, "ListenerDisposeError"), "Dispose", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
247global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(46, "ListenerDisposing"), "Disposing the listener.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
263global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(1, "HttpSysListenerCtorError"), ".Ctor", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
279global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(43, "ListenerStartError"), "Start", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
295global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(14, "ListenerStarting"), "Starting the listener.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
311global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(45, "ListenerStopError"), "Stop", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
327global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(42, "ListenerStopping"), "Stopping the listener.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
343global::Microsoft.Extensions.Logging.LoggerMessage.Define<ulong>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(47, "RequestValidationFailed"), "Error validating request {RequestId}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
368global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(5, "AcceptError"), "Failed to accept a request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
384global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "AcceptErrorStopping"), "Failed to accept a request, the server is stopping.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
400global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "BindingToDefault"), "No listening endpoints were configured. Binding to http://localhost:5000 by default.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
416global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(37, "ClearedAddresses"), "Overriding address(es) '{ServerAddresses}'. Binding to endpoints added to UrlPrefixes instead.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
429global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(3, "ClearedPrefixes"), "Overriding endpoints added to UrlPrefixes since PreferHostingUrls is set to true. Binding to address(es) '{ServerAddresses}' instead.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
442global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(16, "RequestListenerProcessError"), "ProcessRequestAsync", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
458global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(8, "StopCancelled"), "Canceled, terminating {OutstandingRequests} request(s).", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
474global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(9, "WaitingForRequestsToDrain"), "Stopping, waiting for {OutstandingRequests} request(s) to drain.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
499global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(25, "ErrorInReadingCertificate"), "An error occurred reading the client certificate.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
524global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(28, "AbortError"), "Abort", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
540global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(26, "ChannelBindingNeedsHttps"), "TryGetChannelBinding; Channel binding requires HTTPS.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
556global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(27, "ChannelBindingRetrieved"), "Channel binding retrieved.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
572global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(54, "RequestParsingError"), "Failed to parse request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
588global::Microsoft.Extensions.Logging.LoggerMessage.Define<ulong, uint>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(54, "TlsClientHelloRetrieveError"), "Failed to invoke QueryTlsClientHello; RequestId: {RequestId}; Win32 Error code: {Win32Error}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
604global::Microsoft.Extensions.Logging.LoggerMessage.Define<ulong, uint>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(56, "QueryTlsCipherSuiteError"), "Failed to invoke QueryTlsCipherSuite; RequestId: {RequestId}; Win32 Error code: {Win32Error}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
627global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(24, "RequestError"), "ProcessRequestAsync", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
643global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(6, "RequestProcessError"), "ProcessRequestAsync", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
659global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(7, "RequestsDrained"), "All requests drained.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
675global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(49, "RequestAborted"), "The request was aborted by the client.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
699global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(17, "AttachedToQueue"), "Attached to an existing request queue '{RequestQueueName}', some options do not apply.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
724global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(31, "ErrorWhenReadAsync"), "ReadAsync", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
740global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(30, "ErrorWhenReadBegun"), "BeginRead", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
756global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(29, "ErrorWhileRead"), "Read", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
781global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(33, "FewerBytesThanExpected"), "ResponseStream::Dispose; Fewer bytes were written than were specified in the Content-Length.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
797global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(34, "WriteError"), "Flush", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
813global::Microsoft.Extensions.Logging.LoggerMessage.Define<uint>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(35, "WriteFlushedIgnored"), "Flush; Ignored write exception: {StatusCode}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
829global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(32, "ErrorWhenFlushAsync"), "FlushAsync", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
845global::Microsoft.Extensions.Logging.LoggerMessage.Define<uint>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(36, "WriteFlushCancelled"), "FlushAsync; Write cancelled with error code: {StatusCode}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
861global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(38, "FileSendAsyncError"), "SendFileAsync", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
877global::Microsoft.Extensions.Logging.LoggerMessage.Define<uint>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(39, "FileSendAsyncCancelled"), "SendFileAsync; Write cancelled with error code: {StatusCode}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
893global::Microsoft.Extensions.Logging.LoggerMessage.Define<uint>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(40, "FileSendAsyncErrorIgnored"), "SendFileAsync; Ignored write exception: {StatusCode}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
918global::Microsoft.Extensions.Logging.LoggerMessage.Define<uint>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(41, "WriteCancelled"), "FlushAsync.IOCompleted; Write cancelled with error code: {ErrorCode}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
934global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(34, "WriteError"), "FlushAsync.IOCompleted", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
950global::Microsoft.Extensions.Logging.LoggerMessage.Define<uint>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(35, "WriteErrorIgnored"), "FlushAsync.IOCompleted; Ignored write exception: {ErrorCode}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
975global::Microsoft.Extensions.Logging.LoggerMessage.Define<uint>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(21, "CloseUrlGroupError"), "HttpCloseUrlGroup; Result: {StatusCode}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
991global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(19, "RegisteringPrefix"), "Listening on prefix: {UriPrefix}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1007global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(18, "SetUrlPropertyError"), "SetUrlGroupProperty", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1023global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(20, "UnregisteringPrefix"), "Stop listening on prefix: {UriPrefix}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
Microsoft.AspNetCore.Server.IIS (6)
LoggerMessage.g.cs (6)
12global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "ConnectionDisconnect"), "Connection ID \"{ConnectionId}\" disconnecting.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
28global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(2, "ApplicationError"), "Connection ID \"{ConnectionId}\", Request ID \"{TraceIdentifier}\": An unhandled exception was thrown by the application.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
44global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(3, "UnexpectedError"), "Unexpected exception in \"{ClassName}.{MethodName}\".", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
60global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "ConnectionBadRequest"), "Connection id \"{ConnectionId}\" bad request data: \"{message}\"", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
76global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "RequestAborted"), "Connection ID \"{ConnectionId}\", Request ID \"{TraceIdentifier}\": The request was aborted by the client.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
99global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(0, "FailedToReadStackTraceInfo"), "Failed to read stack trace information for exception.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
Microsoft.AspNetCore.Session (2)
Microsoft.AspNetCore.SignalR.Client.Core (2)
Microsoft.AspNetCore.SignalR.Core (2)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (3)
Microsoft.AspNetCore.StaticAssets (2)
Microsoft.AspNetCore.StaticFiles (2)
Microsoft.AspNetCore.WebSockets (2)
Microsoft.Extensions.Caching.StackExchangeRedis (2)
Microsoft.Extensions.Diagnostics.HealthChecks (3)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (10)
HealthCheckPublisherHostedServiceTest.cs (10)
26public static readonly EventId HealthCheckProcessingBegin = new EventId(DefaultHealthCheckService.EventIds.HealthCheckProcessingBeginId, DefaultHealthCheckService.EventIds.HealthCheckProcessingBeginName);
27public static readonly EventId HealthCheckProcessingEnd = new EventId(DefaultHealthCheckService.EventIds.HealthCheckProcessingEndId, DefaultHealthCheckService.EventIds.HealthCheckProcessingEndName);
28public static readonly EventId HealthCheckBegin = new EventId(DefaultHealthCheckService.EventIds.HealthCheckBeginId, DefaultHealthCheckService.EventIds.HealthCheckBeginName);
29public static readonly EventId HealthCheckEnd = new EventId(DefaultHealthCheckService.EventIds.HealthCheckEndId, DefaultHealthCheckService.EventIds.HealthCheckEndName);
33public static readonly EventId HealthCheckPublisherProcessingBegin = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingBeginId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingBeginName);
34public static readonly EventId HealthCheckPublisherProcessingEnd = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingEndId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingEndName);
35public static readonly EventId HealthCheckPublisherBegin = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherBeginId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherBeginName);
36public static readonly EventId HealthCheckPublisherEnd = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherEndId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherEndName);
37public static readonly EventId HealthCheckPublisherError = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherErrorId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherErrorName);
38public static readonly EventId HealthCheckPublisherTimeout = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherTimeoutId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherTimeoutName);
Microsoft.Extensions.Diagnostics.Testing.Tests (6)
Logging\FakeLoggerTests.cs (6)
69logger.Log<int>(LogLevel.Error, new EventId(0), 42, null, (_, _) => "MESSAGE");
82logger.Log(LogLevel.Debug, new EventId(1), l, null, (_, _) => "Nothing");
97logger.Log<object?>(LogLevel.Error, new EventId(0), null, null, (_, _) => "MESSAGE");
111logger.Log<object?>(LogLevel.Error, new EventId(0), null, null, (_, _) => "MESSAGE");
127logger.Log(LogLevel.Error, new EventId(0), dt, null, (_, _) => "MESSAGE");
135logger.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)
16public static readonly EventId RequestStart = new EventId(100, "RequestStart");
17public static readonly EventId RequestEnd = new EventId(101, "RequestEnd");
19public static readonly EventId RequestHeader = new EventId(102, "RequestHeader");
20public static readonly EventId ResponseHeader = new EventId(103, "ResponseHeader");
22public static readonly EventId RequestFailed = new EventId(104, "RequestFailed");
24public static readonly EventId PipelineStart = new EventId(100, "RequestPipelineStart");
25public static readonly EventId PipelineEnd = new EventId(101, "RequestPipelineEnd");
27public static readonly EventId RequestPipelineRequestHeader = new EventId(102, "RequestPipelineRequestHeader");
28public static readonly EventId RequestPipelineResponseHeader = new EventId(103, "RequestPipelineResponseHeader");
30public 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.Localization (2)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.ML (8)
Microsoft.Extensions.Telemetry.PerformanceTests (4)
Microsoft.Extensions.Telemetry.Tests (37)
Logging\ExtendedLoggerTests.cs (34)
73logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
84Assert.Equal(new EventId(0), snap[0].Id);
100Assert.Equal(new EventId(2, "ID2"), snap[1].Id);
154logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
190logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
201Assert.Equal(new EventId(0), snap[0].Id);
208Assert.Equal(new EventId(2, "ID2"), snap[1].Id);
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");
266Assert.Equal(new EventId(0, "ID0"), snap[0].Id);
273Assert.Equal(new EventId(0, "ID0b"), snap[1].Id);
280Assert.Equal(new EventId(2, "ID2"), snap[2].Id);
287Assert.Equal(new EventId(2, "ID2b"), snap[3].Id);
315logger.Log(LogLevel.Warning, new EventId(0, "ID0"), e, null, (_, _) => "MSG0");
326Assert.Equal(new EventId(0, "ID0"), snap[0].Id);
384logger.Log(LogLevel.Warning, new EventId(0, "ID0"), "PAYLOAD", null, (_, _) => "MSG0");
395Assert.Equal(new EventId(0, "ID0"), snap[0].Id);
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");
504Assert.Equal(new EventId(0, "ID0"), snap[0].Id);
509Assert.Equal(new EventId(0, "ID0b"), snap[1].Id);
514Assert.Equal(new EventId(2, "ID2"), snap[2].Id);
519Assert.Equal(new EventId(2, "ID2b"), snap[3].Id);
842logger.Log(LogLevel.Warning, new EventId(1, "ID1"), state, exception, (_, _) => "MSG");
890logger.Log(LogLevel.Warning, new EventId(1, "ID1"), list, exception, (_, _) => "MSG");
901logger.Log(LogLevel.Warning, new EventId(1, "ID1"), enumerable, exception, (_, _) => "MSG");
905logger.Log(LogLevel.Warning, new EventId(1, "ID1"), "V4", exception, (_, _) => "MSG");
936logger.Log(LogLevel.Warning, new EventId(2, "ID2"), "some state", null, (_, _) => "MSG2");
968logger.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");
Sample (8)
artifacts\obj\Sample\Release\net11.0\generated\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Microsoft.AspNetCore.Http.RequestDelegateGenerator.RequestDelegateGenerator\GeneratedRouteBuilderExtensions.g.cs (8)
6075LoggerMessage.Define(LogLevel.Debug, new EventId(1, "RequestBodyIOException"), "Reading the request body failed with an IOException.");
6092LoggerMessage.Define<string, string>(LogLevel.Debug, new EventId(2, "InvalidJsonRequestBody"), "Failed to read parameter \"{ParameterType} {ParameterName}\" from the request body as JSON.");
6109LoggerMessage.Define<string, string, string>(LogLevel.Debug, new EventId(3, "ParameterBindingFailed"), "Failed to bind parameter \"{ParameterType} {ParameterName}\" from \"{SourceValue}\".");
6126LoggerMessage.Define<string, string, string>(LogLevel.Debug, new EventId(4, "RequiredParameterNotProvided"), "Required parameter \"{ParameterType} {ParameterName}\" was not provided from {Source}.");
6143LoggerMessage.Define<string>(LogLevel.Debug, new EventId(5, "ImplicitBodyNotProvided"), "Implicit body inferred for parameter \"{ParameterName}\" but no body was provided. Did you mean to use a Service instead?");
6160LoggerMessage.Define<string>(LogLevel.Debug, new EventId(6, "UnexpectedContentType"), "Expected a supported JSON media type but got \"{ContentType}\".");
6177LoggerMessage.Define<string>(LogLevel.Debug, new EventId(7, "UnexpectedNonFormContentType"), "Expected a supported form media type but got \"{ContentType}\".");
6194LoggerMessage.Define<string, string>(LogLevel.Debug, new EventId(8, "InvalidFormRequestBody"), "Failed to read parameter \"{ParameterType} {ParameterName}\" from the request body as form.");
284 references to EventId
aspire (3)
Aspire.Cli.Tests (4)
Aspire.Dashboard (2)
Aspire.Dashboard.Components.Tests (4)
Aspire.Dashboard.Tests (4)
Aspire.Hosting (5)
ApplicationModel\ResourceLoggerService.cs (2)
119public 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)
Aspire.Hosting.Testing.Tests (4)
Aspire.Hosting.Tests (5)
Aspire.Playground.Tests (4)
Aspire.RabbitMQ.Client (1)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v6.Tests (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.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (1)
InMemory.FunctionalTests (7)
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)
Interop.FunctionalTests (1)
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)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.Hosting (1)
Microsoft.AspNetCore.Hosting.Tests (3)
HostingApplicationDiagnosticsTests.cs (2)
1684public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
1707public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Microsoft.AspNetCore.Identity (12)
EventIds.cs (12)
10public static readonly EventId UserCannotSignInWithoutConfirmedEmail = new(0, "UserCannotSignInWithoutConfirmedEmail");
11public static readonly EventId SecurityStampValidationFailed = new(0, "SecurityStampValidationFailed");
12public static readonly EventId SecurityStampValidationFailedId4 = new(4, "SecurityStampValidationFailed");
13public static readonly EventId UserCannotSignInWithoutConfirmedPhoneNumber = new(1, "UserCannotSignInWithoutConfirmedPhoneNumber");
14public static readonly EventId InvalidPassword = new(2, "InvalidPassword");
15public static readonly EventId UserLockedOut = new(3, "UserLockedOut");
16public static readonly EventId UserCannotSignInWithoutConfirmedAccount = new(4, "UserCannotSignInWithoutConfirmedAccount");
17public static readonly EventId TwoFactorSecurityStampValidationFailed = new(5, "TwoFactorSecurityStampValidationFailed");
18public static readonly EventId NoPasskeyCreationOptions = new(6, "NoPasskeyCreationOptions");
19public static readonly EventId UserDoesNotMatchPasskeyCreationOptions = new(7, "UserDoesNotMatchPasskeyCreationOptions");
20public static readonly EventId PasskeyAttestationFailed = new(8, "PasskeyAttestationFailed");
21public static readonly EventId PasskeyAssertionFailed = new(9, "PasskeyAssertionFailed");
Microsoft.AspNetCore.Identity.Specification.Tests (1)
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)
Microsoft.AspNetCore.Mvc.Microbenchmarks (1)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
Microsoft.AspNetCore.SignalR.Tests (1)
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)
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)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
Microsoft.Extensions.Caching.Hybrid.Tests (3)
LogCollector.cs (3)
12private readonly List<(string categoryName, LogLevel logLevel, EventId eventId, Exception? exception, string message)> _items = [];
14public (string categoryName, LogLevel logLevel, EventId eventId, Exception? exception, string message)[] ToArray()
116void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (10)
HealthCheckPublisherHostedServiceTest.cs (10)
26public static readonly EventId HealthCheckProcessingBegin = new EventId(DefaultHealthCheckService.EventIds.HealthCheckProcessingBeginId, DefaultHealthCheckService.EventIds.HealthCheckProcessingBeginName);
27public static readonly EventId HealthCheckProcessingEnd = new EventId(DefaultHealthCheckService.EventIds.HealthCheckProcessingEndId, DefaultHealthCheckService.EventIds.HealthCheckProcessingEndName);
28public static readonly EventId HealthCheckBegin = new EventId(DefaultHealthCheckService.EventIds.HealthCheckBeginId, DefaultHealthCheckService.EventIds.HealthCheckBeginName);
29public static readonly EventId HealthCheckEnd = new EventId(DefaultHealthCheckService.EventIds.HealthCheckEndId, DefaultHealthCheckService.EventIds.HealthCheckEndName);
33public static readonly EventId HealthCheckPublisherProcessingBegin = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingBeginId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingBeginName);
34public static readonly EventId HealthCheckPublisherProcessingEnd = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingEndId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherProcessingEndName);
35public static readonly EventId HealthCheckPublisherBegin = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherBeginId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherBeginName);
36public static readonly EventId HealthCheckPublisherEnd = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherEndId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherEndName);
37public static readonly EventId HealthCheckPublisherError = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherErrorId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherErrorName);
38public static readonly EventId HealthCheckPublisherTimeout = new EventId(HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherTimeoutId, HealthCheckPublisherHostedService.EventIds.HealthCheckPublisherTimeoutName);
Microsoft.Extensions.Diagnostics.Testing (3)
Microsoft.Extensions.Hosting (12)
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)
16public static readonly EventId RequestStart = new EventId(100, "RequestStart");
17public static readonly EventId RequestEnd = new EventId(101, "RequestEnd");
19public static readonly EventId RequestHeader = new EventId(102, "RequestHeader");
20public static readonly EventId ResponseHeader = new EventId(103, "ResponseHeader");
22public static readonly EventId RequestFailed = new EventId(104, "RequestFailed");
24public static readonly EventId PipelineStart = new EventId(100, "RequestPipelineStart");
25public static readonly EventId PipelineEnd = new EventId(101, "RequestPipelineEnd");
27public static readonly EventId RequestPipelineRequestHeader = new EventId(102, "RequestPipelineRequestHeader");
28public static readonly EventId RequestPipelineResponseHeader = new EventId(103, "RequestPipelineResponseHeader");
30public static readonly EventId PipelineFailed = new EventId(104, "RequestPipelineFailed");
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (2)
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)
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)
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)
Microsoft.Extensions.Logging.Debug (1)
Microsoft.Extensions.Logging.EventLog (1)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.ML (8)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.Telemetry (11)
Logging\ExtendedLogger.cs (3)
52public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
216private void ModernPath(LogLevel logLevel, EventId eventId, LoggerMessageState msgState, Exception? exception, Func<LoggerMessageState, Exception?, string> formatter)
362private void LegacyPath<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Sampling\LogSamplingRuleSelector.cs (3)
17private readonly ConcurrentDictionary<(string, LogLevel, EventId), T?> _ruleCache = new();
19public static bool IsBetter(T rule, T? current, string category, LogLevel logLevel, EventId eventId)
110public T? Select(IList<T> rules, string category, LogLevel logLevel, EventId eventId)
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 (4)
Microsoft.Maui (1)
Shared (3)
Sockets.BindTests (2)
Sockets.FunctionalTests (2)