1351 references to Debug
Aspire.Dashboard (8)
Components\Pages\ConsoleLogs.razor.cs (1)
219if (Logger.IsEnabled(LogLevel.Debug))
Components\Pages\StructuredLogs.razor.cs (1)
172new SelectViewModel<LogLevel?> { Id = LogLevel.Debug, Name = "Debug" },
DashboardWebApplication.cs (2)
126builder.Logging.SetMinimumLevel(LogLevel.Debug); 127builder.Logging.AddFilter("Aspire.Dashboard", LogLevel.Debug);
Otlp\Model\OtlpLogEntry.cs (4)
72SeverityNumber.Debug => LogLevel.Debug, 73SeverityNumber.Debug2 => LogLevel.Debug, 74SeverityNumber.Debug3 => LogLevel.Debug, 75SeverityNumber.Debug4 => LogLevel.Debug,
Aspire.Dashboard.Tests (2)
TelemetryRepositoryTests\OtlpHelpersTests.cs (2)
417b.SetMinimumLevel(LogLevel.Debug); 462b.SetMinimumLevel(LogLevel.Debug);
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (1)
360if (_logger.IsEnabled(LogLevel.Debug) && newState.State?.Text is { Length: > 0 } newStateText && !string.IsNullOrWhiteSpace(newStateText))
Dashboard\DashboardLifecycleHook.cs (2)
368if (defaultDashboardLogger.IsEnabled(LogLevel.Debug)) 395if (defaultDashboardLogger.IsEnabled(LogLevel.Debug))
Dashboard\DashboardServiceData.cs (1)
65if (logger.IsEnabled(LogLevel.Debug))
Dcp\ApplicationExecutor.cs (1)
503if (_logger.IsEnabled(LogLevel.Debug))
Dcp\DcpHostService.cs (1)
316logLevel = LogLevel.Debug;
Aspire.Hosting.Tests (14)
Dashboard\DashboardResourceTests.cs (1)
420[InlineData(LogLevel.Debug)]
ResourceNotificationTests.cs (13)
307Assert.Single(logs.Where(l => l.Level == LogLevel.Debug)); 308Assert.Contains(logs, l => l.Level == LogLevel.Debug && l.Message.Contains("Resource resource1/resource1 changed state: SomeState")); 317Assert.DoesNotContain(logs, l => l.Level == LogLevel.Debug); 318Assert.DoesNotContain(logs, l => l.Level == LogLevel.Debug && l.Message.Contains("Resource resource1/resource1 changed state: SomeState")); 327Assert.Single(logs.Where(l => l.Level == LogLevel.Debug)); 328Assert.Contains(logs, l => l.Level == LogLevel.Debug && l.Message.Contains("Resource resource1/resource1 changed state: SomeState -> NewState")); 337Assert.DoesNotContain(logs, l => l.Level == LogLevel.Debug); 338Assert.DoesNotContain(logs, l => l.Level == LogLevel.Debug && l.Message.Contains("Resource resource1/resource1 changed state:")); 347Assert.DoesNotContain(logs, l => l.Level == LogLevel.Debug); 348Assert.DoesNotContain(logs, l => l.Level == LogLevel.Debug && l.Message.Contains("Resource resource1/resource1 changed state:")); 357Assert.DoesNotContain(logs, l => l.Level == LogLevel.Debug); 358Assert.DoesNotContain(logs, l => l.Level == LogLevel.Debug && l.Message.Contains("Resource resource1/resource1 changed state:")); 377Assert.Single(logs.Where(l => l.Level == LogLevel.Debug));
Aspire.RabbitMQ.Client (1)
RabbitMQEventSourceLogForwarder.cs (1)
66EventLevel.Verbose => LogLevel.Debug,
BasicLinkedApp (1)
Program.cs (1)
31logging.SetMinimumLevel(LogLevel.Debug);
CustomEncryptorSample (1)
Program.cs (1)
16.AddLogging(o => o.AddConsole().SetMinimumLevel(LogLevel.Debug))
EntityFrameworkCoreSample (1)
Program.cs (1)
18.AddLogging(o => o.AddConsole().SetMinimumLevel(LogLevel.Debug))
HostFilteringSample (1)
Program.cs (1)
21factory.SetMinimumLevel(LogLevel.Debug);
HttpsPolicySample (1)
Startup.cs (1)
63factory.SetMinimumLevel(LogLevel.Debug);
IIS.Tests (1)
MaxRequestBodySizeTests.cs (1)
357var appErrorLog = Assert.Single(TestSink.Writes, w => w.LoggerName == "Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer" && w.LogLevel > LogLevel.Debug);
IISSample (1)
Startup.cs (1)
105factory.AddFilter("Console", level => level >= LogLevel.Debug);
InMemory.FunctionalTests (13)
BadHttpRequestTests.cs (1)
230Assert.All(TestSink.Writes.Where(w => w.LoggerName != "Microsoft.Hosting.Lifetime"), w => Assert.InRange(w.LogLevel, LogLevel.Trace, LogLevel.Debug));
Http2\Http2ConnectionTests.cs (1)
5306Assert.All(LogMessages, w => Assert.InRange(w.LogLevel, LogLevel.Trace, LogLevel.Debug));
HttpsTests.cs (5)
191Assert.Equal(LogLevel.Debug, loggerProvider.FilterLogger.LastLogLevel); 220Assert.Equal(LogLevel.Debug, loggerProvider.FilterLogger.LastLogLevel); 389Assert.Equal(LogLevel.Debug, loggerProvider.FilterLogger.LastLogLevel); 423Assert.Equal(LogLevel.Debug, loggerProvider.FilterLogger.LastLogLevel); 707Assert.Equal(LogLevel.Debug, loggerProvider.FilterLogger.LastLogLevel);
ResponseDrainingTests.cs (1)
76Assert.Single(LogMessages, w => w.EventId.Id == 28 && w.LogLevel <= LogLevel.Debug);
ResponseTests.cs (5)
510Assert.Contains(TestSink.Writes, w => w.EventId.Id == 17 && w.LogLevel <= LogLevel.Debug && w.Exception is BadHttpRequestException 2028Assert.Contains(LogMessages, w => w.EventId.Id == 17 && w.LogLevel <= LogLevel.Debug && w.Exception is BadHttpRequestException 2082if (message.EventId.Id == 17 && message.LogLevel <= LogLevel.Debug && message.Exception is BadHttpRequestException 2145Assert.Contains(LogMessages, w => w.EventId.Id == 17 && w.LogLevel <= LogLevel.Debug && w.Exception is BadHttpRequestException 4764Assert.Contains(testSink.Writes, w => w.EventId.Id == 17 && w.LogLevel <= LogLevel.Debug && w.Exception is BadHttpRequestException
Kestrel.SampleApp (1)
Startup.cs (1)
174factory.SetMinimumLevel(LogLevel.Debug);
Microsoft.Arcade.Common (2)
CompactConsoleLoggerFormatter.cs (2)
107LogLevel.Debug => "dbug", 127LogLevel.Debug => (ConsoleColor.Gray, ConsoleColor.Black),
Microsoft.AspNetCore.Antiforgery (4)
Internal\AntiforgeryLoggerExtensions.cs (4)
13[LoggerMessage(2, LogLevel.Debug, "Antiforgery successfully validated a request.", EventName = "Validated")] 23[LoggerMessage(5, LogLevel.Debug, "A new antiforgery cookie token was created.", EventName = "NewCookieToken")] 26[LoggerMessage(6, LogLevel.Debug, "An antiforgery cookie token was reused.", EventName = "ReusedCookieToken")] 37[LoggerMessage(9, LogLevel.Debug, "Failed to deserialize antiforgery tokens.", EventName = "FailedToDeserialzeTokens")]
Microsoft.AspNetCore.Authentication (6)
LoggingExtensions.cs (6)
11[LoggerMessage(5, LogLevel.Debug, "The SigningIn event returned Handled.", EventName = "SignInHandled")] 14[LoggerMessage(6, LogLevel.Debug, "The SigningIn event returned Skipped.", EventName = "SignInSkipped")] 20[LoggerMessage(8, LogLevel.Debug, "AuthenticationScheme: {AuthenticationScheme} was successfully authenticated.", EventName = "AuthenticationSchemeAuthenticated")] 23[LoggerMessage(9, LogLevel.Debug, "AuthenticationScheme: {AuthenticationScheme} was not authenticated.", EventName = "AuthenticationSchemeNotAuthenticated")] 44[LoggerMessage(18, LogLevel.Debug, "The AccessDenied event returned Handled.", EventName = "AccessDeniedContextHandled")] 47[LoggerMessage(19, LogLevel.Debug, "The AccessDenied event returned Skipped.", EventName = "AccessDeniedContextSkipped")]
Microsoft.AspNetCore.Authentication.Certificate (2)
LoggingExtensions.cs (2)
8[LoggerMessage(0, LogLevel.Debug, "No client certificate found.", EventName = "NoCertificate")] 11[LoggerMessage(3, LogLevel.Debug, "Not https, skipping certificate authentication.", EventName = "NotHttps")]
Microsoft.AspNetCore.Authentication.JwtBearer (2)
LoggingExtensions.cs (2)
11[LoggerMessage(2, LogLevel.Debug, "Successfully validated the token.", EventName = "TokenValidationSucceeded")] 17[LoggerMessage(4, LogLevel.Debug, "Unable to reject the response as forbidden, it has already started.", EventName = "ForbiddenResponseHasStarted")]
Microsoft.AspNetCore.Authentication.Negotiate (9)
Internal\NegotiateLoggingExtensions.cs (9)
11[LoggerMessage(2, LogLevel.Debug, "Completed Negotiate authentication.", EventName = "NegotiateComplete")] 14[LoggerMessage(3, LogLevel.Debug, "Enabling credential persistence for a complete Kerberos handshake.", EventName = "EnablingCredentialPersistence")] 17[LoggerMessage(4, LogLevel.Debug, "Disabling credential persistence for a complete {protocol} handshake.", EventName = "DisablingCredentialPersistence")] 23[LoggerMessage(6, LogLevel.Debug, "Challenged 401 Negotiate.", EventName = "ChallengeNegotiate")] 26[LoggerMessage(7, LogLevel.Debug, "Negotiate data received for an already authenticated connection, Re-authenticating.", EventName = "Reauthenticating")] 32[LoggerMessage(9, LogLevel.Debug, "There was a problem with the users credentials.", EventName = "CredentialError")] 35[LoggerMessage(10, LogLevel.Debug, "The users authentication request was invalid.", EventName = "ClientError")] 38[LoggerMessage(11, LogLevel.Debug, "Negotiate error code: {error}.", EventName = "NegotiateError")] 41[LoggerMessage(12, LogLevel.Debug, "Negotiate is not supported with {protocol}.", EventName = "ProtocolNotSupported")]
Microsoft.AspNetCore.Authentication.OAuth (1)
LoggingExtensions.cs (1)
8[LoggerMessage(1, LogLevel.Debug, "HandleChallenge with Location: {Location}; and Set-Cookie: {Cookie}.", EventName = "HandleChallenge")]
Microsoft.AspNetCore.Authentication.OpenIdConnect (31)
LoggingExtensions.cs (30)
8[LoggerMessage(13, LogLevel.Debug, "Updating configuration", EventName = "UpdatingConfiguration")] 11[LoggerMessage(18, LogLevel.Debug, "Exception of type 'SecurityTokenSignatureKeyNotFoundException' thrown, Options.ConfigurationManager.RequestRefresh() called.", EventName = "ConfigurationManagerRequestRefreshCalled")] 20[LoggerMessage(21, LogLevel.Debug, "Received 'id_token'", EventName = "ReceivedIdToken")] 23[LoggerMessage(19, LogLevel.Debug, "Redeeming code for tokens.", EventName = "RedeemingCodeForTokens")] 26[LoggerMessage(15, LogLevel.Debug, "TokenValidated.HandledResponse", EventName = "TokenValidatedHandledResponse")] 29[LoggerMessage(16, LogLevel.Debug, "TokenValidated.Skipped", EventName = "TokenValidatedSkipped")] 32[LoggerMessage(28, LogLevel.Debug, "AuthorizationCodeReceivedContext.HandledResponse", EventName = "AuthorizationCodeReceivedContextHandledResponse")] 35[LoggerMessage(29, LogLevel.Debug, "AuthorizationCodeReceivedContext.Skipped", EventName = "AuthorizationCodeReceivedContextSkipped")] 38[LoggerMessage(31, LogLevel.Debug, "TokenResponseReceived.HandledResponse", EventName = "TokenResponseReceivedHandledResponse")] 41[LoggerMessage(32, LogLevel.Debug, "TokenResponseReceived.Skipped", EventName = "TokenResponseReceivedSkipped")] 44[LoggerMessage(38, LogLevel.Debug, "AuthenticationFailedContext.HandledResponse", EventName = "AuthenticationFailedContextHandledResponse")] 47[LoggerMessage(39, LogLevel.Debug, "AuthenticationFailedContext.Skipped", EventName = "AuthenticationFailedContextSkipped")] 53[LoggerMessage(25, LogLevel.Debug, "MessageReceivedContext.HandledResponse", EventName = "MessageReceivedContextHandledResponse")] 56[LoggerMessage(26, LogLevel.Debug, "MessageReceivedContext.Skipped", EventName = "MessageReceivedContextSkipped")] 59[LoggerMessage(1, LogLevel.Debug, "RedirectToIdentityProviderForSignOut.HandledResponse", EventName = "RedirectToIdentityProviderForSignOutHandledResponse")] 62[LoggerMessage(6, LogLevel.Debug, "RedirectToIdentityProvider.HandledResponse", EventName = "RedirectToIdentityProviderHandledResponse")] 65[LoggerMessage(50, LogLevel.Debug, "RedirectToSignedOutRedirectUri.HandledResponse", EventName = "SignOutCallbackRedirectHandledResponse")] 68[LoggerMessage(51, LogLevel.Debug, "RedirectToSignedOutRedirectUri.Skipped", EventName = "SignOutCallbackRedirectSkipped")] 71[LoggerMessage(36, LogLevel.Debug, "The UserInformationReceived event returned Handled.", EventName = "UserInformationReceivedHandledResponse")] 74[LoggerMessage(37, LogLevel.Debug, "The UserInformationReceived event returned Skipped.", EventName = "UserInformationReceivedSkipped")] 77[LoggerMessage(57, LogLevel.Debug, "The PushAuthorization event handled client authentication", EventName = "PushAuthorizationHandledClientAuthentication")] 80[LoggerMessage(58, LogLevel.Debug, "The PushAuthorization event handled pushing authorization", EventName = "PushAuthorizationHandledPush")] 83[LoggerMessage(59, LogLevel.Debug, "The PushAuthorization event skipped pushing authorization", EventName = "PushAuthorizationSkippedPush")] 89[LoggerMessage(10, LogLevel.Debug, "message.State is null or empty.", EventName = "NullOrEmptyAuthorizationResponseState")] 92[LoggerMessage(11, LogLevel.Debug, "Unable to read the message.State.", EventName = "UnableToReadAuthorizationResponseState")] 104[LoggerMessage(42, LogLevel.Debug, "The access_token is not available. Claims cannot be retrieved.", EventName = "AccessTokenNotAvailable")] 110[LoggerMessage(22, LogLevel.Debug, "UserInfoEndpoint is not set. Claims cannot be retrieved.", EventName = "UserInfoEndpointNotSet")] 146[LoggerMessage(44, LogLevel.Debug, "RemoteSignOutContext.HandledResponse", EventName = "RemoteSignOutHandledResponse")] 149[LoggerMessage(45, LogLevel.Debug, "RemoteSignOutContext.Skipped", EventName = "RemoteSignOutSkipped")] 166[LoggerMessage(53, LogLevel.Debug, "HandleChallenge with Location: {Location}; and Set-Cookie: {Cookie}.", EventName = "HandleChallenge")]
OpenIdConnectHandler.cs (1)
997if (Logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.Authentication.Twitter (3)
LoggingExtensions.cs (3)
9[LoggerMessage(2, LogLevel.Debug, "ObtainAccessToken", EventName = "ObtainAccessToken")] 12[LoggerMessage(1, LogLevel.Debug, "ObtainRequestToken", EventName = "ObtainRequestToken")] 15[LoggerMessage(3, LogLevel.Debug, "RetrieveUserDetails", EventName = "RetrieveUserDetails")]
Microsoft.AspNetCore.Authentication.WsFederation (4)
LoggingExtensions.cs (4)
8[LoggerMessage(1, LogLevel.Debug, "Received a sign-in message without a WResult.", EventName = "SignInWithoutWResult")] 11[LoggerMessage(2, LogLevel.Debug, "Received a sign-in message without a token.", EventName = "SignInWithoutToken")] 20[LoggerMessage(5, LogLevel.Debug, "RemoteSignOutContext.HandledResponse", EventName = "RemoteSignOutHandledResponse")] 23[LoggerMessage(6, LogLevel.Debug, "RemoteSignOutContext.Skipped", EventName = "RemoteSignOutSkipped")]
Microsoft.AspNetCore.Authorization (1)
LoggingExtensions.cs (1)
11[LoggerMessage(1, LogLevel.Debug, "Authorization was successful.", EventName = "UserAuthorizationSucceeded")]
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationMiddleware.cs (1)
178if (authenticateResult != null && !authenticateResult.Succeeded && _logger is ILogger log && log.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.BrowserTesting (1)
PageInformation.cs (1)
101"verbose" => LogLevel.Debug,
Microsoft.AspNetCore.Components (15)
RenderTree\Renderer.Log.cs (11)
13[LoggerMessage(1, LogLevel.Debug, "Initializing component {ComponentId} ({ComponentType}) as child of {ParentComponentId} ({ParentComponentType})", EventName = "InitializingChildComponent", SkipEnabledCheck = true)] 16[LoggerMessage(2, LogLevel.Debug, "Initializing root component {ComponentId} ({ComponentType})", EventName = "InitializingRootComponent", SkipEnabledCheck = true)] 21if (logger.IsEnabled(LogLevel.Debug)) // This is almost always false, so skip the evaluations 34[LoggerMessage(3, LogLevel.Debug, "Rendering component {ComponentId} of type {ComponentType}", EventName = "RenderingComponent", SkipEnabledCheck = true)] 39if (logger.IsEnabled(LogLevel.Debug)) // This is almost always false, so skip the evaluations 45[LoggerMessage(4, LogLevel.Debug, "Disposing component {ComponentId} of type {ComponentType}", EventName = "DisposingComponent", SkipEnabledCheck = true)] 50if (logger.IsEnabled(LogLevel.Debug)) // This is almost always false, so skip the evaluations 56[LoggerMessage(5, LogLevel.Debug, "Handling event {EventId} of type '{EventType}'", EventName = "HandlingEvent", SkipEnabledCheck = true)] 61if (logger.IsEnabled(LogLevel.Debug)) // This is almost always false, so skip the evaluations 67[LoggerMessage(6, LogLevel.Debug, "Skipping attempt to raise event {EventId} of type '{EventType}' because the component ID {ComponentId} was already disposed", EventName = "SkippingEventOnDisposedComponent", SkipEnabledCheck = true)] 72if (logger.IsEnabled(LogLevel.Debug)) // This is almost always false, so skip the evaluations
Routing\Router.cs (3)
340[LoggerMessage(1, LogLevel.Debug, $"Displaying {nameof(NotFound)} because path '{{Path}}' with base URI '{{BaseUri}}' does not match any component route", EventName = "DisplayingNotFound")] 343[LoggerMessage(2, LogLevel.Debug, "Navigating to component {ComponentType} in response to path '{Path}' with base URI '{BaseUri}'", EventName = "NavigatingToComponent")] 346[LoggerMessage(3, LogLevel.Debug, "Navigating to non-component URI '{ExternalUri}' in response to path '{Path}' with base URI '{BaseUri}'", EventName = "NavigatingToExternalUri")]
src\Http\Routing\src\Tree\TreeRouter.cs (1)
353[LoggerMessage(1, LogLevel.Debug,
Microsoft.AspNetCore.Components.Endpoints (33)
FormMapping\Metadata\FormDataMetadataFactory.cs (27)
163if (_logger.IsEnabled(LogLevel.Debug)) 305if (_logger.IsEnabled(LogLevel.Debug)) 353[LoggerMessage(1, LogLevel.Debug, "Begin resolve metadata graph for type '{Type}'.", EventName = nameof(StartResolveMetadataGraph))] 356[LoggerMessage(2, LogLevel.Debug, "End resolve metadata graph for type '{Type}'.", EventName = nameof(EndResolveMetadataGraph))] 359[LoggerMessage(3, LogLevel.Debug, "Cached metadata found for type '{Type}'.", EventName = nameof(Metadata))] 362[LoggerMessage(4, LogLevel.Debug, "No cached metadata graph for type '{Type}'.", EventName = nameof(NoMetadataFound))] 365[LoggerMessage(5, LogLevel.Debug, "Recursive type '{Type}' found in the resolution graph '{Chain}'.", EventName = nameof(RecursiveTypeFound))] 368[LoggerMessage(6, LogLevel.Debug, "'{Type}' identified as primitive.", EventName = nameof(PrimitiveType))] 371[LoggerMessage(7, LogLevel.Debug, "'{Type}' identified as dictionary.", EventName = nameof(DictionaryType))] 374[LoggerMessage(8, LogLevel.Debug, "'{Type}' identified as collection.", EventName = nameof(CollectionType))] 377[LoggerMessage(9, LogLevel.Debug, "'{Type}' identified as object.", EventName = nameof(ObjectType))] 380[LoggerMessage(10, LogLevel.Debug, "Constructor found for type '{Type}' with parameters '{Parameters}'.", EventName = nameof(ConstructorFound))] 383[LoggerMessage(11, LogLevel.Debug, "Constructor parameter '{Name}' of type '{ParameterType}' found for type '{Type}'.", EventName = nameof(ConstructorParameter))] 386[LoggerMessage(12, LogLevel.Debug, "Candidate property '{Name}' of type '{PropertyType}'.", EventName = nameof(CandidateProperty))] 389[LoggerMessage(13, LogLevel.Debug, "Candidate property {PropertyName} has a matching constructor parameter '{ConstructorParameterName}'.", EventName = nameof(MatchingConstructorParameterFound))] 392[LoggerMessage(14, LogLevel.Debug, "Candidate property or constructor parameter {PropertyName} defines a custom name '{CustomName}'.", EventName = nameof(CustomParameterNameMetadata))] 395[LoggerMessage(15, LogLevel.Debug, "Candidate property {Name} will not be mapped. It has been explicitly ignored.", EventName = nameof(IgnoredProperty))] 398[LoggerMessage(16, LogLevel.Debug, "Candidate property {Name} will not be mapped. It has no public setter.", EventName = nameof(NonPublicSetter))] 401[LoggerMessage(17, LogLevel.Debug, "Candidate property {Name} is marked as required.", EventName = nameof(PropertyRequired))] 404[LoggerMessage(18, LogLevel.Debug, "Metadata created for {Type}.", EventName = nameof(MetadataComputed))] 407[LoggerMessage(19, LogLevel.Debug, "Can not map type generic type definition '{Type}'.", EventName = nameof(GenericTypeDefinitionNotSupported))] 410[LoggerMessage(20, LogLevel.Debug, "Unable to select a constructor. Multiple public constructors found for type '{Type}'.", EventName = nameof(MultiplePublicConstructorsFound))] 413[LoggerMessage(21, LogLevel.Debug, "Can not map interface type '{Type}'.", EventName = nameof(InterfacesNotSupported))] 416[LoggerMessage(22, LogLevel.Debug, "Can not map abstract type '{Type}'.", EventName = nameof(AbstractClassesNotSupported))] 419[LoggerMessage(23, LogLevel.Debug, "Unable to select a constructor. No public constructors found for type '{Type}'.", EventName = nameof(NoPublicConstructorFound))] 422[LoggerMessage(24, LogLevel.Debug, "Can not map type '{Type}'. Constructor parameter {Name} of type {ParameterType} is not supported.", EventName = nameof(ConstructorParameterTypeNotSupported))] 425[LoggerMessage(25, LogLevel.Debug, "Can not map type '{Type}'. Property {Name} of type {PropertyType} is not supported.", EventName = nameof(PropertyTypeNotSupported))]
RazorComponentEndpointInvoker.cs (6)
280[LoggerMessage(1, LogLevel.Debug, "Begin render root component '{componentType}' with page '{pageType}'.", EventName = nameof(BeginRenderRootComponent))] 283[LoggerMessage(2, LogLevel.Debug, "The antiforgery middleware already failed to validate the current token.", EventName = nameof(MiddlewareAntiforgeryValidationFailed))] 286[LoggerMessage(3, LogLevel.Debug, "The antiforgery middleware already succeeded to validate the current token.", EventName = nameof(MiddlewareAntiforgeryValidationSucceeded))] 289[LoggerMessage(4, LogLevel.Debug, "The endpoint disabled antiforgery token validation.", EventName = nameof(EndpointAntiforgeryValidationDisabled))] 295[LoggerMessage(6, LogLevel.Debug, "Antiforgery token validation succeeded for the current request.", EventName = nameof(EndpointAntiforgeryValidationSucceeded))] 298[LoggerMessage(7, LogLevel.Debug, "Error handling in progress. Interactive components are not enabled.", EventName = nameof(InteractivityDisabledForErrorHandling))]
Microsoft.AspNetCore.Components.Server (98)
CircuitDisconnectMiddleware.cs (3)
91[LoggerMessage(1, LogLevel.Debug, "Circuit with id '{CircuitId}' terminating gracefully.", EventName = "CircuitTerminatingGracefully")] 94[LoggerMessage(2, LogLevel.Debug, "Circuit with id '{CircuitId}' terminated gracefully.", EventName = "CircuitTerminatedGracefully")] 97[LoggerMessage(3, LogLevel.Debug, "CircuitDisconnectMiddleware received an invalid circuit id '{CircuitIdSecret}'.", EventName = "InvalidCircuitId")]
Circuits\CircuitFactory.cs (1)
128[LoggerMessage(1, LogLevel.Debug, "Created circuit {CircuitId} for connection {ConnectionId}", EventName = "CreatedCircuit")]
Circuits\CircuitHost.cs (36)
873[LoggerMessage(100, LogLevel.Debug, "Circuit initialization started.", EventName = "InitializationStarted")] 876[LoggerMessage(101, LogLevel.Debug, "Circuit initialization succeeded.", EventName = "InitializationSucceeded")] 879[LoggerMessage(102, LogLevel.Debug, "Circuit initialization failed.", EventName = "InitializationFailed")] 882[LoggerMessage(103, LogLevel.Debug, "Disposing circuit '{CircuitId}' started.", EventName = "DisposeStarted")] 885[LoggerMessage(104, LogLevel.Debug, "Disposing circuit '{CircuitId}' succeeded.", EventName = "DisposeSucceeded")] 888[LoggerMessage(105, LogLevel.Debug, "Disposing circuit '{CircuitId}' failed.", EventName = "DisposeFailed")] 891[LoggerMessage(106, LogLevel.Debug, "Opening circuit with id '{CircuitId}'.", EventName = "OnCircuitOpened")] 894[LoggerMessage(107, LogLevel.Debug, "Circuit id '{CircuitId}' connected using connection '{ConnectionId}'.", EventName = "OnConnectionUp")] 897[LoggerMessage(108, LogLevel.Debug, "Circuit id '{CircuitId}' disconnected from connection '{ConnectionId}'.", EventName = "OnConnectionDown")] 900[LoggerMessage(109, LogLevel.Debug, "Closing circuit with id '{CircuitId}'.", EventName = "OnCircuitClosed")] 906[LoggerMessage(111, LogLevel.Debug, "Update root components started.", EventName = nameof(UpdateRootComponentsStarted))] 909[LoggerMessage(112, LogLevel.Debug, "Update root components succeeded.", EventName = nameof(UpdateRootComponentsSucceeded))] 912[LoggerMessage(113, LogLevel.Debug, "Update root components failed.", EventName = nameof(UpdateRootComponentsFailed))] 928[LoggerMessage(112, LogLevel.Debug, "About to notify client of an error in circuit '{CircuitId}'.", EventName = "CircuitTransmittingClientError")] 931[LoggerMessage(113, LogLevel.Debug, "Successfully transmitted error to client in circuit '{CircuitId}'.", EventName = "CircuitTransmittedClientErrorSuccess")] 934[LoggerMessage(114, LogLevel.Debug, "Failed to transmit exception to client in circuit '{CircuitId}'.", EventName = "CircuitTransmitErrorFailed")] 937[LoggerMessage(115, LogLevel.Debug, "An exception occurred on the circuit host '{CircuitId}' while the client is disconnected.", EventName = "UnhandledExceptionClientDisconnected")] 940[LoggerMessage(116, LogLevel.Debug, "The root component operation of type 'Update' was invalid: {Message}", EventName = nameof(InvalidComponentTypeForUpdate))] 943[LoggerMessage(200, LogLevel.Debug, "Failed to parse the event data when trying to dispatch an event.", EventName = "DispatchEventFailedToParseEventData")] 946[LoggerMessage(201, LogLevel.Debug, "There was an error dispatching the event '{EventHandlerId}' to the application.", EventName = "DispatchEventFailedToDispatchEvent")] 949[LoggerMessage(202, LogLevel.Debug, "Invoking instance method '{MethodIdentifier}' on instance '{DotNetObjectId}' with callback id '{CallId}'.", EventName = "BeginInvokeDotNet")] 952[LoggerMessage(203, LogLevel.Debug, "Failed to invoke instance method '{MethodIdentifier}' on instance '{DotNetObjectId}' with callback id '{CallId}'.", EventName = "BeginInvokeDotNetFailed")] 955[LoggerMessage(204, LogLevel.Debug, "There was an error invoking 'Microsoft.JSInterop.DotNetDispatcher.EndInvoke'.", EventName = "EndInvokeDispatchException")] 958[LoggerMessage(205, LogLevel.Debug, "The JS interop call with callback id '{AsyncCall}' with arguments {Arguments}.", EventName = "EndInvokeJSFailed")] 961[LoggerMessage(206, LogLevel.Debug, "The JS interop call with callback id '{AsyncCall}' succeeded.", EventName = "EndInvokeJSSucceeded")] 964[LoggerMessage(208, LogLevel.Debug, "Location changing to {URI} in circuit '{CircuitId}'.", EventName = "LocationChange")] 967[LoggerMessage(209, LogLevel.Debug, "Location change to '{URI}' in circuit '{CircuitId}' succeeded.", EventName = "LocationChangeSucceeded")] 970[LoggerMessage(210, LogLevel.Debug, "Location change to '{URI}' in circuit '{CircuitId}' failed.", EventName = "LocationChangeFailed")] 973[LoggerMessage(211, LogLevel.Debug, "Location is about to change to {URI} in ciruit '{CircuitId}'.", EventName = "LocationChanging")] 976[LoggerMessage(212, LogLevel.Debug, "Failed to complete render batch '{RenderId}' in circuit host '{CircuitId}'.", EventName = "OnRenderCompletedFailed")] 979[LoggerMessage(213, LogLevel.Debug, "The ReceiveByteArray call with id '{id}' succeeded.", EventName = "ReceiveByteArraySucceeded")] 982[LoggerMessage(214, LogLevel.Debug, "The ReceiveByteArray call with id '{id}' failed.", EventName = "ReceiveByteArrayException")] 985[LoggerMessage(215, LogLevel.Debug, "The ReceiveJSDataChunk call with stream id '{streamId}' failed.", EventName = "ReceiveJSDataChunkException")] 988[LoggerMessage(216, LogLevel.Debug, "The SendDotNetStreamAsync call with id '{id}' failed.", EventName = "SendDotNetStreamException")] 991[LoggerMessage(217, LogLevel.Debug, "Invoking static method with identifier '{MethodIdentifier}' on assembly '{Assembly}' with callback id '{CallId}'.", EventName = "BeginInvokeDotNetStatic")] 1006[LoggerMessage(218, LogLevel.Debug, "Failed to invoke static method with identifier '{MethodIdentifier}' on assembly '{Assembly}' with callback id '{CallId}'.", EventName = "BeginInvokeDotNetStaticFailed")]
Circuits\CircuitRegistry.cs (13)
372[LoggerMessage(101, LogLevel.Debug, "Exception thrown when disposing token source: {Message}", EventName = "ExceptionDisposingTokenSource")] 378[LoggerMessage(102, LogLevel.Debug, "Attempting to reconnect to Circuit with secret {CircuitHost}.", EventName = "AttemptingToReconnect")] 381[LoggerMessage(104, LogLevel.Debug, "Failed to find a matching circuit for circuit secret {CircuitHost}.", EventName = "FailedToFindCircuit")] 384[LoggerMessage(105, LogLevel.Debug, "Transferring active circuit {CircuitId} to connection {ConnectionId}.", EventName = "ConnectingToActiveCircuit")] 387[LoggerMessage(106, LogLevel.Debug, "Transferring disconnected circuit {CircuitId} to connection {ConnectionId}.", EventName = "ConnectingToDisconnectedCircuit")] 390[LoggerMessage(107, LogLevel.Debug, "Failed to reconnect to a circuit with id {CircuitId}.", EventName = "FailedToReconnectToCircuit")] 393[LoggerMessage(108, LogLevel.Debug, "Attempting to disconnect circuit with id {CircuitId} from connection {ConnectionId}.", EventName = "CircuitDisconnectStarted")] 396[LoggerMessage(109, LogLevel.Debug, "Failed to disconnect circuit with id {CircuitId}. The circuit is not active.", EventName = "CircuitNotActive")] 399[LoggerMessage(110, LogLevel.Debug, "Failed to disconnect circuit with id {CircuitId}. The circuit is connected to {ConnectionId}.", EventName = "CircuitConnectedToDifferentConnection")] 402[LoggerMessage(111, LogLevel.Debug, "Circuit with id {CircuitId} is disconnected.", EventName = "CircuitMarkedDisconnected")] 405[LoggerMessage(112, LogLevel.Debug, "Circuit with id {CircuitId} evicted due to {EvictionReason}.", EventName = "CircuitEvicted")] 408[LoggerMessage(113, LogLevel.Debug, "Circuit with id {CircuitId} has been removed from the registry for permanent disconnection.", EventName = "CircuitDisconnectedPermanently")] 414[LoggerMessage(115, LogLevel.Debug, "Reconnect to circuit with id {CircuitId} succeeded.", EventName = "ReconnectionSucceeded")]
Circuits\ComponentParameterDeserializer.cs (8)
86[LoggerMessage(1, LogLevel.Debug, "Parameter values must be an array.", EventName = "ParameterValuesInvalidFormat")] 89[LoggerMessage(2, LogLevel.Debug, "The parameter definition for '{ParameterName}' is incomplete: Type='{TypeName}' Assembly='{Assembly}'.", EventName = "IncompleteParameterDefinition")] 92[LoggerMessage(3, LogLevel.Debug, "The parameter '{ParameterName} with type '{TypeName}' in assembly '{Assembly}' could not be found.", EventName = "InvalidParameterType")] 95[LoggerMessage(4, LogLevel.Debug, "Could not parse the parameter value for parameter '{Name}' of type '{TypeName}' and assembly '{Assembly}'.", EventName = "InvalidParameterValue")] 98[LoggerMessage(5, LogLevel.Debug, "Failed to parse the parameter definitions.", EventName = "FailedToParseParameterDefinitions")] 101[LoggerMessage(6, LogLevel.Debug, "Failed to parse the parameter values.", EventName = "FailedToParseParameterValues")] 104[LoggerMessage(7, LogLevel.Debug, "The number of parameter definitions '{DescriptorsLength}' does not match the number parameter values '{ValuesLength}'.", EventName = "MismatchedParameterAndDefinitions")] 107[LoggerMessage(8, LogLevel.Debug, "The name is missing in a parameter definition.", EventName = "MissingParameterDefinitionName")]
Circuits\RemoteJSRuntime.cs (5)
198[LoggerMessage(1, LogLevel.Debug, "Begin invoke JS interop '{AsyncHandle}': '{FunctionIdentifier}'", EventName = "BeginInvokeJS")] 201[LoggerMessage(2, LogLevel.Debug, "There was an error invoking the static method '[{AssemblyName}]::{MethodIdentifier}' with callback id '{CallbackId}'.", EventName = "InvokeStaticDotNetMethodException")] 204[LoggerMessage(4, LogLevel.Debug, "There was an error invoking the instance method '{MethodIdentifier}' on reference '{DotNetObjectReference}' with callback id '{CallbackId}'.", EventName = "InvokeInstanceDotNetMethodException")] 207[LoggerMessage(3, LogLevel.Debug, "Invocation of '[{AssemblyName}]::{MethodIdentifier}' with callback id '{CallbackId}' completed successfully.", EventName = "InvokeStaticDotNetMethodSuccess")] 210[LoggerMessage(5, LogLevel.Debug, "Invocation of '{MethodIdentifier}' on reference '{DotNetObjectReference}' with callback id '{CallbackId}' completed successfully.", EventName = "InvokeInstanceDotNetMethodSuccess")]
Circuits\RemoteNavigationManager.cs (5)
182[LoggerMessage(1, LogLevel.Debug, "Requesting navigation to URI {Uri} with forceLoad={ForceLoad}, replace={Replace}", EventName = "RequestingNavigation")] 188[LoggerMessage(2, LogLevel.Debug, "Received notification that the URI has changed to {Uri} with isIntercepted={IsIntercepted}", EventName = "ReceivedLocationChangedNotification")] 191[LoggerMessage(3, LogLevel.Debug, "Navigation canceled when changing the location to {Uri}", EventName = "NavigationCanceled")] 200[LoggerMessage(6, LogLevel.Debug, "Navigation completed when changing the location to {Uri}", EventName = "NavigationCompleted")] 203[LoggerMessage(7, LogLevel.Debug, "Navigation stopped because the session ended when navigating to {Uri}", EventName = "NavigationStoppedSessionEnded")]
Circuits\RemoteRenderer.cs (6)
380[LoggerMessage(101, LogLevel.Debug, "Sending render batch {BatchId} of size {DataLength} bytes to client {ConnectionId}.", EventName = "BeginUpdateDisplayAsync")] 383[LoggerMessage(102, LogLevel.Debug, "Buffering remote render because the client on connection {ConnectionId} is disconnected.", EventName = "SkipUpdateDisplayAsync")] 392[LoggerMessage(104, LogLevel.Debug, "Completing batch {BatchId} with error: {ErrorMessage} in {ElapsedMilliseconds}ms.", EventName = "CompletingBatchWithError")] 398[LoggerMessage(105, LogLevel.Debug, "Completing batch {BatchId} without error in {ElapsedMilliseconds}ms.", EventName = "CompletingBatchWithoutError")] 404[LoggerMessage(106, LogLevel.Debug, "Received a duplicate ACK for batch id '{IncomingBatchId}'.", EventName = "ReceivedDuplicateBatchAcknowledgement")] 407[LoggerMessage(107, LogLevel.Debug, "The queue of unacknowledged render batches is full.", EventName = "FullUnacknowledgedRenderBatchesQueue")]
Circuits\ServerComponentDeserializer.cs (13)
360[LoggerMessage(1, LogLevel.Debug, "Failed to deserialize the component descriptor.", EventName = "FailedToDeserializeDescriptor")] 363[LoggerMessage(2, LogLevel.Debug, "Failed to find component '{ComponentName}' in assembly '{Assembly}'.", EventName = "FailedToFindComponent")] 366[LoggerMessage(3, LogLevel.Debug, "Failed to unprotect the component descriptor.", EventName = "FailedToUnprotectDescriptor")] 369[LoggerMessage(4, LogLevel.Debug, "Invalid component marker type '{MarkerType}'.", EventName = "InvalidMarkerType")] 372[LoggerMessage(5, LogLevel.Debug, "The component marker is missing the descriptor.", EventName = "MissingMarkerDescriptor")] 375[LoggerMessage(6, LogLevel.Debug, "The descriptor invocationId is '{invocationId}' and got a descriptor with invocationId '{currentInvocationId}'.", EventName = "MismatchedInvocationId")] 378[LoggerMessage(7, LogLevel.Debug, "The last descriptor sequence was '{lastSequence}' and got a descriptor with sequence '{sequence}'.", EventName = "OutOfSequenceDescriptor")] 381[LoggerMessage(8, LogLevel.Debug, "The descriptor sequence '{sequence}' is an invalid start sequence.", EventName = "DescriptorSequenceMustStartAtZero")] 384[LoggerMessage(9, LogLevel.Debug, "The descriptor invocationId '{invocationId}' has expired.", EventName = "ExpiredInvocationId")] 387[LoggerMessage(10, LogLevel.Debug, "The descriptor with sequence '{sequence}' was already used for the current invocationId '{invocationId}'.", EventName = "ReusedDescriptorSequence")] 390[LoggerMessage(11, LogLevel.Debug, "The root component operation of type '{OperationType}' was invalid: {Message}", EventName = "InvalidRootComponentOperation")] 393[LoggerMessage(12, LogLevel.Debug, "Failed to parse root component operations", EventName = nameof(FailedToProcessRootComponentOperations))] 396[LoggerMessage(13, LogLevel.Debug, "The provided root component key was not valid.", EventName = nameof(InvalidRootComponentKey))]
ComponentHub.cs (8)
374[LoggerMessage(1, LogLevel.Debug, "Received confirmation for batch {BatchId}", EventName = "ReceivedConfirmationForBatch")] 377[LoggerMessage(2, LogLevel.Debug, "The circuit host '{CircuitId}' has already been initialized", EventName = "CircuitAlreadyInitialized")] 380[LoggerMessage(3, LogLevel.Debug, "Call to '{CallSite}' received before the circuit host initialization", EventName = "CircuitHostNotInitialized")] 383[LoggerMessage(4, LogLevel.Debug, "Call to '{CallSite}' received after the circuit was shut down", EventName = "CircuitHostShutdown")] 386[LoggerMessage(5, LogLevel.Debug, "Call to '{CallSite}' received invalid input data", EventName = "InvalidInputData")] 389[LoggerMessage(6, LogLevel.Debug, "Circuit initialization failed", EventName = "CircuitInitializationFailed")] 392[LoggerMessage(7, LogLevel.Debug, "Created circuit '{CircuitId}' with secret '{CircuitIdSecret}' for '{ConnectionId}'", EventName = "CreatedCircuit")] 406[LoggerMessage(8, LogLevel.Debug, "ConnectAsync received an invalid circuit id '{CircuitIdSecret}'", EventName = "InvalidCircuitId")]
Microsoft.AspNetCore.Components.WebAssembly (3)
Services\WebAssemblyConsoleLogger.cs (2)
73case LogLevel.Debug: 144case LogLevel.Debug:
Services\WebAssemblyNavigationManager.cs (1)
98[LoggerMessage(1, LogLevel.Debug, "Navigation canceled when changing the location to {Uri}", EventName = "NavigationCanceled")]
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewNavigationManager.cs (1)
106[LoggerMessage(1, LogLevel.Debug, "Navigation canceled when changing the location to {Uri}", EventName = "NavigationCanceled")]
Microsoft.AspNetCore.Components.WebView.Maui (19)
src\BlazorWebView\src\SharedSource\Log.cs (19)
8 [LoggerMessage(EventId = 0, Level = LogLevel.Debug, Message = "Navigating to {uri}.")] 11 [LoggerMessage(EventId = 1, Level = LogLevel.Debug, Message = "Failed to create WebView2 environment. This could mean that WebView2 is not installed.")] 14 [LoggerMessage(EventId = 2, Level = LogLevel.Debug, Message = "Starting WebView2...")] 17 [LoggerMessage(EventId = 3, Level = LogLevel.Debug, Message = "WebView2 is started.")] 20 [LoggerMessage(EventId = 4, Level = LogLevel.Debug, Message = "Handling web request to URI '{requestUri}'.")] 23 [LoggerMessage(EventId = 5, Level = LogLevel.Debug, Message = "Response content being sent for web request to URI '{requestUri}' with HTTP status code {statusCode}.")] 26 [LoggerMessage(EventId = 6, Level = LogLevel.Debug, Message = "Response content was not found for web request to URI '{requestUri}'.")] 29 [LoggerMessage(EventId = 7, Level = LogLevel.Debug, Message = "Navigation event for URI '{uri}' with URL loading strategy '{urlLoadingStrategy}'.")] 32 [LoggerMessage(EventId = 8, Level = LogLevel.Debug, Message = "Launching external browser for URI '{uri}'.")] 35 [LoggerMessage(EventId = 9, Level = LogLevel.Debug, Message = "Calling Blazor.start() in the WebView2.")] 38 [LoggerMessage(EventId = 10, Level = LogLevel.Debug, Message = "Creating file provider at content root '{contentRootDir}', using host page relative path '{hostPageRelativePath}'.")] 41 [LoggerMessage(EventId = 11, Level = LogLevel.Debug, Message = "Adding root component '{componentTypeName}' with selector '{componentSelector}'. Number of parameters: {parameterCount}")] 44 [LoggerMessage(EventId = 12, Level = LogLevel.Debug, Message = "Starting initial navigation to '{startPath}'.")] 47 [LoggerMessage(EventId = 13, Level = LogLevel.Debug, Message = "Creating Android.Webkit.WebView...")] 50 [LoggerMessage(EventId = 14, Level = LogLevel.Debug, Message = "Created Android.Webkit.WebView.")] 53 [LoggerMessage(EventId = 15, Level = LogLevel.Debug, Message = "Running Blazor startup scripts.")] 56 [LoggerMessage(EventId = 16, Level = LogLevel.Debug, Message = "Blazor startup scripts finished.")] 59 [LoggerMessage(EventId = 17, Level = LogLevel.Debug, Message = "Creating WebKit WKWebView...")] 62 [LoggerMessage(EventId = 18, Level = LogLevel.Debug, Message = "Created WebKit WKWebView.")]
Microsoft.AspNetCore.Components.WebView.WindowsForms (19)
src\BlazorWebView\src\SharedSource\Log.cs (19)
8 [LoggerMessage(EventId = 0, Level = LogLevel.Debug, Message = "Navigating to {uri}.")] 11 [LoggerMessage(EventId = 1, Level = LogLevel.Debug, Message = "Failed to create WebView2 environment. This could mean that WebView2 is not installed.")] 14 [LoggerMessage(EventId = 2, Level = LogLevel.Debug, Message = "Starting WebView2...")] 17 [LoggerMessage(EventId = 3, Level = LogLevel.Debug, Message = "WebView2 is started.")] 20 [LoggerMessage(EventId = 4, Level = LogLevel.Debug, Message = "Handling web request to URI '{requestUri}'.")] 23 [LoggerMessage(EventId = 5, Level = LogLevel.Debug, Message = "Response content being sent for web request to URI '{requestUri}' with HTTP status code {statusCode}.")] 26 [LoggerMessage(EventId = 6, Level = LogLevel.Debug, Message = "Response content was not found for web request to URI '{requestUri}'.")] 29 [LoggerMessage(EventId = 7, Level = LogLevel.Debug, Message = "Navigation event for URI '{uri}' with URL loading strategy '{urlLoadingStrategy}'.")] 32 [LoggerMessage(EventId = 8, Level = LogLevel.Debug, Message = "Launching external browser for URI '{uri}'.")] 35 [LoggerMessage(EventId = 9, Level = LogLevel.Debug, Message = "Calling Blazor.start() in the WebView2.")] 38 [LoggerMessage(EventId = 10, Level = LogLevel.Debug, Message = "Creating file provider at content root '{contentRootDir}', using host page relative path '{hostPageRelativePath}'.")] 41 [LoggerMessage(EventId = 11, Level = LogLevel.Debug, Message = "Adding root component '{componentTypeName}' with selector '{componentSelector}'. Number of parameters: {parameterCount}")] 44 [LoggerMessage(EventId = 12, Level = LogLevel.Debug, Message = "Starting initial navigation to '{startPath}'.")] 47 [LoggerMessage(EventId = 13, Level = LogLevel.Debug, Message = "Creating Android.Webkit.WebView...")] 50 [LoggerMessage(EventId = 14, Level = LogLevel.Debug, Message = "Created Android.Webkit.WebView.")] 53 [LoggerMessage(EventId = 15, Level = LogLevel.Debug, Message = "Running Blazor startup scripts.")] 56 [LoggerMessage(EventId = 16, Level = LogLevel.Debug, Message = "Blazor startup scripts finished.")] 59 [LoggerMessage(EventId = 17, Level = LogLevel.Debug, Message = "Creating WebKit WKWebView...")] 62 [LoggerMessage(EventId = 18, Level = LogLevel.Debug, Message = "Created WebKit WKWebView.")]
Microsoft.AspNetCore.Components.WebView.Wpf (19)
src\BlazorWebView\src\SharedSource\Log.cs (19)
8 [LoggerMessage(EventId = 0, Level = LogLevel.Debug, Message = "Navigating to {uri}.")] 11 [LoggerMessage(EventId = 1, Level = LogLevel.Debug, Message = "Failed to create WebView2 environment. This could mean that WebView2 is not installed.")] 14 [LoggerMessage(EventId = 2, Level = LogLevel.Debug, Message = "Starting WebView2...")] 17 [LoggerMessage(EventId = 3, Level = LogLevel.Debug, Message = "WebView2 is started.")] 20 [LoggerMessage(EventId = 4, Level = LogLevel.Debug, Message = "Handling web request to URI '{requestUri}'.")] 23 [LoggerMessage(EventId = 5, Level = LogLevel.Debug, Message = "Response content being sent for web request to URI '{requestUri}' with HTTP status code {statusCode}.")] 26 [LoggerMessage(EventId = 6, Level = LogLevel.Debug, Message = "Response content was not found for web request to URI '{requestUri}'.")] 29 [LoggerMessage(EventId = 7, Level = LogLevel.Debug, Message = "Navigation event for URI '{uri}' with URL loading strategy '{urlLoadingStrategy}'.")] 32 [LoggerMessage(EventId = 8, Level = LogLevel.Debug, Message = "Launching external browser for URI '{uri}'.")] 35 [LoggerMessage(EventId = 9, Level = LogLevel.Debug, Message = "Calling Blazor.start() in the WebView2.")] 38 [LoggerMessage(EventId = 10, Level = LogLevel.Debug, Message = "Creating file provider at content root '{contentRootDir}', using host page relative path '{hostPageRelativePath}'.")] 41 [LoggerMessage(EventId = 11, Level = LogLevel.Debug, Message = "Adding root component '{componentTypeName}' with selector '{componentSelector}'. Number of parameters: {parameterCount}")] 44 [LoggerMessage(EventId = 12, Level = LogLevel.Debug, Message = "Starting initial navigation to '{startPath}'.")] 47 [LoggerMessage(EventId = 13, Level = LogLevel.Debug, Message = "Creating Android.Webkit.WebView...")] 50 [LoggerMessage(EventId = 14, Level = LogLevel.Debug, Message = "Created Android.Webkit.WebView.")] 53 [LoggerMessage(EventId = 15, Level = LogLevel.Debug, Message = "Running Blazor startup scripts.")] 56 [LoggerMessage(EventId = 16, Level = LogLevel.Debug, Message = "Blazor startup scripts finished.")] 59 [LoggerMessage(EventId = 17, Level = LogLevel.Debug, Message = "Creating WebKit WKWebView...")] 62 [LoggerMessage(EventId = 18, Level = LogLevel.Debug, Message = "Created WebKit WKWebView.")]
Microsoft.AspNetCore.ConcurrencyLimiter (4)
ConcurrencyLimiterMiddleware.cs (4)
88[LoggerMessage(1, LogLevel.Debug, "MaxConcurrentRequests limit reached, request has been queued. Current active requests: {ActiveRequests}.", EventName = "RequestEnqueued")] 91[LoggerMessage(2, LogLevel.Debug, "Request dequeued. Current active requests: {ActiveRequests}.", EventName = "RequestDequeued")] 94[LoggerMessage(3, LogLevel.Debug, "Below MaxConcurrentRequests limit, running request immediately. Current active requests: {ActiveRequests}", EventName = "RequestRunImmediately")] 97[LoggerMessage(4, LogLevel.Debug, "Currently at the 'RequestQueueLimit', rejecting this request with a '503 server not available' error", EventName = "RequestRejectedQueueFull")]
Microsoft.AspNetCore.CookiePolicy (7)
LoggingExtensions.cs (7)
14[LoggerMessage(3, LogLevel.Debug, "Consent granted.", EventName = "ConsentGranted")] 17[LoggerMessage(4, LogLevel.Debug, "Consent withdrawn.", EventName = "ConsentWithdrawn")] 20[LoggerMessage(5, LogLevel.Debug, "Cookie '{key}' suppressed due to consent policy.", EventName = "CookieSuppressed")] 23[LoggerMessage(6, LogLevel.Debug, "Delete cookie '{key}' suppressed due to developer policy.", EventName = "DeleteCookieSuppressed")] 26[LoggerMessage(7, LogLevel.Debug, "Cookie '{key}' upgraded to 'secure'.", EventName = "UpgradedToSecure")] 29[LoggerMessage(8, LogLevel.Debug, "Cookie '{key}' same site mode upgraded to '{mode}'.", EventName = "UpgradedSameSite")] 32[LoggerMessage(9, LogLevel.Debug, "Cookie '{key}' upgraded to 'httponly'.", EventName = "UpgradedToHttpOnly")]
Microsoft.AspNetCore.Cors (4)
CORSLoggerExtensions.cs (4)
10[LoggerMessage(1, LogLevel.Debug, "The request is a preflight request.", EventName = "IsPreflightRequest")] 13[LoggerMessage(2, LogLevel.Debug, "The request has an origin header: '{origin}'.", EventName = "RequestHasOriginHeader")] 16[LoggerMessage(3, LogLevel.Debug, "The request does not have an origin header.", EventName = "RequestDoesNotHaveOriginHeader")] 40[LoggerMessage(12, LogLevel.Debug, "This request uses the HTTP OPTIONS method but does not have an Access-Control-Request-Method header. This request will not be treated as a CORS preflight request.", EventName = "IsNotPreflightRequest")]
Microsoft.AspNetCore.DataProtection (41)
LoggingExtensions.cs (40)
24return IsLogLevelEnabledCore(logger, LogLevel.Debug); 46[LoggerMessage(2, LogLevel.Debug, "Using key {KeyId:B} as the default key.", EventName = "UsingKeyAsDefaultKey")] 49[LoggerMessage(3, LogLevel.Debug, "Opening CNG algorithm '{HashAlgorithm}' from provider '{HashAlgorithmProvider}' with HMAC.", EventName = "OpeningCNGAlgorithmFromProviderWithHMAC")] 52[LoggerMessage(4, LogLevel.Debug, "Opening CNG algorithm '{EncryptionAlgorithm}' from provider '{EncryptionAlgorithmProvider}' with chaining mode CBC.", EventName = "OpeningCNGAlgorithmFromProviderWithChainingModeCBC")] 61[LoggerMessage(7, LogLevel.Debug, "Key {KeyId:B} was revoked. Caller requested unprotect operation proceed regardless.", EventName = "KeyWasRevokedCallerRequestedUnprotectOperationProceedRegardless")] 64[LoggerMessage(8, LogLevel.Debug, "Key {KeyId:B} was revoked. Unprotect operation cannot proceed.", EventName = "KeyWasRevokedUnprotectOperationCannotProceed")] 67[LoggerMessage(9, LogLevel.Debug, "Opening CNG algorithm '{EncryptionAlgorithm}' from provider '{EncryptionAlgorithmProvider}' with chaining mode GCM.", EventName = "OpeningCNGAlgorithmFromProviderWithChainingModeGCM")] 70[LoggerMessage(10, LogLevel.Debug, "Using managed keyed hash algorithm '{FullName}'.", EventName = "UsingManagedKeyedHashAlgorithm")] 73[LoggerMessage(11, LogLevel.Debug, "Using managed symmetric algorithm '{FullName}'.", EventName = "UsingManagedSymmetricAlgorithm")] 79[LoggerMessage(13, LogLevel.Debug, "Considering key {KeyId:B} with expiration date {ExpirationDate:u} as default key.", EventName = "ConsideringKeyWithExpirationDateAsDefaultKey")] 82[LoggerMessage(14, LogLevel.Debug, "Key {KeyId:B} is no longer under consideration as default key because it is expired, revoked, or cannot be deciphered.", EventName = "KeyIsNoLongerUnderConsiderationAsDefault")] 88[LoggerMessage(16, LogLevel.Debug, "Marked key {KeyId:B} as revoked in the keyring.", EventName = "MarkedKeyAsRevokedInTheKeyring")] 94[LoggerMessage(18, LogLevel.Debug, "Found key {KeyId:B}.", EventName = "FoundKey")] 97[LoggerMessage(19, LogLevel.Debug, "Found revocation of all keys created prior to {RevocationDate:u}.", EventName = "FoundRevocationOfAllKeysCreatedPriorTo")] 100[LoggerMessage(20, LogLevel.Debug, "Found revocation of key {KeyId:B}.", EventName = "FoundRevocationOfKey")] 109[LoggerMessage(23, LogLevel.Debug, "Key cache expiration token triggered by '{OperationName}' operation.", EventName = "KeyCacheExpirationTokenTriggeredByOperation")] 118[LoggerMessage(26, LogLevel.Debug, "Encrypting to Windows DPAPI for current user account ({Name}).", EventName = "EncryptingToWindowsDPAPIForCurrentUserAccount")] 124[LoggerMessage(29, LogLevel.Debug, "Encrypting to X.509 certificate with thumbprint '{Thumbprint}'.", EventName = "EncryptingToX509CertificateWithThumbprint")] 133[LoggerMessage(32, LogLevel.Debug, "Descriptor deserializer type for key {KeyId:B} is '{AssemblyQualifiedName}'.", EventName = "DescriptorDeserializerTypeForKeyIs")] 136[LoggerMessage(33, LogLevel.Debug, "Key escrow sink found. Writing key {KeyId:B} to escrow.", EventName = "KeyEscrowSinkFoundWritingKeyToEscrow")] 139[LoggerMessage(34, LogLevel.Debug, "No key escrow sink found. Not writing key {KeyId:B} to escrow.", EventName = "NoKeyEscrowSinkFoundNotWritingKeyToEscrow")] 148[LoggerMessage(37, LogLevel.Debug, "Reading data from file '{FullPath}'.", EventName = "ReadingDataFromFile")] 151[LoggerMessage(38, LogLevel.Debug, "The name '{FriendlyName}' is not a safe file name, using '{NewFriendlyName}' instead.", EventName = "NameIsNotSafeFileName")] 157[LoggerMessage(40, LogLevel.Debug, "Reading data from registry key '{RegistryKeyName}', value '{Value}'.", EventName = "ReadingDataFromRegistryKeyValue")] 160[LoggerMessage(41, LogLevel.Debug, "The name '{FriendlyName}' is not a safe registry value name, using '{NewFriendlyName}' instead.", EventName = "NameIsNotSafeRegistryValueName")] 163[LoggerMessage(42, LogLevel.Debug, "Decrypting secret element using Windows DPAPI-NG with protection descriptor rule '{DescriptorRule}'.", EventName = "DecryptingSecretElementUsingWindowsDPAPING")] 166[LoggerMessage(27, LogLevel.Debug, "Encrypting to Windows DPAPI-NG using protection descriptor rule '{DescriptorRule}'.", EventName = "EncryptingToWindowsDPAPINGUsingProtectionDescriptorRule")] 178[LoggerMessage(46, LogLevel.Debug, "Existing cached key ring is expired. Refreshing.", EventName = "ExistingCachedKeyRingIsExpiredRefreshing")] 193[LoggerMessage(51, LogLevel.Debug, "Decrypting secret element using Windows DPAPI.", EventName = "DecryptingSecretElementUsingWindowsDPAPI")] 196[LoggerMessage(52, LogLevel.Debug, "Default key expiration imminent and repository contains no viable successor. Caller should generate a successor.", EventName = "DefaultKeyExpirationImminentAndRepository")] 199[LoggerMessage(53, LogLevel.Debug, "Repository contains no viable default key. Caller should generate a key with immediate activation.", EventName = "RepositoryContainsNoViableDefaultKey")] 205[LoggerMessage(55, LogLevel.Debug, "Encrypting to Windows DPAPI for local machine account.", EventName = "EncryptingToWindowsDPAPIForLocalMachineAccount")] 211[LoggerMessage(57, LogLevel.Debug, "Policy resolution states that a new key should be added to the key ring.", EventName = "PolicyResolutionStatesThatANewKeyShouldBeAddedToTheKeyRing")] 232[LoggerMessage(65, LogLevel.Debug, "Key ring with default key {KeyId:B} was loaded during application startup.", EventName = "KeyRingWasLoadedOnStartup")] 247[LoggerMessage(63, LogLevel.Debug, "Not enabling read-only key access because an XML repository has been specified", EventName = "NotUsingReadOnlyKeyConfigurationBecauseOfRepository")] 250[LoggerMessage(64, LogLevel.Debug, "Not enabling read-only key access because an XML encryptor has been specified", EventName = "NotUsingReadOnlyKeyConfigurationBecauseOfEncryptor")] 256[LoggerMessage(73, LogLevel.Debug, "Key {KeyId:B} method {MethodName} failed. Retrying.", EventName = "RetryingMethodOfKeyAfterFailure")] 259[LoggerMessage(74, LogLevel.Debug, "Deleting file '{FileName}'.", EventName = "DeletingFile")] 265[LoggerMessage(76, LogLevel.Debug, "Deleting registry key '{RegistryKeyName}', value '{Value}'.", EventName = "RemovingDataFromRegistryKeyValue")] 277[LoggerMessage(80, LogLevel.Debug, "Deleting key {KeyId:B}.", EventName = "DeletingKey")]
TypeForwardingActivator.cs (1)
42if (_logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (2)
LoggingExtensions.cs (2)
8[LoggerMessage(1, LogLevel.Debug, "Reading data with key '{FriendlyName}', value '{Value}'.", EventName = "ReadKeyFromElement")] 11[LoggerMessage(2, LogLevel.Debug, "Saving key '{FriendlyName}' to '{DbContext}'.", EventName = "SavingKeyToDbContext")]
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\XmlKeyManagerTests.cs (1)
545var loggerFactory = new StringLoggerFactory(LogLevel.Debug);
Microsoft.AspNetCore.Diagnostics (2)
DiagnosticsLoggerExtensions.cs (1)
14[LoggerMessage(4, LogLevel.Debug, "The request was aborted by the client.", EventName = "RequestAborted")]
src\Shared\StackTrace\ExceptionDetails\LoggerExtensions.cs (1)
10[LoggerMessage(0, LogLevel.Debug, "Failed to read stack trace information for exception.", EventName = "FailedToReadStackTraceInfo")]
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (8)
DiagnosticsEntityFrameworkCoreLoggerExtensions.cs (8)
16[LoggerMessage(4, LogLevel.Debug, "Request path matched the path configured for this migrations endpoint({RequestPath}). Attempting to process the migrations request.", EventName = "RequestPathMatched")] 19[LoggerMessage(5, LogLevel.Debug, "Request is valid, applying migrations for context '{ContextTypeName}'", EventName = "ApplyingMigrations")] 22[LoggerMessage(6, LogLevel.Debug, "Migrations successfully applied for context '{ContextTypeName}'.", EventName = "MigrationsApplied")] 31[LoggerMessage(1, LogLevel.Debug, "{ExceptionType} occurred, checking if Entity Framework recorded this exception as resulting from a failed database operation.", EventName = "AttemptingToMatchException")] 34[LoggerMessage(2, LogLevel.Debug, "Entity Framework did not record any exceptions due to failed database operations. This means the current exception is not a failed Entity Framework database operation, or the current exception occurred from a DbContext that was not obtained from request services.", EventName = "NoRecordedException")] 37[LoggerMessage(3, LogLevel.Debug, "The current exception (and its inner exceptions) do not match the last exception Entity Framework recorded due to a failed database operation. This means the database operation exception was handled and another exception occurred later in the request.", EventName = "NoMatchFound")] 40[LoggerMessage(4, LogLevel.Debug, "Entity Framework recorded that the current exception was due to a failed database operation. Attempting to show database error page.", EventName = "MatchFound")] 43[LoggerMessage(6, LogLevel.Debug, "The target data store is not a relational database. Skipping the database error page.", EventName = "NotRelationalDatabase")]
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Logging\AcceptanceTests.cs (1)
741LogLevel.Debug,
Microsoft.AspNetCore.Grpc.JsonTranscoding (3)
Internal\GrpcServerLog.cs (3)
20[LoggerMessage(4, LogLevel.Debug, "Reading message.", EventName = "ReadingMessage")] 32[LoggerMessage(8, LogLevel.Debug, "Sending message.", EventName = "SendingMessage")] 35[LoggerMessage(9, LogLevel.Debug, "Message sent.", EventName = "MessageSent")]
Microsoft.AspNetCore.HeaderParsing (3)
HeaderParsingFeature.cs (3)
201[LoggerMessage(LogLevel.Debug, "Can't parse header '{HeaderName}' due to '{Error}'.")] 204[LoggerMessage(LogLevel.Debug, "Using a default value for header '{HeaderName}'.")] 207[LoggerMessage(LogLevel.Debug, "Header '{HeaderName}' not found.")]
Microsoft.AspNetCore.HostFiltering (6)
LoggerExtensions.cs (4)
10[LoggerMessage(0, LogLevel.Debug, "Wildcard detected, all requests with hosts will be allowed.", EventName = "WildcardDetected")] 13[LoggerMessage(1, LogLevel.Debug, "Allowed hosts: {Hosts}", EventName = "AllowedHosts", SkipEnabledCheck = true)] 22[LoggerMessage(4, LogLevel.Debug, "{Protocol} request allowed with missing or empty host header.", EventName = "RequestAllowedMissingHost")] 31[LoggerMessage(7, LogLevel.Debug, "Middleware configuration started with options: {Options}", EventName = "MiddlewareConfigurationStarted")]
MiddlewareConfigurationManager.cs (2)
42if (_logger.IsEnabled(LogLevel.Debug)) 53if (_logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.Hosting (9)
GenericHost\GenericWebHostService.cs (2)
172if (Logger.IsEnabled(LogLevel.Debug)) 208[LoggerMessage(13, LogLevel.Debug,
Internal\WebHost.cs (6)
155if (_logger.IsEnabled(LogLevel.Debug)) 351[LoggerMessage(3, LogLevel.Debug, "Hosting starting", EventName = "Starting")] 354[LoggerMessage(4, LogLevel.Debug, "Hosting started", EventName = "Started")] 357[LoggerMessage(5, LogLevel.Debug, "Hosting shutdown", EventName = "Shutdown")] 360[LoggerMessage(12, LogLevel.Debug, "Server shutdown exception", EventName = "ServerShutdownException")] 363[LoggerMessage(13, LogLevel.Debug,
src\Shared\StackTrace\ExceptionDetails\LoggerExtensions.cs (1)
10[LoggerMessage(0, LogLevel.Debug, "Failed to read stack trace information for exception.", EventName = "FailedToReadStackTraceInfo")]
Microsoft.AspNetCore.Http.Connections (31)
Internal\HttpConnectionDispatcher.Log.cs (13)
12[LoggerMessage(1, LogLevel.Debug, "Connection {TransportConnectionId} was disposed.", EventName = "ConnectionDisposed")] 15[LoggerMessage(2, LogLevel.Debug, "Connection {TransportConnectionId} is already active via {RequestId}.", EventName = "ConnectionAlreadyActive")] 21[LoggerMessage(4, LogLevel.Debug, "Establishing new connection.", EventName = "EstablishedConnection")] 24[LoggerMessage(5, LogLevel.Debug, "Resuming existing connection.", EventName = "ResumingConnection")] 30[LoggerMessage(7, LogLevel.Debug, "{TransportType} transport not supported by this connection handler.", EventName = "TransportNotSupported")] 33[LoggerMessage(8, LogLevel.Debug, "Cannot change transports mid-connection; currently using {TransportType}, requesting {RequestedTransport}.", EventName = "CannotChangeTransport")] 36[LoggerMessage(9, LogLevel.Debug, "POST requests are not allowed for websocket connections.", EventName = "PostNotAllowedForWebSockets")] 39[LoggerMessage(10, LogLevel.Debug, "Sending negotiation response.", EventName = "NegotiationRequest")] 48[LoggerMessage(13, LogLevel.Debug, "Connection {TransportConnectionId} was disposed while a write was in progress.", EventName = "ConnectionDisposedWhileWriteInProgress")] 51[LoggerMessage(14, LogLevel.Debug, "Connection {TransportConnectionId} failed to read the HTTP request body.", EventName = "FailedToReadHttpRequestBody")] 54[LoggerMessage(15, LogLevel.Debug, "The client requested version '{clientProtocolVersion}', but the server does not support this version.", EventName = "NegotiateProtocolVersionMismatch")] 57[LoggerMessage(16, LogLevel.Debug, "The client requested an invalid protocol version '{queryStringVersionValue}'", EventName = "InvalidNegotiateProtocolVersion")] 68[LoggerMessage(18, LogLevel.Debug, "Exception from IStatefulReconnectFeature.NotifyOnReconnect callback.", EventName = "NotifyOnReconnectError")]
Internal\HttpConnectionManager.Log.cs (3)
12[LoggerMessage(1, LogLevel.Debug, "New connection {TransportConnectionId} created.", EventName = "CreatedNewConnection")] 15[LoggerMessage(2, LogLevel.Debug, "Removing connection {TransportConnectionId} from the list of connections.", EventName = "RemovedConnection")] 38[LoggerMessage(11, LogLevel.Debug, "Connection {TransportConnectionId} closing because the authentication token has expired.", EventName = "AuthenticationExpired")]
Internal\Transports\LongPollingServerTransport.cs (3)
117[LoggerMessage(1, LogLevel.Debug, "Terminating Long Polling connection by sending 204 response.", EventName = "LongPolling204")] 120[LoggerMessage(2, LogLevel.Debug, "Poll request timed out. Sending 200 response to connection.", EventName = "PollTimedOut")] 126[LoggerMessage(4, LogLevel.Debug, "Client disconnected from Long Polling endpoint for connection.", EventName = "LongPollingDisconnected")]
Internal\Transports\WebSocketsServerTransport.Log.cs (12)
13[LoggerMessage(1, LogLevel.Debug, "Socket opened using Sub-Protocol: '{SubProtocol}'.", EventName = "SocketOpened")] 16[LoggerMessage(2, LogLevel.Debug, "Socket closed.", EventName = "SocketClosed")] 19[LoggerMessage(3, LogLevel.Debug, "Client closed connection with status code '{Status}' ({Description}). Signaling end-of-input to application.", EventName = "ClientClosed")] 22[LoggerMessage(4, LogLevel.Debug, "Waiting for the application to finish sending data.", EventName = "WaitingForSend")] 25[LoggerMessage(5, LogLevel.Debug, "Application failed during sending. Sending InternalServerError close frame.", EventName = "FailedSending")] 28[LoggerMessage(6, LogLevel.Debug, "Application finished sending. Sending close frame.", EventName = "FinishedSending")] 31[LoggerMessage(7, LogLevel.Debug, "Waiting for the client to close the socket.", EventName = "WaitingForClose")] 34[LoggerMessage(8, LogLevel.Debug, "Timed out waiting for client to send the close frame, aborting the connection.", EventName = "CloseTimedOut")] 46[LoggerMessage(12, LogLevel.Debug, "Error writing frame.", EventName = "ErrorWritingFrame")] 49[LoggerMessage(14, LogLevel.Debug, "Socket connection closed prematurely.", EventName = "ClosedPrematurely")] 52[LoggerMessage(15, LogLevel.Debug, "Closing webSocket failed.", EventName = "ClosingWebSocketFailed")] 55[LoggerMessage(16, LogLevel.Debug, "Send loop errored.", EventName = "SendErrored")]
Microsoft.AspNetCore.Http.Connections.Client (57)
HttpConnection.Log.cs (19)
15[LoggerMessage(1, LogLevel.Debug, "Starting HttpConnection.", EventName = "Starting")] 18[LoggerMessage(2, LogLevel.Debug, "Skipping start, connection is already started.", EventName = "SkippingStart")] 24[LoggerMessage(4, LogLevel.Debug, "Disposing HttpConnection.", EventName = "DisposingHttpConnection")] 27[LoggerMessage(5, LogLevel.Debug, "Skipping dispose, connection is already disposed.", EventName = "SkippingDispose")] 35if (logger.IsEnabled(LogLevel.Debug)) 41[LoggerMessage(7, LogLevel.Debug, "Starting transport '{Transport}' with Url: {Url}.", EventName = "StartingTransport", SkipEnabledCheck = true)] 44[LoggerMessage(8, LogLevel.Debug, "Establishing connection with server at '{Url}'.", EventName = "EstablishingConnection")] 47[LoggerMessage(9, LogLevel.Debug, "Established connection '{ConnectionId}' with the server.", EventName = "Established")] 56[LoggerMessage(12, LogLevel.Debug, "Skipping transport {TransportName} because it is not supported by this client.", EventName = "TransportNotSupported")] 61if (logger.IsEnabled(LogLevel.Debug)) 67[LoggerMessage(13, LogLevel.Debug, "Skipping transport {TransportName} because it does not support the requested transfer format '{TransferFormat}'.", 74if (logger.IsEnabled(LogLevel.Debug)) 80[LoggerMessage(14, LogLevel.Debug, "Skipping transport {TransportName} because it was disabled by the client.", EventName = "TransportDisabledByClient", SkipEnabledCheck = true)] 85if (logger.IsEnabled(LogLevel.Debug)) 91[LoggerMessage(15, LogLevel.Debug, "Skipping transport {TransportName} because it failed to initialize.", EventName = "TransportFailed", SkipEnabledCheck = true)] 94[LoggerMessage(16, LogLevel.Debug, "Skipping WebSockets because they are not supported by the operating system.", EventName = "WebSocketsNotSupportedByOperatingSystem")] 100[LoggerMessage(18, LogLevel.Debug, "Transport '{Transport}' started.", EventName = "TransportStarted")] 103[LoggerMessage(19, LogLevel.Debug, "Skipping ServerSentEvents because they are not supported by the browser.", EventName = "ServerSentEventsNotSupportedByBrowser")] 109[LoggerMessage(21, LogLevel.Debug, "{StatusCode} received, getting a new access token and retrying request.", EventName = "RetryAccessToken")]
Internal\DefaultTransportFactory.cs (1)
66[LoggerMessage(1, LogLevel.Debug, "Transport '{TransportType}' is not supported.", EventName = "TransportNotSupported")]
Internal\LongPollingTransport.Log.cs (9)
19[LoggerMessage(2, LogLevel.Debug, "Transport stopped.", EventName = "TransportStopped")] 22[LoggerMessage(3, LogLevel.Debug, "Starting receive loop.", EventName = "StartReceive")] 28[LoggerMessage(5, LogLevel.Debug, "Receive loop canceled.", EventName = "ReceiveCanceled")] 31[LoggerMessage(4, LogLevel.Debug, "Receive loop stopped.", EventName = "ReceiveStopped")] 34[LoggerMessage(7, LogLevel.Debug, "The server is closing the connection.", EventName = "ClosingConnection")] 37[LoggerMessage(8, LogLevel.Debug, "Received messages from the server.", EventName = "ReceivedMessages")] 56[LoggerMessage(11, LogLevel.Debug, "Sending DELETE request to '{PollUrl}'.", EventName = "SendingDeleteRequest")] 59[LoggerMessage(12, LogLevel.Debug, "DELETE request to '{PollUrl}' accepted.", EventName = "DeleteRequestAccepted")] 65[LoggerMessage(14, LogLevel.Debug, "A 404 response was returned from sending DELETE request to '{PollUrl}', likely because the transport was already closed on the server.", EventName = "ConnectionAlreadyClosedSendingDeleteRequest")]
Internal\SendUtils.cs (6)
116[LoggerMessage(100, LogLevel.Debug, "Starting the send loop.", EventName = "SendStarted")] 119[LoggerMessage(102, LogLevel.Debug, "Send loop canceled.", EventName = "SendCanceled")] 122[LoggerMessage(101, LogLevel.Debug, "Send loop stopped.", EventName = "SendStopped")] 125[LoggerMessage(103, LogLevel.Debug, "Sending {Count} bytes to the server using url: {Url}.", EventName = "SendingMessages")] 128[LoggerMessage(104, LogLevel.Debug, "Message(s) sent successfully.", EventName = "SentSuccessfully")] 131[LoggerMessage(105, LogLevel.Debug, "No messages in batch to send.", EventName = "NoMessages")]
Internal\ServerSentEventsTransport.Log.cs (7)
19[LoggerMessage(2, LogLevel.Debug, "Transport stopped.", EventName = "TransportStopped")] 22[LoggerMessage(3, LogLevel.Debug, "Starting receive loop.", EventName = "StartReceive")] 28[LoggerMessage(7, LogLevel.Debug, "Passing message to application. Payload size: {Count}.", EventName = "MessageToApplication")] 31[LoggerMessage(5, LogLevel.Debug, "Receive loop canceled.", EventName = "ReceiveCanceled")] 34[LoggerMessage(4, LogLevel.Debug, "Receive loop stopped.", EventName = "ReceiveStopped")] 37[LoggerMessage(8, LogLevel.Debug, "Server-Sent Event Stream ended.", EventName = "EventStreamEnded")] 41[LoggerMessage(9, LogLevel.Debug, "Received {Count} bytes. Parsing SSE frame.", EventName = "ParsingSSE")]
Internal\WebSocketsTransport.Log.cs (15)
18[LoggerMessage(2, LogLevel.Debug, "Transport stopped.", EventName = "TransportStopped")] 21[LoggerMessage(3, LogLevel.Debug, "Starting receive loop.", EventName = "StartReceive")] 27[LoggerMessage(10, LogLevel.Debug, "Passing message to application. Payload size: {Count}.", EventName = "MessageToApp")] 30[LoggerMessage(5, LogLevel.Debug, "Receive loop canceled.", EventName = "ReceiveCanceled")] 33[LoggerMessage(4, LogLevel.Debug, "Receive loop stopped.", EventName = "ReceiveStopped")] 36[LoggerMessage(7, LogLevel.Debug, "Starting the send loop.", EventName = "SendStarted")] 39[LoggerMessage(9, LogLevel.Debug, "Send loop canceled.", EventName = "SendCanceled")] 42[LoggerMessage(8, LogLevel.Debug, "Send loop stopped.", EventName = "SendStopped")] 48[LoggerMessage(12, LogLevel.Debug, "Message received. Type: {MessageType}, size: {Count}, EndOfMessage: {EndOfMessage}.", EventName = "MessageReceived")] 51[LoggerMessage(13, LogLevel.Debug, "Received message from application. Payload size: {Count}.", EventName = "ReceivedFromApp")] 63[LoggerMessage(17, LogLevel.Debug, "Closing webSocket failed.", EventName = "ClosingWebSocketFailed")] 66[LoggerMessage(18, LogLevel.Debug, "Canceled passing message to application.", EventName = "CancelMessage")] 69[LoggerMessage(19, LogLevel.Debug, "Started transport.", EventName = "StartedTransport")] 76[LoggerMessage(21, LogLevel.Debug, "Receive loop errored.", EventName = "ReceiveErrored")] 79[LoggerMessage(22, LogLevel.Debug, "Send loop errored.", EventName = "SendErrored")]
Microsoft.AspNetCore.Http.Connections.Tests (3)
HttpConnectionDispatcherTests.cs (3)
1268[LogLevel(LogLevel.Debug)] 1316[LogLevel(LogLevel.Debug)] 1355[LogLevel(LogLevel.Debug)]
Microsoft.AspNetCore.Http.Extensions (39)
RequestDelegateFactory.cs (11)
2647[LoggerMessage(RequestDelegateCreationLogging.RequestBodyIOExceptionEventId, LogLevel.Debug, RequestDelegateCreationLogging.RequestBodyIOExceptionMessage, EventName = RequestDelegateCreationLogging.RequestBodyIOExceptionEventName)] 2661[LoggerMessage(RequestDelegateCreationLogging.InvalidJsonRequestBodyEventId, LogLevel.Debug, RequestDelegateCreationLogging.InvalidJsonRequestBodyLogMessage, EventName = RequestDelegateCreationLogging.InvalidJsonRequestBodyEventName)] 2675[LoggerMessage(RequestDelegateCreationLogging.ParameterBindingFailedEventId, LogLevel.Debug, RequestDelegateCreationLogging.ParameterBindingFailedLogMessage, EventName = RequestDelegateCreationLogging.ParameterBindingFailedEventName)] 2689[LoggerMessage(RequestDelegateCreationLogging.RequiredParameterNotProvidedEventId, LogLevel.Debug, RequestDelegateCreationLogging.RequiredParameterNotProvidedLogMessage, EventName = RequestDelegateCreationLogging.RequiredParameterNotProvidedEventName)] 2703[LoggerMessage(RequestDelegateCreationLogging.ImplicitBodyNotProvidedEventId, LogLevel.Debug, RequestDelegateCreationLogging.ImplicitBodyNotProvidedLogMessage, EventName = RequestDelegateCreationLogging.ImplicitBodyNotProvidedEventName)] 2717[LoggerMessage(RequestDelegateCreationLogging.UnexpectedJsonContentTypeEventId, LogLevel.Debug, RequestDelegateCreationLogging.UnexpectedJsonContentTypeLogMessage, EventName = RequestDelegateCreationLogging.UnexpectedJsonContentTypeEventName)] 2731[LoggerMessage(RequestDelegateCreationLogging.UnexpectedFormContentTypeEventId, LogLevel.Debug, RequestDelegateCreationLogging.UnexpectedFormContentTypeLogMessage, EventName = RequestDelegateCreationLogging.UnexpectedFormContentTypeLogEventName)] 2745[LoggerMessage(RequestDelegateCreationLogging.InvalidFormRequestBodyEventId, LogLevel.Debug, RequestDelegateCreationLogging.InvalidFormRequestBodyLogMessage, EventName = RequestDelegateCreationLogging.InvalidFormRequestBodyEventName)] 2759[LoggerMessage(RequestDelegateCreationLogging.InvalidAntiforgeryTokenEventId, LogLevel.Debug, RequestDelegateCreationLogging.InvalidAntiforgeryTokenLogMessage, EventName = RequestDelegateCreationLogging.InvalidAntiforgeryTokenEventName)] 2773[LoggerMessage(RequestDelegateCreationLogging.FormDataMappingFailedEventId, LogLevel.Debug, RequestDelegateCreationLogging.FormDataMappingFailedLogMessage, EventName = RequestDelegateCreationLogging.FormDataMappingFailedEventName)] 2787[LoggerMessage(RequestDelegateCreationLogging.UnexpectedRequestWithoutBodyEventId, LogLevel.Debug, RequestDelegateCreationLogging.UnexpectedRequestWithoutBodyLogMessage, EventName = RequestDelegateCreationLogging.UnexpectedRequestWithoutBodyEventName)]
RequestDelegateFactoryOptions.cs (1)
27/// writing a <see cref="LogLevel.Debug"/> log when handling invalid requests.
src\Components\Endpoints\src\FormMapping\Metadata\FormDataMetadataFactory.cs (27)
163if (_logger.IsEnabled(LogLevel.Debug)) 305if (_logger.IsEnabled(LogLevel.Debug)) 353[LoggerMessage(1, LogLevel.Debug, "Begin resolve metadata graph for type '{Type}'.", EventName = nameof(StartResolveMetadataGraph))] 356[LoggerMessage(2, LogLevel.Debug, "End resolve metadata graph for type '{Type}'.", EventName = nameof(EndResolveMetadataGraph))] 359[LoggerMessage(3, LogLevel.Debug, "Cached metadata found for type '{Type}'.", EventName = nameof(Metadata))] 362[LoggerMessage(4, LogLevel.Debug, "No cached metadata graph for type '{Type}'.", EventName = nameof(NoMetadataFound))] 365[LoggerMessage(5, LogLevel.Debug, "Recursive type '{Type}' found in the resolution graph '{Chain}'.", EventName = nameof(RecursiveTypeFound))] 368[LoggerMessage(6, LogLevel.Debug, "'{Type}' identified as primitive.", EventName = nameof(PrimitiveType))] 371[LoggerMessage(7, LogLevel.Debug, "'{Type}' identified as dictionary.", EventName = nameof(DictionaryType))] 374[LoggerMessage(8, LogLevel.Debug, "'{Type}' identified as collection.", EventName = nameof(CollectionType))] 377[LoggerMessage(9, LogLevel.Debug, "'{Type}' identified as object.", EventName = nameof(ObjectType))] 380[LoggerMessage(10, LogLevel.Debug, "Constructor found for type '{Type}' with parameters '{Parameters}'.", EventName = nameof(ConstructorFound))] 383[LoggerMessage(11, LogLevel.Debug, "Constructor parameter '{Name}' of type '{ParameterType}' found for type '{Type}'.", EventName = nameof(ConstructorParameter))] 386[LoggerMessage(12, LogLevel.Debug, "Candidate property '{Name}' of type '{PropertyType}'.", EventName = nameof(CandidateProperty))] 389[LoggerMessage(13, LogLevel.Debug, "Candidate property {PropertyName} has a matching constructor parameter '{ConstructorParameterName}'.", EventName = nameof(MatchingConstructorParameterFound))] 392[LoggerMessage(14, LogLevel.Debug, "Candidate property or constructor parameter {PropertyName} defines a custom name '{CustomName}'.", EventName = nameof(CustomParameterNameMetadata))] 395[LoggerMessage(15, LogLevel.Debug, "Candidate property {Name} will not be mapped. It has been explicitly ignored.", EventName = nameof(IgnoredProperty))] 398[LoggerMessage(16, LogLevel.Debug, "Candidate property {Name} will not be mapped. It has no public setter.", EventName = nameof(NonPublicSetter))] 401[LoggerMessage(17, LogLevel.Debug, "Candidate property {Name} is marked as required.", EventName = nameof(PropertyRequired))] 404[LoggerMessage(18, LogLevel.Debug, "Metadata created for {Type}.", EventName = nameof(MetadataComputed))] 407[LoggerMessage(19, LogLevel.Debug, "Can not map type generic type definition '{Type}'.", EventName = nameof(GenericTypeDefinitionNotSupported))] 410[LoggerMessage(20, LogLevel.Debug, "Unable to select a constructor. Multiple public constructors found for type '{Type}'.", EventName = nameof(MultiplePublicConstructorsFound))] 413[LoggerMessage(21, LogLevel.Debug, "Can not map interface type '{Type}'.", EventName = nameof(InterfacesNotSupported))] 416[LoggerMessage(22, LogLevel.Debug, "Can not map abstract type '{Type}'.", EventName = nameof(AbstractClassesNotSupported))] 419[LoggerMessage(23, LogLevel.Debug, "Unable to select a constructor. No public constructors found for type '{Type}'.", EventName = nameof(NoPublicConstructorFound))] 422[LoggerMessage(24, LogLevel.Debug, "Can not map type '{Type}'. Constructor parameter {Name} of type {ParameterType} is not supported.", EventName = nameof(ConstructorParameterTypeNotSupported))] 425[LoggerMessage(25, LogLevel.Debug, "Can not map type '{Type}'. Property {Name} of type {PropertyType} is not supported.", EventName = nameof(PropertyTypeNotSupported))]
Microsoft.AspNetCore.Http.Extensions.Tests (33)
RequestDelegateFactoryTests.cs (5)
1582Assert.Equal(LogLevel.Debug, log.LogLevel); 1681Assert.Equal(LogLevel.Debug, log.LogLevel); 3205Assert.Equal(LogLevel.Debug, logs[0].LogLevel); 3209Assert.Equal(LogLevel.Debug, logs[1].LogLevel); 3213Assert.Equal(LogLevel.Debug, logs[2].LogLevel);
RequestDelegateGenerator\CompileTimeCreationTests.cs (2)
564Assert.Equal(LogLevel.Debug, log1.LogLevel); 572Assert.Equal(LogLevel.Debug, log2.LogLevel);
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (3)
394Assert.Equal(LogLevel.Debug, logs[0].LogLevel); 398Assert.Equal(LogLevel.Debug, logs[1].LogLevel); 402Assert.Equal(LogLevel.Debug, logs[2].LogLevel);
RequestDelegateGenerator\RequestDelegateCreationTests.BindAsync.cs (1)
143Assert.Equal(LogLevel.Debug, log.LogLevel);
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (3)
346Assert.Equal(LogLevel.Debug, logMessage.LogLevel); 942Assert.Equal(LogLevel.Debug, logMessage.LogLevel); 976Assert.Equal(LogLevel.Debug, logMessage.LogLevel);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (1)
475Assert.Equal(LogLevel.Debug, log.LogLevel);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBodyOrService.cs (1)
132Assert.Equal(LogLevel.Debug, log.LogLevel);
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (15)
50Assert.Equal(LogLevel.Debug, logs[0].LogLevel); 58Assert.Equal(LogLevel.Debug, logs[1].LogLevel); 66Assert.Equal(LogLevel.Debug, logs[2].LogLevel); 74Assert.Equal(LogLevel.Debug, logs[3].LogLevel); 113Assert.Equal(LogLevel.Debug, logs[0].LogLevel); 121Assert.Equal(LogLevel.Debug, logs[1].LogLevel); 233Assert.Equal(LogLevel.Debug, logs[0].LogLevel); 241Assert.Equal(LogLevel.Debug, logs[1].LogLevel); 313Assert.Equal(LogLevel.Debug, logs[0].LogLevel); 321Assert.Equal(LogLevel.Debug, logs[1].LogLevel); 403Assert.Equal(LogLevel.Debug, logMessage.LogLevel); 452Assert.Equal(LogLevel.Debug, logMessage.LogLevel); 493Assert.Equal(LogLevel.Debug, logMessage.LogLevel); 531Assert.Equal(LogLevel.Debug, logMessage.LogLevel); 611Assert.Equal(LogLevel.Debug, logMessage.LogLevel);
RequestDelegateGenerator\RequestDelegateCreationTests.QueryParameters.cs (1)
68Assert.Equal(LogLevel.Debug, log.LogLevel);
RequestDelegateGenerator\RuntimeCreationTests.ComplexFormBinding.cs (1)
184Assert.Equal(LogLevel.Debug, log.LogLevel);
Microsoft.AspNetCore.Http.Results (6)
src\Shared\ResultsHelpers\FileResultHelper.cs (6)
398[LoggerMessage(17, LogLevel.Debug, "Writing the requested range of bytes to the body.", EventName = "WritingRangeToBody")] 401[LoggerMessage(34, LogLevel.Debug, 406[LoggerMessage(35, LogLevel.Debug, 414[LoggerMessage(36, LogLevel.Debug, 422[LoggerMessage(37, LogLevel.Debug, 430[LoggerMessage(38, LogLevel.Debug,
Microsoft.AspNetCore.HttpLogging (5)
FileLoggerProcessor.cs (2)
341[LoggerMessage(1, LogLevel.Debug, "Failed to write all messages.", EventName = "WriteMessagesFailed")] 344[LoggerMessage(2, LogLevel.Debug, "Failed to create directory {Path}.", EventName = "CreateDirectoryFailed")]
HttpLoggingExtensions.cs (3)
29[LoggerMessage(5, LogLevel.Debug, "Decode failure while converting body.", EventName = "DecodeFailure")] 32[LoggerMessage(6, LogLevel.Debug, "Unrecognized Content-Type for {Name} body.", EventName = "UnrecognizedMediaType")] 35[LoggerMessage(7, LogLevel.Debug, "No Content-Type header for {Name} body.", EventName = "NoMediaType")]
Microsoft.AspNetCore.HttpOverrides (2)
ForwardedHeadersMiddleware.cs (2)
229if (_logger.IsEnabled(LogLevel.Debug)) 246if (_logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.HttpsPolicy (5)
HstsLoggingExtensions.cs (2)
10[LoggerMessage(1, LogLevel.Debug, "The request is insecure. Skipping HSTS header.", EventName = "NotSecure")] 13[LoggerMessage(2, LogLevel.Debug, "The host '{host}' is excluded. Skipping HSTS header.", EventName = "ExcludedHost")]
HttpsLoggingExtensions.cs (3)
10[LoggerMessage(1, LogLevel.Debug, "Redirecting to '{redirect}'.", EventName = "RedirectingToHttps")] 13[LoggerMessage(2, LogLevel.Debug, "Https port '{port}' loaded from configuration.", EventName = "PortLoadedFromConfig")] 19[LoggerMessage(5, LogLevel.Debug, "Https port '{httpsPort}' discovered from server endpoints.", EventName = "PortFromServer")]
Microsoft.AspNetCore.HttpsPolicy.Tests (9)
HstsMiddlewareTests.cs (3)
214Assert.Equal(LogLevel.Debug, message.LogLevel); 324Assert.Equal(LogLevel.Debug, message.LogLevel); 371Assert.Equal(LogLevel.Debug, message.LogLevel);
HttpsRedirectionMiddlewareTests.cs (6)
117Assert.Equal(LogLevel.Debug, message.LogLevel); 173Assert.Equal(LogLevel.Debug, message.LogLevel); 274Assert.Equal(LogLevel.Debug, message.LogLevel); 278Assert.Equal(LogLevel.Debug, message.LogLevel); 362Assert.Equal(LogLevel.Debug, message.LogLevel); 366Assert.Equal(LogLevel.Debug, message.LogLevel);
Microsoft.AspNetCore.Identity (7)
LoggingExtensions.cs (7)
8[LoggerMessage(0, LogLevel.Debug, "ValidateAsync failed: the expiration time is invalid.", EventName = "InvalidExpirationTime")] 11[LoggerMessage(1, LogLevel.Debug, "ValidateAsync failed: did not find expected UserId.", EventName = "UserIdsNotEquals")] 14[LoggerMessage(2, LogLevel.Debug, "ValidateAsync failed: did not find expected purpose. '{ActualPurpose}' does not match the expected purpose '{ExpectedPurpose}'.", EventName = "PurposeNotEquals")] 17[LoggerMessage(3, LogLevel.Debug, "ValidateAsync failed: unexpected end of input.", EventName = "UnexpectedEndOfInput")] 20[LoggerMessage(4, LogLevel.Debug, "ValidateAsync failed: did not find expected security stamp.", EventName = "SecurityStampNotEquals")] 23[LoggerMessage(5, LogLevel.Debug, "ValidateAsync failed: the expected stamp is not empty.", EventName = "SecurityStampIsNotEmpty")] 26[LoggerMessage(6, LogLevel.Debug, "ValidateAsync failed: unhandled exception was thrown.", EventName = "UnhandledException")]
Microsoft.AspNetCore.InternalTesting (3)
AssemblyTestLog.cs (1)
60StartTestLog(output, className, out loggerFactory, LogLevel.Debug, testName);
LoggedTest\LoggedTestBase.cs (2)
49public IDisposable StartLog(out ILoggerFactory loggerFactory, [CallerMemberName] string testName = null) => StartLog(out loggerFactory, LogLevel.Debug, testName); 78logLevelAttribute?.LogLevel ?? LogLevel.Debug,
Microsoft.AspNetCore.InternalTesting.Tests (2)
LoggedTestXunitTests.cs (2)
13[LogLevel(LogLevel.Debug)] 85Assert.Equal(LogLevel.Debug, message.LogLevel);
Microsoft.AspNetCore.Localization (2)
RequestCultureProviderLoggerExtensions.cs (2)
11[LoggerMessage(1, LogLevel.Debug, "{requestCultureProvider} returned the following unsupported cultures '{cultures}'.", EventName = "UnsupportedCulture")] 14[LoggerMessage(2, LogLevel.Debug, "{requestCultureProvider} returned the following unsupported UI Cultures '{uiCultures}'.", EventName = "UnsupportedUICulture")]
Microsoft.AspNetCore.Localization.Tests (2)
CookieRequestCultureProviderTest.cs (2)
224Assert.Equal(LogLevel.Debug, write.LogLevel); 283Assert.Equal(LogLevel.Debug, write.LogLevel);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
ApiDescriptionGroupCollectionProvider.cs (1)
87[LoggerMessage(2, LogLevel.Debug, "Executing API description provider '{ProviderName}' from assembly {ProviderAssembly} v{AssemblyVersion}.", EventName = "ApiDescriptionProviderExecuting")]
Microsoft.AspNetCore.Mvc.Core (102)
Filters\DisableRequestSizeLimitFilter.cs (2)
68[LoggerMessage(3, LogLevel.Debug, "The request body size limit has been disabled.", EventName = "RequestBodySizeLimitDisabled")] 71[LoggerMessage(4, LogLevel.Debug, "Execution of filter {OverriddenFilter} is preempted by filter {OverridingFilter} which is the most effective filter implementing policy {FilterPolicy}.", EventName = "NotMostEffectiveFilter")]
Filters\OutputCacheFilter.cs (1)
53[LoggerMessage(1, LogLevel.Debug, "Execution of filter {OverriddenFilter} is preempted by filter {OverridingFilter} which is the most effective filter implementing policy {FilterPolicy}.", EventName = "NotMostEffectiveFilter")]
Filters\RequestFormLimitsFilter.cs (2)
54[LoggerMessage(2, LogLevel.Debug, "Applied the configured form options on the current request.", EventName = "AppliedRequestFormLimits")] 57[LoggerMessage(4, LogLevel.Debug, "Execution of filter {OverriddenFilter} is preempted by filter {OverridingFilter} which is the most effective filter implementing policy {FilterPolicy}.", EventName = "NotMostEffectiveFilter")]
Filters\RequestSizeLimitFilter.cs (2)
70[LoggerMessage(3, LogLevel.Debug, "The maximum request body size has been set to {RequestSize}.", EventName = "MaxRequestBodySizeSet")] 73[LoggerMessage(4, LogLevel.Debug, "Execution of filter {OverriddenFilter} is preempted by filter {OverridingFilter} which is the most effective filter implementing policy {FilterPolicy}.", EventName = "NotMostEffectiveFilter")]
Filters\ResponseCacheFilter.cs (1)
105[LoggerMessage(4, LogLevel.Debug, "Execution of filter {OverriddenFilter} is preempted by filter {OverridingFilter} which is the most effective filter implementing policy {FilterPolicy}.", EventName = "NotMostEffectiveFilter")]
Formatters\FormatFilter.cs (4)
172[LoggerMessage(1, LogLevel.Debug, "Could not find a media type for the format '{FormatFilterContentType}'.", EventName = "UnsupportedFormatFilterContentType")] 175[LoggerMessage(2, LogLevel.Debug, "Current action does not support the content type '{FormatFilterContentType}'. The supported content types are '{SupportedMediaTypes}'.", EventName = "ActionDoesNotSupportFormatFilterContentType")] 178[LoggerMessage(3, LogLevel.Debug, "Cannot apply content type '{FormatFilterContentType}' to the response as current action had explicitly set a preferred content type.", EventName = "CannotApplyFormatFilterContentType")] 181[LoggerMessage(5, LogLevel.Debug, "Current action does not explicitly specify any content types for the response.", EventName = "ActionDoesNotExplicitlySpecifyContentTypes")]
Formatters\SystemTextJsonInputFormatter.cs (2)
139[LoggerMessage(1, LogLevel.Debug, "JSON input formatter threw an exception: {Message}", EventName = "SystemTextJsonInputException")] 145[LoggerMessage(2, LogLevel.Debug, "JSON input formatter succeeded, deserializing to type '{TypeName}'", EventName = "SystemTextJsonInputSuccess")]
Infrastructure\ActionSelector.cs (1)
255[LoggerMessage(2, LogLevel.Debug, "Action '{ActionName}' with id '{ActionId}' did not match the constraint '{ActionConstraint}'", EventName = "ConstraintMismatch")]
Infrastructure\ConfigureCompatibilityOptions.cs (3)
68if (_logger.IsEnabled(LogLevel.Debug)) 81if (_logger.IsEnabled(LogLevel.Debug)) 93if (_logger.IsEnabled(LogLevel.Debug))
Infrastructure\ControllerActionInvoker.cs (4)
589if (!logger.IsEnabled(LogLevel.Debug)) 599[LoggerMessage(1, LogLevel.Debug, "Executing controller factory for controller {Controller} ({AssemblyName})", EventName = "ControllerFactoryExecuting", SkipEnabledCheck = true)] 604if (!logger.IsEnabled(LogLevel.Debug)) 614[LoggerMessage(2, LogLevel.Debug, "Executed controller factory for controller {Controller} ({AssemblyName})", EventName = "ControllerFactoryExecuted", SkipEnabledCheck = true)]
Infrastructure\DefaultOutputFormatterSelector.cs (10)
290if (logger.IsEnabled(LogLevel.Debug)) 297[LoggerMessage(2, LogLevel.Debug, "Selected output formatter '{OutputFormatter}' and content type '{ContentType}' to write the response.", EventName = "FormatterSelected", SkipEnabledCheck = true)] 300[LoggerMessage(4, LogLevel.Debug, "No information found on request to perform content negotiation.", EventName = "NoAcceptForNegotiation")] 303[LoggerMessage(5, LogLevel.Debug, "Could not find an output formatter based on content negotiation. Accepted types were ({AcceptTypes})", EventName = "NoFormatterFromNegotiation")] 306[LoggerMessage(6, LogLevel.Debug, "Attempting to select an output formatter based on Accept header '{AcceptHeader}'.", EventName = "SelectingOutputFormatterUsingAcceptHeader")] 309[LoggerMessage(7, LogLevel.Debug, "Attempting to select an output formatter based on Accept header '{AcceptHeader}' and explicitly specified content types '{ExplicitContentTypes}'. The content types in the accept header must be a subset of the explicitly set content types.", EventName = "SelectingOutputFormatterUsingAcceptHeaderAndExplicitContentTypes")] 312[LoggerMessage(8, LogLevel.Debug, "Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.", EventName = "SelectingOutputFormatterWithoutUsingContentTypes")] 315[LoggerMessage(9, LogLevel.Debug, "Attempting to select the first output formatter in the output formatters list which supports a content type from the explicitly specified content types '{ExplicitContentTypes}'.", EventName = "SelectingOutputFormatterUsingContentTypes")] 318[LoggerMessage(10, LogLevel.Debug, "Attempting to select the first formatter in the output formatters list which can write the result.", EventName = "SelectingFirstCanWriteFormatter")] 321[LoggerMessage(11, LogLevel.Debug, "List of registered output formatters, in the following order: {OutputFormatters}", EventName = "RegisteredOutputFormatters")]
Infrastructure\FileContentResultExecutor.cs (1)
89[LoggerMessage(17, LogLevel.Debug, "Writing the requested range of bytes to the body...", EventName = "WritingRangeToBody")]
Infrastructure\FileStreamResultExecutor.cs (1)
101[LoggerMessage(17, LogLevel.Debug, "Writing the requested range of bytes to the body...", EventName = "WritingRangeToBody")]
Infrastructure\ModelStateInvalidFilter.cs (1)
85[LoggerMessage(1, LogLevel.Debug, "The request has model state errors, returning an error response.", EventName = "ModelStateInvalidFilterExecuting")]
Infrastructure\PhysicalFileResultExecutor.cs (1)
177[LoggerMessage(17, LogLevel.Debug, "Writing the requested range of bytes to the body...", EventName = "WritingRangeToBody")]
Infrastructure\ResourceInvoker.Log.cs (1)
79[LoggerMessage(4, LogLevel.Debug, "Request was short circuited at resource filter '{ResourceFilter}'.", EventName = "ResourceFilterShortCircuit")]
Infrastructure\VirtualFileResultExecutor.cs (1)
159[LoggerMessage(17, LogLevel.Debug, "Writing the requested range of bytes to the body...", EventName = "WritingRangeToBody")]
ModelBinding\Binders\BodyModelBinder.cs (7)
204if (logger.IsEnabled(LogLevel.Debug)) 211[LoggerMessage(1, LogLevel.Debug, "Selected input formatter '{InputFormatter}' for content type '{ContentType}'.", EventName = "InputFormatterSelected", SkipEnabledCheck = true)] 216if (logger.IsEnabled(LogLevel.Debug)) 223[LoggerMessage(2, LogLevel.Debug, "Rejected input formatter '{InputFormatter}' for content type '{ContentType}'.", EventName = "InputFormatterRejected", SkipEnabledCheck = true)] 228if (logger.IsEnabled(LogLevel.Debug)) 241[LoggerMessage(3, LogLevel.Debug, "No input formatter was found to support the content type '{ContentType}' for use with the [FromBody] attribute.", EventName = "NoInputFormatterSelected", SkipEnabledCheck = true)] 244[LoggerMessage(4, LogLevel.Debug, "To use model binding, remove the [FromBody] attribute from the property or parameter named '{ModelName}' with model type '{ModelType}'.", EventName = "RemoveFromBodyAttribute", SkipEnabledCheck = true)]
ModelBinding\Binders\CollectionModelBinder.cs (4)
494if (!logger.IsEnabled(LogLevel.Debug)) 515[LoggerMessage(29, LogLevel.Debug, 524[LoggerMessage(30, LogLevel.Debug, 536[LoggerMessage(28, LogLevel.Debug, "Could not bind to collection using a format like {ModelName}=value1&{ModelName}=value2", EventName = "NoNonIndexBasedFormatFoundForCollection")]
ModelBinding\Binders\ComplexObjectModelBinder.cs (2)
736[LoggerMessage(17, LogLevel.Debug, "Could not bind to model with name '{ModelName}' and type '{ModelType}' as the type has no " + 748[LoggerMessage(18, LogLevel.Debug, "Could not bind to model of type '{ModelType}' as there were no values in the request for any of the properties.", EventName = "CannotBindToComplexType")]
ModelBinding\Binders\ComplexTypeModelBinder.cs (2)
577[LoggerMessage(17, LogLevel.Debug, "Could not bind to model with name '{ModelName}' and type '{ModelType}' as the type has no public settable properties.", EventName = "NoPublicSettableProperties")] 583[LoggerMessage(18, LogLevel.Debug, "Could not bind to model of type '{ModelType}' as there were no values in the request for any of the properties.", EventName = "CannotBindToComplexType")]
ModelBinding\Binders\DictionaryModelBinder.cs (1)
268[LoggerMessage(33, LogLevel.Debug, "Attempting to bind model with name '{ModelName}' using the format {ModelName}[key1]=value1&{ModelName}[key2]=value2", EventName = "NoKeyValueFormatForDictionaryModelBinder")]
ModelBinding\Binders\FormFileModelBinder.cs (1)
211[LoggerMessage(21, LogLevel.Debug, "No files found in the request to bind the model to.", EventName = "NoFilesFoundInRequest")]
ModelBinding\Binders\HeaderModelBinderProvider.cs (1)
67[LoggerMessage(20, LogLevel.Debug, "Could not create a binder for type '{ModelType}' as this binder only supports simple types (like string, int, bool, enum) or a collection of simple types.", EventName = "CannotCreateHeaderModelBinder")]
ModelBinding\ModelBinderFactory.cs (1)
325[LoggerMessage(12, LogLevel.Debug, "Registered model binder providers, in the following order: {ModelBinderProviders}", EventName = "RegisteredModelBinderProviders")]
ModelBinding\ParameterBinder.Log.cs (15)
20if (!logger.IsEnabled(LogLevel.Debug)) 55[LoggerMessage(22, LogLevel.Debug, "Attempting to bind parameter '{ParameterName}' of type '{ModelType}' ...", EventName = "AttemptingToBindParameter", SkipEnabledCheck = true)] 58[LoggerMessage(39, LogLevel.Debug, "Attempting to bind property '{PropertyContainerType}.{PropertyName}' of type '{ModelType}' ...", EventName = "AttemptingToBindProperty", SkipEnabledCheck = true)] 66if (!logger.IsEnabled(LogLevel.Debug)) 101[LoggerMessage(23, LogLevel.Debug, "Done attempting to bind parameter '{ParameterName}' of type '{ModelType}'.", EventName = "DoneAttemptingToBindParameter", SkipEnabledCheck = true)] 104[LoggerMessage(40, LogLevel.Debug, "Done attempting to bind property '{PropertyContainerType}.{PropertyName}' of type '{ModelType}'.", EventName = "DoneAttemptingToBindProperty", SkipEnabledCheck = true)] 112if (!logger.IsEnabled(LogLevel.Debug)) 148[LoggerMessage(26, LogLevel.Debug, "Attempting to validate the bound parameter '{ParameterName}' of type '{ModelType}' ...", EventName = "AttemptingToValidateParameter", SkipEnabledCheck = true)] 151[LoggerMessage(41, LogLevel.Debug, "Attempting to validate the bound property '{PropertyContainerType}.{PropertyName}' of type '{ModelType}' ...", EventName = "AttemptingToValidateProperty", SkipEnabledCheck = true)] 159if (!logger.IsEnabled(LogLevel.Debug)) 198[LoggerMessage(27, LogLevel.Debug, "Done attempting to validate the bound parameter '{ParameterName}' of type '{ModelType}'.", EventName = "DoneAttemptingToValidateParameter")] 201[LoggerMessage(42, LogLevel.Debug, "Done attempting to validate the bound property '{PropertyContainerType}.{PropertyName}' of type '{ModelType}'.", EventName = "DoneAttemptingToValidateProperty")] 209if (!logger.IsEnabled(LogLevel.Debug)) 245[LoggerMessage(47, LogLevel.Debug, "Skipped binding property '{PropertyContainerType}.{PropertyName}' since its binding information disallowed it for the current request.", 250[LoggerMessage(48, LogLevel.Debug, "Skipped binding parameter '{ParameterName}' since its binding information disallowed it for the current request.",
MvcCoreLoggerExtensions.cs (24)
27if (!logger.IsEnabled(LogLevel.Debug)) 38if (!logger.IsEnabled(LogLevel.Debug)) 49if (!logger.IsEnabled(LogLevel.Debug)) 60if (!logger.IsEnabled(LogLevel.Debug)) 71if (!logger.IsEnabled(LogLevel.Debug)) 88if (logger.IsEnabled(LogLevel.Debug)) 101[LoggerMessage(3, LogLevel.Debug, "No actions matched the current request. Route values: {RouteValues}", EventName = "NoActionsMatched", SkipEnabledCheck = true)] 104[LoggerMessage(5, LogLevel.Debug, "Request was short circuited at result filter '{ResultFilter}'.", EventName = "ResultFilterShortCircuit")] 107[LoggerMessage(4, LogLevel.Debug, "Request was short circuited at exception filter '{ExceptionFilter}'.", EventName = "ExceptionFilterShortCircuit")] 110[LoggerMessage(63, LogLevel.Debug, "Request was short circuited at action filter '{ActionFilter}'.", EventName = "ActionFilterShortCircuit")] 115if (!logger.IsEnabled(LogLevel.Debug)) 147[LoggerMessage(15, LogLevel.Debug, "Could not find a value in the request with name '{ModelName}' for binding property '{PropertyContainerType}.{ModelFieldName}' of type '{ModelType}'.", 152[LoggerMessage(16, LogLevel.Debug, "Could not find a value in the request with name '{ModelName}' for binding parameter '{ModelFieldName}' of type '{ModelType}'.", 157[LoggerMessage(46, LogLevel.Debug, "Could not find a value in the request with name '{ModelName}' of type '{ModelType}'.", EventName = "FoundNoValueInRequest", SkipEnabledCheck = true)] 163[LoggerMessage(19, LogLevel.Debug, 170if (!logger.IsEnabled(LogLevel.Debug)) 199[LoggerMessage(44, LogLevel.Debug, "Attempting to bind parameter '{ParameterName}' of type '{ModelType}' using the name '{ModelName}' in request data ...", EventName = "AttemptingToBindParameterModel", SkipEnabledCheck = true)] 202[LoggerMessage(13, LogLevel.Debug, "Attempting to bind property '{PropertyContainerType}.{PropertyName}' of type '{ModelType}' using the name '{ModelName}' in request data ...", EventName = "AttemptingToBindPropertyModel", SkipEnabledCheck = true)] 205[LoggerMessage(24, LogLevel.Debug, "Attempting to bind model of type '{ModelType}' using the name '{ModelName}' in request data ...", EventName = "AttemptingToBindModel", SkipEnabledCheck = true)] 210if (!logger.IsEnabled(LogLevel.Debug)) 237[LoggerMessage(14, LogLevel.Debug, "Done attempting to bind property '{PropertyContainerType}.{PropertyName}' of type '{ModelType}'.", EventName = "DoneAttemptingToBindPropertyModel")] 240[LoggerMessage(25, LogLevel.Debug, "Done attempting to bind model of type '{ModelType}' using the name '{ModelName}'.", EventName = "DoneAttemptingToBindModel", SkipEnabledCheck = true)] 243[LoggerMessage(45, LogLevel.Debug, "Done attempting to bind parameter '{ParameterName}' of type '{ModelType}'.", EventName = "DoneAttemptingToBindParameterModel", SkipEnabledCheck = true)] 260[LoggerMessage(1, LogLevel.Debug, "Execution plan of {FilterType} filters (in the following order): {Filters}", EventName = "FilterExecutionPlan", SkipEnabledCheck = true)]
src\Shared\ResultsHelpers\FileResultHelper.cs (6)
398[LoggerMessage(17, LogLevel.Debug, "Writing the requested range of bytes to the body.", EventName = "WritingRangeToBody")] 401[LoggerMessage(34, LogLevel.Debug, 406[LoggerMessage(35, LogLevel.Debug, 414[LoggerMessage(36, LogLevel.Debug, 422[LoggerMessage(37, LogLevel.Debug, 430[LoggerMessage(38, LogLevel.Debug,
Microsoft.AspNetCore.Mvc.Core.Test (2)
Filters\RequestFormLimitsFilterTest.cs (2)
98Assert.Equal(LogLevel.Debug, write.LogLevel); 124Assert.Equal(LogLevel.Debug, write.LogLevel);
Microsoft.AspNetCore.Mvc.Cors (1)
CorsLoggerExtensions.cs (1)
10[LoggerMessage(1, LogLevel.Debug, "Skipping the execution of current filter as its not the most effective filter implementing the policy {FilterPolicy}.", EventName = "NotMostEffectiveFilter")]
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
XmlDataContractSerializerOutputFormatter.cs (2)
309[LoggerMessage(1, LogLevel.Debug, "Buffering IAsyncEnumerable instance of type '{Type}'.", EventName = "BufferingAsyncEnumerable", SkipEnabledCheck = true)] 314if (logger.IsEnabled(LogLevel.Debug))
XmlSerializerOutputFormatter.cs (2)
298[LoggerMessage(1, LogLevel.Debug, "Buffering IAsyncEnumerable instance of type '{Type}'.", EventName = "BufferingAsyncEnumerable", SkipEnabledCheck = true)] 303if (logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.Mvc.NewtonsoftJson (5)
NewtonsoftJsonInputFormatter.cs (1)
440[LoggerMessage(1, LogLevel.Debug, "JSON input formatter threw an exception.", EventName = "JsonInputException")]
NewtonsoftJsonOutputFormatter.cs (2)
233[LoggerMessage(1, LogLevel.Debug, "Buffering IAsyncEnumerable instance of type '{Type}'.", EventName = "BufferingAsyncEnumerable", SkipEnabledCheck = true)] 238if (logger.IsEnabled(LogLevel.Debug))
NewtonsoftJsonResultExecutor.cs (2)
168[LoggerMessage(1, LogLevel.Debug, "Buffering IAsyncEnumerable instance of type '{Type}'.", EventName = "BufferingAsyncEnumerable", SkipEnabledCheck = true)] 173if (logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.Mvc.Razor (8)
Compilation\DefaultViewCompiler.cs (2)
137[LoggerMessage(3, LogLevel.Debug, "Initializing Razor view compiler with compiled view: '{ViewName}'.", EventName = "ViewCompilerLocatedCompiledView")] 140[LoggerMessage(4, LogLevel.Debug, "Initializing Razor view compiler with no compiled views.", EventName = "ViewCompilerNoCompiledViewsFound")]
RazorViewEngine.cs (2)
496[LoggerMessage(1, LogLevel.Debug, "View lookup cache miss for view '{ViewName}' in controller '{ControllerName}'.", EventName = "ViewLookupCacheMiss")] 499[LoggerMessage(2, LogLevel.Debug, "View lookup cache hit for view '{ViewName}' in controller '{ControllerName}'.", EventName = "ViewLookupCacheHit")]
TagHelpers\TagHelperComponentTagHelper.cs (4)
70if (_logger.IsEnabled(LogLevel.Debug)) 84if (_logger.IsEnabled(LogLevel.Debug)) 93[LoggerMessage(2, LogLevel.Debug, "Tag helper component '{ComponentName}' initialized.", EventName = "TagHelperComponentInitialized", SkipEnabledCheck = true)] 96[LoggerMessage(3, LogLevel.Debug, "Tag helper component '{ComponentName}' processed.", EventName = "TagHelperComponentProcessed", SkipEnabledCheck = true)]
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (5)
RuntimeViewCompiler.cs (5)
337var startTimestamp = _logger.IsEnabled(LogLevel.Debug) ? Stopwatch.GetTimestamp() : 0; 411[LoggerMessage(1, LogLevel.Debug, "Compilation of the generated code for the Razor file at '{FilePath}' started.")] 414[LoggerMessage(2, LogLevel.Debug, "Compilation of the generated code for the Razor file at '{FilePath}' completed in {ElapsedMilliseconds}ms.")] 428[LoggerMessage(3, LogLevel.Debug, "Initializing Razor view compiler with compiled view: '{ViewName}'.")] 431[LoggerMessage(4, LogLevel.Debug, "Initializing Razor view compiler with no compiled views.")]
Microsoft.AspNetCore.Mvc.RazorPages (10)
PageLoggerExtensions.cs (10)
19[LoggerMessage(101, LogLevel.Debug, "Executing page model factory for page {Page} ({AssemblyName})", EventName = "ExecutingModelFactory", SkipEnabledCheck = true)] 24if (!logger.IsEnabled(LogLevel.Debug)) 34[LoggerMessage(102, LogLevel.Debug, "Executed page model factory for page {Page} ({AssemblyName})", EventName = "ExecutedModelFactory", SkipEnabledCheck = true)] 39if (!logger.IsEnabled(LogLevel.Debug)) 49[LoggerMessage(103, LogLevel.Debug, "Executing page factory for page {Page} ({AssemblyName})", EventName = "ExecutingPageFactory", SkipEnabledCheck = true)] 54if (!logger.IsEnabled(LogLevel.Debug)) 64[LoggerMessage(104, LogLevel.Debug, "Executed page factory for page {Page} ({AssemblyName})", EventName = "ExecutedPageFactory", SkipEnabledCheck = true)] 69if (!logger.IsEnabled(LogLevel.Debug)) 150[LoggerMessage(3, LogLevel.Debug, "Request was short circuited at page filter '{PageFilter}'.", EventName = "PageFilterShortCircuited")] 155[LoggerMessage(4, LogLevel.Debug, "Skipping the execution of current filter as its not the most effective filter implementing the policy {FilterPolicy}.", EventName = "NotMostEffectiveFilter")]
Microsoft.AspNetCore.Mvc.ViewFeatures (8)
CookieTempDataProvider.cs (2)
141[LoggerMessage(1, LogLevel.Debug, "The temp data cookie {CookieName} was not found.", EventName = "TempDataCookieNotFound")] 144[LoggerMessage(2, LogLevel.Debug, "The temp data cookie {CookieName} was used to successfully load temp data.", EventName = "TempDataCookieLoadSuccess")]
PartialViewResultExecutor.cs (1)
195[LoggerMessage(2, LogLevel.Debug, "The partial view path '{PartialViewFilePath}' was found in {ElapsedMilliseconds}ms.", EventName = "PartialViewFound")]
ViewComponents\DefaultViewComponentInvoker.cs (4)
227[LoggerMessage(1, LogLevel.Debug, "Executing view component {ViewComponentName} with arguments ({Arguments}).", EventName = "ViewComponentExecuting", SkipEnabledCheck = true)] 230[LoggerMessage(2, LogLevel.Debug, "Executed view component {ViewComponentName} in {ElapsedMilliseconds}ms and returned {ViewComponentResult}", EventName = "ViewComponentExecuted", SkipEnabledCheck = true)] 244if (logger.IsEnabled(LogLevel.Debug)) 258if (logger.IsEnabled(LogLevel.Debug))
ViewResultExecutor.cs (1)
195[LoggerMessage(2, LogLevel.Debug, "The view path '{ViewFilePath}' was found in {ElapsedMilliseconds}ms.", EventName = "ViewFound")]
Microsoft.AspNetCore.OutputCaching (4)
LoggerExtensions.cs (4)
14[LoggerMessage(1, LogLevel.Debug, "The 'IfNoneMatch' header of the request contains a value of *.", EventName = "NotModifiedIfNoneMatchStar")] 17[LoggerMessage(2, LogLevel.Debug, "The ETag {ETag} in the 'IfNoneMatch' header matched the ETag of a cached entry.", 21[LoggerMessage(3, LogLevel.Debug, "The last modified date of {LastModified} is before the date {IfModifiedSince} specified in the 'IfModifiedSince' header.", 48[LoggerMessage(11, LogLevel.Debug, "The response time of the entry is {ResponseTime} and has exceeded its expiry date.",
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
RedisOutputCacheStore.Log.cs (1)
18[LoggerMessage(3, LogLevel.Debug, "Unable to add library name suffix.", EventName = "UnableToAddLibraryNameSuffix")]
Microsoft.AspNetCore.OutputCaching.Tests (4)
TestUtils.cs (4)
289internal static LoggedMessage NotModifiedIfNoneMatchStar => new LoggedMessage(1, LogLevel.Debug); 290internal static LoggedMessage NotModifiedIfNoneMatchMatched => new LoggedMessage(2, LogLevel.Debug); 291internal static LoggedMessage NotModifiedIfModifiedSinceSatisfied => new LoggedMessage(3, LogLevel.Debug); 299internal static LoggedMessage ExpirationExpiresExceeded => new LoggedMessage(11, LogLevel.Debug);
Microsoft.AspNetCore.RateLimiting (3)
RateLimitingMiddleware.cs (3)
290[LoggerMessage(1, LogLevel.Debug, "Rate limits exceeded, rejecting this request.", EventName = "RequestRejectedLimitsExceeded")] 293[LoggerMessage(2, LogLevel.Debug, "This endpoint requires a rate limiting policy with name {PolicyName}, but no such policy exists.", EventName = "WarnMissingPolicy")] 296[LoggerMessage(3, LogLevel.Debug, "The request was canceled.", EventName = "RequestCanceled")]
Microsoft.AspNetCore.RateLimiting.Tests (1)
RateLimitingMiddlewareTests.cs (1)
161Assert.Equal(LogLevel.Debug, message.LogLevel);
Microsoft.AspNetCore.RequestDecompression (4)
DefaultRequestDecompressionProvider.cs (4)
66[LoggerMessage(2, LogLevel.Debug, "Request decompression is not supported for multiple Content-Encodings.", EventName = "MultipleContentEncodingsSpecified")] 69[LoggerMessage(3, LogLevel.Debug, "No matching request decompression provider found.", EventName = "NoDecompressionProvider")] 74if (logger.IsEnabled(LogLevel.Debug)) 80[LoggerMessage(4, LogLevel.Debug, "The request will be decompressed with '{ContentEncoding}'.", EventName = "DecompressingWith", SkipEnabledCheck = true)]
Microsoft.AspNetCore.RequestDecompression.Tests (7)
DefaultRequestDecompressionProviderTests.cs (3)
44AssertLog(logMessages.Single(), LogLevel.Debug, 97LogLevel.Debug, "No matching request decompression provider found."); 124AssertLog(logMessages.Single(), LogLevel.Debug,
RequestDecompressionMiddlewareTests.cs (4)
186AssertLog(logMessage, LogLevel.Debug, "Request decompression is not supported for multiple Content-Encodings."); 250AssertLog(logMessages.First(), LogLevel.Debug, $"The request will be decompressed with '{contentEncoding}'."); 669AssertLog(logMessage, LogLevel.Debug, $"The request will be decompressed with '{encoding}'."); 675AssertLog(logMessage, LogLevel.Debug, "No matching request decompression provider found.");
Microsoft.AspNetCore.ResponseCaching (22)
LoggerExtensions.cs (22)
14[LoggerMessage(1, LogLevel.Debug, "The request cannot be served from cache because it uses the HTTP method: {Method}.", 18[LoggerMessage(2, LogLevel.Debug, "The request cannot be served from cache because it contains an 'Authorization' header.", 22[LoggerMessage(3, LogLevel.Debug, "The request cannot be served from cache because it contains a 'no-cache' cache directive.", 26[LoggerMessage(4, LogLevel.Debug, "The request cannot be served from cache because it contains a 'no-cache' pragma directive.", 30[LoggerMessage(5, LogLevel.Debug, "Adding a minimum freshness requirement of {Duration} specified by the 'min-fresh' cache directive.", 34[LoggerMessage(6, LogLevel.Debug, "The age of the entry is {Age} and has exceeded the maximum age for shared caches of {SharedMaxAge} specified by the 's-maxage' cache directive.", 38[LoggerMessage(7, LogLevel.Debug, "The age of the entry is {Age} and has exceeded the maximum age of {MaxAge} specified by the 'max-age' cache directive. " + 43[LoggerMessage(8, LogLevel.Debug, "The age of the entry is {Age} and has exceeded the maximum age of {MaxAge} specified by the 'max-age' cache directive. " + 48[LoggerMessage(9, LogLevel.Debug, "The age of the entry is {Age} and has exceeded the maximum age of {MaxAge} specified by the 'max-age' cache directive.", EventName = "ExpirationMaxAgeExceeded")] 51[LoggerMessage(10, LogLevel.Debug, "The response time of the entry is {ResponseTime} and has exceeded the expiry date of {Expired} specified by the 'Expires' header.", 55[LoggerMessage(11, LogLevel.Debug, "Response is not cacheable because it does not contain the 'public' cache directive.", 59[LoggerMessage(12, LogLevel.Debug, "Response is not cacheable because it or its corresponding request contains a 'no-store' cache directive.", 62[LoggerMessage(13, LogLevel.Debug, "Response is not cacheable because it contains a 'no-cache' cache directive.", 66[LoggerMessage(14, LogLevel.Debug, "Response is not cacheable because it contains a 'SetCookie' header.", EventName = "ResponseWithSetCookieNotCacheable")] 69[LoggerMessage(15, LogLevel.Debug, "Response is not cacheable because it contains a '.Vary' header with a value of *.", 73[LoggerMessage(16, LogLevel.Debug, "Response is not cacheable because it contains the 'private' cache directive.", 77[LoggerMessage(17, LogLevel.Debug, "Response is not cacheable because its status code {StatusCode} does not indicate success.", 81[LoggerMessage(18, LogLevel.Debug, "The 'IfNoneMatch' header of the request contains a value of *.", EventName = "NotModifiedIfNoneMatchStar")] 84[LoggerMessage(19, LogLevel.Debug, "The ETag {ETag} in the 'IfNoneMatch' header matched the ETag of a cached entry.", 88[LoggerMessage(20, LogLevel.Debug, "The last modified date of {LastModified} is before the date {IfModifiedSince} specified in the 'IfModifiedSince' header.", 105[LoggerMessage(25, LogLevel.Debug, "Vary by rules were updated. Headers: {Headers}, Query keys: {QueryKeys}", EventName = "VaryByRulesUpdated")] 118[LoggerMessage(29, LogLevel.Debug,
Microsoft.AspNetCore.ResponseCaching.Tests (22)
TestUtils.cs (22)
275internal static LoggedMessage RequestMethodNotCacheable => new LoggedMessage(1, LogLevel.Debug); 276internal static LoggedMessage RequestWithAuthorizationNotCacheable => new LoggedMessage(2, LogLevel.Debug); 277internal static LoggedMessage RequestWithNoCacheNotCacheable => new LoggedMessage(3, LogLevel.Debug); 278internal static LoggedMessage RequestWithPragmaNoCacheNotCacheable => new LoggedMessage(4, LogLevel.Debug); 279internal static LoggedMessage ExpirationMinFreshAdded => new LoggedMessage(5, LogLevel.Debug); 280internal static LoggedMessage ExpirationSharedMaxAgeExceeded => new LoggedMessage(6, LogLevel.Debug); 281internal static LoggedMessage ExpirationMustRevalidate => new LoggedMessage(7, LogLevel.Debug); 282internal static LoggedMessage ExpirationMaxStaleSatisfied => new LoggedMessage(8, LogLevel.Debug); 283internal static LoggedMessage ExpirationMaxAgeExceeded => new LoggedMessage(9, LogLevel.Debug); 284internal static LoggedMessage ExpirationExpiresExceeded => new LoggedMessage(10, LogLevel.Debug); 285internal static LoggedMessage ResponseWithoutPublicNotCacheable => new LoggedMessage(11, LogLevel.Debug); 286internal static LoggedMessage ResponseWithNoStoreNotCacheable => new LoggedMessage(12, LogLevel.Debug); 287internal static LoggedMessage ResponseWithNoCacheNotCacheable => new LoggedMessage(13, LogLevel.Debug); 288internal static LoggedMessage ResponseWithSetCookieNotCacheable => new LoggedMessage(14, LogLevel.Debug); 289internal static LoggedMessage ResponseWithVaryStarNotCacheable => new LoggedMessage(15, LogLevel.Debug); 290internal static LoggedMessage ResponseWithPrivateNotCacheable => new LoggedMessage(16, LogLevel.Debug); 291internal static LoggedMessage ResponseWithUnsuccessfulStatusCodeNotCacheable => new LoggedMessage(17, LogLevel.Debug); 292internal static LoggedMessage NotModifiedIfNoneMatchStar => new LoggedMessage(18, LogLevel.Debug); 293internal static LoggedMessage NotModifiedIfNoneMatchMatched => new LoggedMessage(19, LogLevel.Debug); 294internal static LoggedMessage NotModifiedIfModifiedSinceSatisfied => new LoggedMessage(20, LogLevel.Debug); 299internal static LoggedMessage VaryByRulesUpdated => new LoggedMessage(25, LogLevel.Debug); 303internal static LoggedMessage ExpirationInfiniteMaxStaleSatisfied => new LoggedMessage(29, LogLevel.Debug);
Microsoft.AspNetCore.ResponseCompression (6)
ResponseCompressionLoggingExtensions.cs (6)
10[LoggerMessage(1, LogLevel.Debug, "No response compression available, the Accept-Encoding header is missing or invalid.", EventName = "NoAcceptEncoding")] 13[LoggerMessage(2, LogLevel.Debug, "No response compression available for HTTPS requests. See ResponseCompressionOptions.EnableForHttps.", EventName = "NoCompressionForHttps")] 19[LoggerMessage(4, LogLevel.Debug, "Response compression disabled due to the {header} header.", EventName = "NoCompressionDueToHeader")] 22[LoggerMessage(5, LogLevel.Debug, "Response compression is not enabled for the Content-Type '{header}'.", EventName = "NoCompressionForContentType")] 28[LoggerMessage(7, LogLevel.Debug, "No matching response compression provider found.", EventName = "NoCompressionProvider")] 31[LoggerMessage(8, LogLevel.Debug, "The response will be compressed with '{provider}'.", EventName = "CompressWith")]
Microsoft.AspNetCore.ResponseCompression.Tests (14)
ResponseCompressionMiddlewareTest.cs (14)
54AssertLog(logMessages.Single(), LogLevel.Debug, "No response compression available, the Accept-Encoding header is missing or invalid."); 112AssertLog(logMessages.Skip(2).First(), LogLevel.Debug, "No matching response compression provider found."); 121AssertLog(logMessages.Single(), LogLevel.Debug, "No response compression available, the Accept-Encoding header is missing or invalid."); 196AssertLog(logMessages.Skip(1).First(), LogLevel.Debug, $"Response compression is not enabled for the Content-Type '{expected}'."); 283AssertLog(logMessages.Skip(1).First(), LogLevel.Debug, $"Response compression is not enabled for the Content-Type '{contentType}'."); 361AssertLog(logMessages.Skip(2).First(), LogLevel.Debug, "No matching response compression provider found."); 386AssertLog(logMessages.Skip(2).First(), LogLevel.Debug, "No matching response compression provider found."); 397AssertLog(logMessages.Skip(1).First(), LogLevel.Debug, "Response compression is not enabled for the Content-Type 'text/custom'."); 411AssertLog(logMessages.Skip(1).First(), LogLevel.Debug, "Response compression disabled due to the Content-Range header."); 429AssertLog(logMessages.Skip(1).First(), LogLevel.Debug, "Response compression disabled due to the Content-Encoding header."); 488AssertLog(logMessages.Skip(1).Single(), LogLevel.Debug, "No response compression available for HTTPS requests. See ResponseCompressionOptions.EnableForHttps."); 551AssertLog(logMessages.Skip(1).Single(), LogLevel.Debug, "No response compression available for HTTPS requests. See ResponseCompressionOptions.EnableForHttps."); 610AssertLog(logMessages.Skip(1).Single(), LogLevel.Debug, "No response compression available for HTTPS requests. See ResponseCompressionOptions.EnableForHttps."); 1341AssertLog(logMessages.Skip(2).First(), LogLevel.Debug, $"The response will be compressed with '{provider}'.");
Microsoft.AspNetCore.Rewrite (9)
Extensions\RewriteMiddlewareLoggingExtensions.cs (9)
10[LoggerMessage(1, LogLevel.Debug, "Request is continuing in applying rules. Current url is {currentUrl}", EventName = "RequestContinueResults")] 13[LoggerMessage(2, LogLevel.Debug, "Request is done processing. Location header '{Location}' with status code '{StatusCode}'.", EventName = "RequestResponseComplete")] 16[LoggerMessage(3, LogLevel.Debug, "Request is done applying rules. Url was rewritten to {rewrittenUrl}", EventName = "RequestStopRules")] 19[LoggerMessage(4, LogLevel.Debug, "Request did not match current rule '{Name}'.", EventName = "UrlRewriteNotMatchedRule")] 22[LoggerMessage(5, LogLevel.Debug, "Request matched current UrlRewriteRule '{Name}'.", EventName = "UrlRewriteMatchedRule")] 25[LoggerMessage(6, LogLevel.Debug, "Request matched current ModRewriteRule.", EventName = "ModRewriteNotMatchedRule")] 28[LoggerMessage(7, LogLevel.Debug, "Request matched current ModRewriteRule.", EventName = "ModRewriteMatchedRule")] 45[LoggerMessage(11, LogLevel.Debug, "Request to {requestedUrl} was aborted", EventName = "AbortedRequest")] 48[LoggerMessage(12, LogLevel.Debug, "Request to {requestedUrl} was ended", EventName = "CustomResponse")]
Microsoft.AspNetCore.Routing (44)
DefaultLinkGenerator.cs (14)
342if (logger.IsEnabled(LogLevel.Debug)) 348[LoggerMessage(100, LogLevel.Debug, "Found the endpoints {Endpoints} for address {Address}", EventName = "EndpointsFound", SkipEnabledCheck = true)] 351[LoggerMessage(101, LogLevel.Debug, "No endpoints found for address {Address}", EventName = "EndpointsNotFound")] 357[LoggerMessage(102, LogLevel.Debug, 365if (logger.IsEnabled(LogLevel.Debug)) 371[LoggerMessage(103, LogLevel.Debug, 382if (logger.IsEnabled(LogLevel.Debug)) 388[LoggerMessage(107, LogLevel.Debug, 398if (logger.IsEnabled(LogLevel.Debug)) 404[LoggerMessage(104, LogLevel.Debug, 415if (logger.IsEnabled(LogLevel.Debug)) 421[LoggerMessage(105, LogLevel.Debug, 430if (logger.IsEnabled(LogLevel.Debug)) 436[LoggerMessage(106, LogLevel.Debug, "Link generation failed for endpoints {Endpoints}", EventName = "LinkGenerationFailed", SkipEnabledCheck = true)]
DefaultLinkParser.cs (7)
175if (logger.IsEnabled(LogLevel.Debug)) 181[LoggerMessage(100, LogLevel.Debug, "Found the endpoints {Endpoints} for address {Address}", EventName = "EndpointsFound", SkipEnabledCheck = true)] 184[LoggerMessage(101, LogLevel.Debug, "No endpoints found for address {Address}", EventName = "EndpointsNotFound")] 190if (logger.IsEnabled(LogLevel.Debug)) 196[LoggerMessage(102, LogLevel.Debug, "Path parsing succeeded for endpoint {Endpoint} and URI path {URI}", EventName = "PathParsingSucceeded", SkipEnabledCheck = true)] 202if (logger.IsEnabled(LogLevel.Debug)) 208[LoggerMessage(103, LogLevel.Debug, "Path parsing failed for endpoints {Endpoints} and URI path {URI}", EventName = "PathParsingFailed", SkipEnabledCheck = true)]
EndpointRoutingMiddleware.cs (7)
118if (_logger.IsEnabled(LogLevel.Debug) || _metrics.MatchSuccessCounterEnabled) 342[LoggerMessage(1, LogLevel.Debug, "Request matched endpoint '{EndpointName}'", EventName = "MatchSuccess")] 345[LoggerMessage(2, LogLevel.Debug, "Request did not match any endpoints", EventName = "MatchFailure")] 351[LoggerMessage(3, LogLevel.Debug, "Endpoint '{EndpointName}' already set, skipping route matching.", EventName = "MatchingSkipped")] 363[LoggerMessage(7, LogLevel.Debug, "Matched endpoint '{EndpointName}' is a fallback endpoint.", EventName = "FallbackMatch")] 375[LoggerMessage(11, LogLevel.Debug, "The maximum request body size has been set to {RequestSize}.", EventName = "MaxRequestBodySizeSet")] 378[LoggerMessage(12, LogLevel.Debug, "The maximum request body size has been disabled.", EventName = "MaxRequestBodySizeDisabled")]
Matching\DfaMatcher.cs (11)
37var log = _logger.IsEnabled(LogLevel.Debug); 349[LoggerMessage(1000, LogLevel.Debug, 358[LoggerMessage(1001, LogLevel.Debug, 367if (logger.IsEnabled(LogLevel.Debug)) 374[LoggerMessage(1002, LogLevel.Debug, 383if (logger.IsEnabled(LogLevel.Debug)) 390[LoggerMessage(1003, LogLevel.Debug, 399if (logger.IsEnabled(LogLevel.Debug)) 406[LoggerMessage(1004, LogLevel.Debug, 415if (logger.IsEnabled(LogLevel.Debug)) 422[LoggerMessage(1005, LogLevel.Debug,
RouteBase.cs (1)
344[LoggerMessage(1, LogLevel.Debug,
RouteConstraintMatcher.cs (1)
89[LoggerMessage(1, LogLevel.Debug,
RouteHandlerOptions.cs (1)
19/// writing a <see cref="LogLevel.Debug"/> log when handling invalid requests.
RouterMiddleware.cs (1)
70[LoggerMessage(1, LogLevel.Debug, "Request did not match any routes", EventName = "RequestNotMatched")]
Tree\TreeRouter.cs (1)
353[LoggerMessage(1, LogLevel.Debug,
Microsoft.AspNetCore.Server.HttpSys (22)
MessagePump.Log.cs (2)
17[LoggerMessage(LoggerEventIds.AcceptErrorStopping, LogLevel.Debug, "Failed to accept a request, the server is stopping.", EventName = "AcceptErrorStopping")] 20[LoggerMessage(LoggerEventIds.BindingToDefault, LogLevel.Debug, $"No listening endpoints were configured. Binding to {Constants.DefaultServerAddress} by default.", EventName = "BindingToDefault")]
NativeInterop\DisconnectListener.Log.cs (3)
21[LoggerMessage(LoggerEventIds.DisconnectTriggered, LogLevel.Debug, "CreateDisconnectToken; http.sys disconnect callback fired for connection ID: {ConnectionId}", EventName = "DisconnectTriggered")] 24[LoggerMessage(LoggerEventIds.RegisterDisconnectListener, LogLevel.Debug, "CreateDisconnectToken; Registering connection for disconnect for connection ID: {ConnectionId}", EventName = "RegisterDisconnectListener")] 27[LoggerMessage(LoggerEventIds.UnknownDisconnectError, LogLevel.Debug, "HttpWaitForDisconnectEx", EventName = "UnknownDisconnectError")]
NativeInterop\UrlGroup.Log.cs (1)
15[LoggerMessage(LoggerEventIds.RegisteringPrefix, LogLevel.Debug, "Listening on prefix: {UriPrefix}", EventName = "RegisteringPrefix")]
RequestProcessing\Request.cs (1)
501[LoggerMessage(LoggerEventIds.ErrorInReadingCertificate, LogLevel.Debug, "An error occurred reading the client certificate.", EventName = "ErrorInReadingCertificate")]
RequestProcessing\RequestContext.Log.cs (4)
12[LoggerMessage(LoggerEventIds.AbortError, LogLevel.Debug, "Abort", EventName = "AbortError")] 15[LoggerMessage(LoggerEventIds.ChannelBindingNeedsHttps, LogLevel.Debug, "TryGetChannelBinding; Channel binding requires HTTPS.", EventName = "ChannelBindingNeedsHttps")] 18[LoggerMessage(LoggerEventIds.ChannelBindingRetrieved, LogLevel.Debug, "Channel binding retrieved.", EventName = "ChannelBindingRetrieved")] 21[LoggerMessage(LoggerEventIds.RequestParsingError, LogLevel.Debug, "Failed to parse request.", EventName = "RequestParsingError")]
RequestProcessing\RequestContextLog.cs (1)
19[LoggerMessage(LoggerEventIds.RequestAborted, LogLevel.Debug, "The request was aborted by the client.", EventName = "RequestAborted")]
RequestProcessing\RequestStream.Log.cs (3)
12[LoggerMessage(LoggerEventIds.ErrorWhenReadAsync, LogLevel.Debug, "ReadAsync", EventName = "ErrorWhenReadAsync")] 15[LoggerMessage(LoggerEventIds.ErrorWhenReadBegun, LogLevel.Debug, "BeginRead", EventName = "ErrorWhenReadBegun")] 18[LoggerMessage(LoggerEventIds.ErrorWhileRead, LogLevel.Debug, "Read", EventName = "ErrorWhileRead")]
RequestProcessing\ResponseBody.cs (5)
792[LoggerMessage(LoggerEventIds.WriteErrorIgnored, LogLevel.Debug, "Flush; Ignored write exception: {StatusCode}", EventName = "WriteFlushedIgnored")] 795[LoggerMessage(LoggerEventIds.ErrorWhenFlushAsync, LogLevel.Debug, "FlushAsync", EventName = "ErrorWhenFlushAsync")] 798[LoggerMessage(LoggerEventIds.WriteFlushCancelled, LogLevel.Debug, "FlushAsync; Write cancelled with error code: {StatusCode}", EventName = "WriteFlushCancelled")] 804[LoggerMessage(LoggerEventIds.FileSendAsyncCancelled, LogLevel.Debug, "SendFileAsync; Write cancelled with error code: {StatusCode}", EventName = "FileSendAsyncCancelled")] 807[LoggerMessage(LoggerEventIds.FileSendAsyncErrorIgnored, LogLevel.Debug, "SendFileAsync; Ignored write exception: {StatusCode}", EventName = "FileSendAsyncErrorIgnored")]
RequestProcessing\ResponseStreamAsyncResult.Log.cs (2)
12[LoggerMessage(LoggerEventIds.WriteCancelled, LogLevel.Debug, "FlushAsync.IOCompleted; Write cancelled with error code: {ErrorCode}", EventName = "WriteCancelled")] 18[LoggerMessage(LoggerEventIds.WriteErrorIgnored, LogLevel.Debug, "FlushAsync.IOCompleted; Ignored write exception: {ErrorCode}", EventName = "WriteErrorIgnored")]
Microsoft.AspNetCore.Server.IIS (4)
Core\IISHttpContext.Log.cs (3)
13[LoggerMessage(1, LogLevel.Debug, @"Connection ID ""{ConnectionId}"" disconnecting.", EventName = "ConnectionDisconnect")] 25[LoggerMessage(4, LogLevel.Debug, @"Connection id ""{ConnectionId}"" bad request data: ""{message}""", EventName = nameof(ConnectionBadRequest))] 28[LoggerMessage(5, LogLevel.Debug, @"Connection ID ""{ConnectionId}"", Request ID ""{TraceIdentifier}"": The request was aborted by the client.", EventName = "RequestAborted")]
src\Shared\StackTrace\ExceptionDetails\LoggerExtensions.cs (1)
10[LoggerMessage(0, LogLevel.Debug, "Failed to read stack trace information for exception.", EventName = "FailedToReadStackTraceInfo")]
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
LoggingHandler.cs (1)
28await LogResponse(response.IsSuccessStatusCode ? LogLevel.Debug : LogLevel.Warning, response);
Microsoft.AspNetCore.Server.Kestrel.Core (60)
AnyIPListenOptions.cs (1)
35if (context.Logger.IsEnabled(LogLevel.Debug))
Internal\AddressBinder.cs (1)
159if (context.Logger.IsEnabled(LogLevel.Debug))
Internal\CertificatePathWatcherLoggerExtensions.cs (6)
19[LoggerMessage(4, LogLevel.Debug, "Created directory watcher for '{Directory}'.", EventName = "CreatedDirectoryWatcher")] 22[LoggerMessage(5, LogLevel.Debug, "Created file watcher for '{Path}'.", EventName = "CreatedFileWatcher")] 25[LoggerMessage(6, LogLevel.Debug, "Removed directory watcher for '{Directory}'.", EventName = "RemovedDirectoryWatcher")] 28[LoggerMessage(7, LogLevel.Debug, "Removed file watcher for '{Path}'.", EventName = "RemovedFileWatcher")] 31[LoggerMessage(8, LogLevel.Debug, "Error retrieving last modified time for '{Path}'.", EventName = "LastModifiedTimeError")] 34[LoggerMessage(9, LogLevel.Debug, "Ignored event for presently untracked file '{Path}'.", EventName = "UntrackedFileEvent")]
Internal\Http\MessageBody.cs (2)
133if (Log.IsEnabled(LogLevel.Debug)) 161if (Log.IsEnabled(LogLevel.Debug))
Internal\Infrastructure\KestrelTrace.BadRequests.cs (6)
33if (_generalLogger.IsEnabled(LogLevel.Debug)) 41[LoggerMessage(17, LogLevel.Debug, @"Connection id ""{ConnectionId}"" bad request data: ""{message}""", EventName = "ConnectionBadRequest")] 44[LoggerMessage(20, LogLevel.Debug, @"Connection id ""{ConnectionId}"" request processing ended abnormally.", EventName = "RequestProcessingError")] 47[LoggerMessage(27, LogLevel.Debug, @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": the request timed out because it was not sent by the client at a minimum of {Rate} bytes/second.", EventName = "RequestBodyMinimumDataRateNotSatisfied")] 50[LoggerMessage(28, LogLevel.Debug, @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": the connection was closed because the response was not read by the client at the specified minimum data rate.", EventName = "ResponseMinimumDataRateNotSatisfied")] 53[LoggerMessage(54, LogLevel.Debug, @"Connection id ""{ConnectionId}"": Invalid content received on connection. Possible incorrect HTTP version detected. Expected {ExpectedHttpVersion} but received {DetectedHttpVersion}.", EventName = "PossibleInvalidHttpVersionDetected", SkipEnabledCheck = true)]
Internal\Infrastructure\KestrelTrace.Connections.cs (9)
67[LoggerMessage(1, LogLevel.Debug, @"Connection id ""{ConnectionId}"" started.", EventName = "ConnectionStart")] 70[LoggerMessage(2, LogLevel.Debug, @"Connection id ""{ConnectionId}"" stopped.", EventName = "ConnectionStop")] 73[LoggerMessage(4, LogLevel.Debug, @"Connection id ""{ConnectionId}"" paused.", EventName = "ConnectionPause")] 76[LoggerMessage(5, LogLevel.Debug, @"Connection id ""{ConnectionId}"" resumed.", EventName = "ConnectionResume")] 79[LoggerMessage(9, LogLevel.Debug, @"Connection id ""{ConnectionId}"" completed keep alive response.", EventName = "ConnectionKeepAlive")] 82[LoggerMessage(10, LogLevel.Debug, @"Connection id ""{ConnectionId}"" disconnecting.", EventName = "ConnectionDisconnect")] 85[LoggerMessage(16, LogLevel.Debug, "Some connections failed to close gracefully during server shutdown.", EventName = "NotAllConnectionsClosedGracefully")] 88[LoggerMessage(21, LogLevel.Debug, "Some connections failed to abort during server shutdown.", EventName = "NotAllConnectionsAborted")] 97[LoggerMessage(39, LogLevel.Debug, @"Connection id ""{ConnectionId}"" accepted.", EventName = "ConnectionAccepted")]
Internal\Infrastructure\KestrelTrace.General.cs (4)
82[LoggerMessage(18, LogLevel.Debug, @"Connection id ""{ConnectionId}"" write of ""{count}"" body bytes to non-body HEAD response.", EventName = "ConnectionHeadResponseBodyWrite")] 91[LoggerMessage(25, LogLevel.Debug, @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": started reading request body.", EventName = "RequestBodyStart", SkipEnabledCheck = true)] 94[LoggerMessage(26, LogLevel.Debug, @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": done reading request body.", EventName = "RequestBodyDone", SkipEnabledCheck = true)] 112[LoggerMessage(66, LogLevel.Debug, @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": The request was aborted by the client.", EventName = "RequestAborted")]
Internal\Infrastructure\KestrelTrace.Http2.cs (11)
105[LoggerMessage(29, LogLevel.Debug, @"Connection id ""{ConnectionId}"": HTTP/2 connection error.", EventName = "Http2ConnectionError")] 108[LoggerMessage(30, LogLevel.Debug, @"Connection id ""{ConnectionId}"": HTTP/2 stream error.", EventName = "Http2StreamError")] 111[LoggerMessage(31, LogLevel.Debug, @"Connection id ""{ConnectionId}"": HPACK decoding error while decoding headers for stream ID {StreamId}.", EventName = "HPackDecodingError")] 114[LoggerMessage(35, LogLevel.Debug, @"Trace id ""{TraceIdentifier}"": HTTP/2 stream error ""{error}"". A Reset is being sent to the stream.", EventName = "Http2StreamResetAbort")] 117[LoggerMessage(36, LogLevel.Debug, @"Connection id ""{ConnectionId}"" is closing.", EventName = "Http2ConnectionClosing")] 126[LoggerMessage(40, LogLevel.Debug, @"Connection id ""{ConnectionId}"" reached the maximum number of concurrent HTTP/2 streams allowed.", EventName = "Http2MaxConcurrentStreamsReached")] 129[LoggerMessage(48, LogLevel.Debug, @"Connection id ""{ConnectionId}"" is closed. The last processed stream ID was {HighestOpenedStreamId}.", EventName = "Http2ConnectionClosed")] 141[LoggerMessage(62, LogLevel.Debug, @"The connection queue processing loop for {ConnectionId} completed.", EventName = "Http2ConnectionQueueProcessingCompleted")] 149[LoggerMessage(64, LogLevel.Debug, @"Connection id ""{ConnectionId}"" aborted since at least {Count} ENHANCE_YOUR_CALM responses were recorded per second.", EventName = "Http2TooManyEnhanceYourCalms")] 152[LoggerMessage(65, LogLevel.Debug, @"Connection id ""{ConnectionId}"" exceeded the output flow control maximum queue size of {Count}.", EventName = "Http2FlowControlQueueOperationsExceeded")] 155[LoggerMessage(66, LogLevel.Debug, @"Connection id ""{ConnectionId}"" configured maximum flow control queue size {Actual} is less than the maximum streams per connection {Expected}. Increasing configured value to {Expected}.", EventName = "Http2FlowControlQueueMaximumTooLow")]
Internal\Infrastructure\KestrelTrace.Http3.cs (8)
30if (_http3Logger.IsEnabled(LogLevel.Debug)) 74[LoggerMessage(42, LogLevel.Debug, @"Connection id ""{ConnectionId}"": HTTP/3 connection error.", EventName = "Http3ConnectionError")] 77[LoggerMessage(43, LogLevel.Debug, @"Connection id ""{ConnectionId}"" is closing.", EventName = "Http3ConnectionClosing")] 80[LoggerMessage(44, LogLevel.Debug, @"Connection id ""{ConnectionId}"" is closed. The last processed stream ID was {HighestOpenedStreamId}.", EventName = "Http3ConnectionClosed")] 83[LoggerMessage(45, LogLevel.Debug, @"Trace id ""{TraceIdentifier}"": HTTP/3 stream error ""{error}"". An abort is being sent to the stream.", EventName = "Http3StreamAbort", SkipEnabledCheck = true)] 92[LoggerMessage(50, LogLevel.Debug, @"Connection id ""{ConnectionId}"": Unexpected error when initializing outbound control stream.", EventName = "Http3OutboundControlStreamError")] 95[LoggerMessage(51, LogLevel.Debug, @"Connection id ""{ConnectionId}"": QPACK decoding error while decoding headers for stream ID {StreamId}.", EventName = "QPackDecodingError")] 101[LoggerMessage(53, LogLevel.Debug, @"Connection id ""{ConnectionId}"": GOAWAY stream ID {GoAwayStreamId}.", EventName = "Http3GoAwayHighestOpenedStreamId")]
Internal\LoggerExtensions.cs (4)
15[LoggerMessage(0, LogLevel.Debug, "Using development certificate: {certificateSubjectName} (Thumbprint: {certificateThumbprint})", EventName = "LocatedDevelopmentCertificate")] 20[LoggerMessage(1, LogLevel.Debug, "Unable to locate an appropriate development https certificate.", EventName = "UnableToLocateDevelopmentCertificate")] 23[LoggerMessage(2, LogLevel.Debug, "Failed to locate the development https certificate at '{certificatePath}'.", EventName = "FailedToLocateDevelopmentCertificateFile")] 26[LoggerMessage(3, LogLevel.Debug, "Failed to load the development https certificate at '{certificatePath}'.", EventName = "FailedToLoadDevelopmentCertificate")]
Middleware\HttpsConnectionMiddleware.cs (7)
583[LoggerMessage(1, LogLevel.Debug, "Failed to authenticate HTTPS connection.", EventName = "AuthenticationFailed")] 586[LoggerMessage(2, LogLevel.Debug, "Authentication of the HTTPS connection timed out.", EventName = "AuthenticationTimedOut")] 589[LoggerMessage(3, LogLevel.Debug, "Connection {ConnectionId} established using the following protocol: {Protocol}", EventName = "HttpsConnectionEstablished")] 596[LoggerMessage(5, LogLevel.Debug, "Searching for certificate with private key and thumbprint {Thumbprint} in the certificate store.", EventName = "LocateCertWithPrivateKey")] 601[LoggerMessage(6, LogLevel.Debug, "Found certificate with private key and thumbprint {Thumbprint} in certificate store {StoreName}.", EventName = "FoundCertWithPrivateKey")] 610[LoggerMessage(7, LogLevel.Debug, "Failure to locate certificate from store.", EventName = "FailToLocateCertificate")] 613[LoggerMessage(8, LogLevel.Debug, "Failed to open certificate store {StoreName}.", EventName = "FailToOpenStore")]
Middleware\Internal\LoggingStream.cs (1)
152if (!_logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (13)
Internal\NamedPipeLog.cs (13)
11[LoggerMessage(1, LogLevel.Debug, @"Connection id ""{ConnectionId}"" accepted.", EventName = "AcceptedConnection", SkipEnabledCheck = true)] 16if (logger.IsEnabled(LogLevel.Debug)) 22[LoggerMessage(2, LogLevel.Debug, @"Connection id ""{ConnectionId}"" unexpected error.", EventName = "ConnectionError", SkipEnabledCheck = true)] 27if (logger.IsEnabled(LogLevel.Debug)) 36[LoggerMessage(4, LogLevel.Debug, @"Connection id ""{ConnectionId}"" paused.", EventName = "ConnectionPause", SkipEnabledCheck = true)] 41if (logger.IsEnabled(LogLevel.Debug)) 47[LoggerMessage(5, LogLevel.Debug, @"Connection id ""{ConnectionId}"" resumed.", EventName = "ConnectionResume", SkipEnabledCheck = true)] 52if (logger.IsEnabled(LogLevel.Debug)) 58[LoggerMessage(6, LogLevel.Debug, @"Connection id ""{ConnectionId}"" received end of stream.", EventName = "ConnectionReadEnd", SkipEnabledCheck = true)] 63if (logger.IsEnabled(LogLevel.Debug)) 69[LoggerMessage(7, LogLevel.Debug, @"Connection id ""{ConnectionId}"" disconnecting stream because: ""{Reason}""", EventName = "ConnectionDisconnect", SkipEnabledCheck = true)] 74if (logger.IsEnabled(LogLevel.Debug)) 80[LoggerMessage(8, LogLevel.Debug, "Named pipe listener received broken pipe while waiting for a connection.", EventName = "ConnectionListenerBrokenPipe")]
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (37)
Internal\QuicLog.cs (37)
13[LoggerMessage(1, LogLevel.Debug, @"Connection id ""{ConnectionId}"" accepted.", EventName = "AcceptedConnection", SkipEnabledCheck = true)] 18if (logger.IsEnabled(LogLevel.Debug)) 24[LoggerMessage(2, LogLevel.Debug, @"Stream id ""{ConnectionId}"" type {StreamType} accepted.", EventName = "AcceptedStream", SkipEnabledCheck = true)] 29if (logger.IsEnabled(LogLevel.Debug)) 35[LoggerMessage(3, LogLevel.Debug, @"Stream id ""{ConnectionId}"" type {StreamType} connected.", EventName = "ConnectedStream", SkipEnabledCheck = true)] 40if (logger.IsEnabled(LogLevel.Debug)) 46[LoggerMessage(4, LogLevel.Debug, @"Connection id ""{ConnectionId}"" unexpected error.", EventName = "ConnectionError", SkipEnabledCheck = true)] 51if (logger.IsEnabled(LogLevel.Debug)) 57[LoggerMessage(5, LogLevel.Debug, @"Connection id ""{ConnectionId}"" aborted by peer with error code {ErrorCode}.", EventName = "ConnectionAborted", SkipEnabledCheck = true)] 62if (logger.IsEnabled(LogLevel.Debug)) 68[LoggerMessage(6, LogLevel.Debug, @"Connection id ""{ConnectionId}"" aborted by application with error code {ErrorCode} because: ""{Reason}"".", EventName = "ConnectionAbort", SkipEnabledCheck = true)] 73if (logger.IsEnabled(LogLevel.Debug)) 79[LoggerMessage(7, LogLevel.Debug, @"Stream id ""{ConnectionId}"" unexpected error.", EventName = "StreamError", SkipEnabledCheck = true)] 84if (logger.IsEnabled(LogLevel.Debug)) 90[LoggerMessage(8, LogLevel.Debug, @"Stream id ""{ConnectionId}"" paused.", EventName = "StreamPause", SkipEnabledCheck = true)] 95if (logger.IsEnabled(LogLevel.Debug)) 101[LoggerMessage(9, LogLevel.Debug, @"Stream id ""{ConnectionId}"" resumed.", EventName = "StreamResume", SkipEnabledCheck = true)] 106if (logger.IsEnabled(LogLevel.Debug)) 112[LoggerMessage(10, LogLevel.Debug, @"Stream id ""{ConnectionId}"" shutting down writes because: ""{Reason}"".", EventName = "StreamShutdownWrite", SkipEnabledCheck = true)] 117if (logger.IsEnabled(LogLevel.Debug)) 123[LoggerMessage(11, LogLevel.Debug, @"Stream id ""{ConnectionId}"" read aborted by peer with error code {ErrorCode}.", EventName = "StreamAbortedRead", SkipEnabledCheck = true)] 128if (logger.IsEnabled(LogLevel.Debug)) 134[LoggerMessage(12, LogLevel.Debug, @"Stream id ""{ConnectionId}"" write aborted by peer with error code {ErrorCode}.", EventName = "StreamAbortedWrite", SkipEnabledCheck = true)] 139if (logger.IsEnabled(LogLevel.Debug)) 145[LoggerMessage(13, LogLevel.Debug, @"Stream id ""{ConnectionId}"" aborted by application with error code {ErrorCode} because: ""{Reason}"".", EventName = "StreamAbort", SkipEnabledCheck = true)] 150if (logger.IsEnabled(LogLevel.Debug)) 156[LoggerMessage(14, LogLevel.Debug, @"Stream id ""{ConnectionId}"" read side aborted by application with error code {ErrorCode} because: ""{Reason}"".", EventName = "StreamAbortRead", SkipEnabledCheck = true)] 161if (logger.IsEnabled(LogLevel.Debug)) 167[LoggerMessage(15, LogLevel.Debug, @"Stream id ""{ConnectionId}"" write side aborted by application with error code {ErrorCode} because: ""{Reason}"".", EventName = "StreamAbortWrite", SkipEnabledCheck = true)] 172if (logger.IsEnabled(LogLevel.Debug)) 207[LoggerMessage(20, LogLevel.Debug, "QUIC listener starting with configured endpoint {listenEndPoint}.", EventName = "ConnectionListenerStarting")] 210[LoggerMessage(21, LogLevel.Debug, "QUIC listener aborted.", EventName = "ConnectionListenerAborted")] 213[LoggerMessage(22, LogLevel.Debug, @"Stream id ""{ConnectionId}"" read timed out.", EventName = "StreamTimeoutRead", SkipEnabledCheck = true)] 218if (logger.IsEnabled(LogLevel.Debug)) 224[LoggerMessage(23, LogLevel.Debug, @"Stream id ""{ConnectionId}"" write timed out.", EventName = "StreamTimeoutWrite", SkipEnabledCheck = true)] 229if (logger.IsEnabled(LogLevel.Debug)) 235[LoggerMessage(24, LogLevel.Debug, "QUIC listener connection failed.", EventName = "ConnectionListenerAcceptConnectionFailed")]
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (14)
Internal\SocketsLog.cs (14)
12[LoggerMessage(6, LogLevel.Debug, @"Connection id ""{ConnectionId}"" received FIN.", EventName = "ConnectionReadFin", SkipEnabledCheck = true)] 17if (logger.IsEnabled(LogLevel.Debug)) 23[LoggerMessage(7, LogLevel.Debug, @"Connection id ""{ConnectionId}"" sending FIN because: ""{Reason}""", EventName = "ConnectionWriteFin", SkipEnabledCheck = true)] 28if (logger.IsEnabled(LogLevel.Debug)) 34[LoggerMessage(8, LogLevel.Debug, @"Connection id ""{ConnectionId}"" sending RST because: ""{Reason}""", EventName = "ConnectionWriteRst", SkipEnabledCheck = true)] 39if (logger.IsEnabled(LogLevel.Debug)) 49[LoggerMessage(14, LogLevel.Debug, @"Connection id ""{ConnectionId}"" communication error.", EventName = "ConnectionError", SkipEnabledCheck = true)] 54if (logger.IsEnabled(LogLevel.Debug)) 60[LoggerMessage(19, LogLevel.Debug, @"Connection id ""{ConnectionId}"" reset.", EventName = "ConnectionReset", SkipEnabledCheck = true)] 65if (logger.IsEnabled(LogLevel.Debug)) 71[LoggerMessage(4, LogLevel.Debug, @"Connection id ""{ConnectionId}"" paused.", EventName = "ConnectionPause", SkipEnabledCheck = true)] 76if (logger.IsEnabled(LogLevel.Debug)) 82[LoggerMessage(5, LogLevel.Debug, @"Connection id ""{ConnectionId}"" resumed.", EventName = "ConnectionResume", SkipEnabledCheck = true)] 87if (logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.Session (3)
DistributedSession.cs (1)
353if (_logger.IsEnabled(LogLevel.Debug))
LoggingExtensions.cs (2)
17[LoggerMessage(4, LogLevel.Debug, "Session loaded; Key:{sessionKey}, Id:{sessionId}, Count:{count}", EventName = "SessionLoaded", SkipEnabledCheck = true)] 20[LoggerMessage(5, LogLevel.Debug, "Session stored; Key:{sessionKey}, Id:{sessionId}, Count:{count}", EventName = "SessionStored")]
Microsoft.AspNetCore.Session.Tests (4)
SessionTests.cs (4)
372Assert.Equal(LogLevel.Debug, sessionLogMessages[1].LogLevel); 439Assert.Equal(LogLevel.Debug, sessionLogMessages[1].LogLevel); 1015Assert.Equal(LogLevel.Debug, sessionLogMessages[1].LogLevel); 1079Assert.Equal(LogLevel.Debug, sessionLogMessages[1].LogLevel);
Microsoft.AspNetCore.SignalR.Client.Core (26)
HubConnection.Log.cs (26)
21[LoggerMessage(3, LogLevel.Debug, "Registering Invocation ID '{InvocationId}' for tracking.", EventName = "RegisteringInvocation")] 38if (logger.IsEnabled(LogLevel.Debug)) 51[LoggerMessage(5, LogLevel.Debug, "Sending {MessageType} message '{InvocationId}'.", EventName = "SendingMessage", SkipEnabledCheck = true)] 54[LoggerMessage(59, LogLevel.Debug, "Sending {MessageType} message.", EventName = "SendingMessageGeneric", SkipEnabledCheck = true)] 59if (logger.IsEnabled(LogLevel.Debug)) 72[LoggerMessage(6, LogLevel.Debug, "Sending {MessageType} message '{InvocationId}' completed.", EventName = "MessageSent", SkipEnabledCheck = true)] 75[LoggerMessage(60, LogLevel.Debug, "Sending {MessageType} message completed.", EventName = "MessageSentGeneric", SkipEnabledCheck = true)] 126[LoggerMessage(21, LogLevel.Debug, "HubConnection stopped.", EventName = "Stopped")] 147[LoggerMessage(28, LogLevel.Debug, "Sending Hub Handshake.", EventName = "SendingHubHandshake")] 162[LoggerMessage(37, LogLevel.Debug, "Received close message.", EventName = "ReceivedClose")] 168[LoggerMessage(39, LogLevel.Debug, "Handshake with server complete.", EventName = "HandshakeComplete")] 171[LoggerMessage(40, LogLevel.Debug, "Registering handler for client method '{MethodName}'.", EventName = "RegisteringHandler")] 174[LoggerMessage(58, LogLevel.Debug, "Removing handlers for client method '{MethodName}'.", EventName = "RemovingHandlers")] 177[LoggerMessage(41, LogLevel.Debug, "Starting HubConnection.", EventName = "Starting")] 186[LoggerMessage(45, LogLevel.Debug, "Sending Cancellation for Invocation '{InvocationId}'.", EventName = "SendingCancellation")] 189[LoggerMessage(46, LogLevel.Debug, "Canceling all outstanding invocations.", EventName = "CancelingOutstandingInvocations")] 192[LoggerMessage(47, LogLevel.Debug, "Receive loop starting.", EventName = "ReceiveLoopStarting")] 195[LoggerMessage(48, LogLevel.Debug, "Starting server timeout timer. Duration: {ServerTimeout:0.00}ms", EventName = "StartingServerTimeoutTimer", SkipEnabledCheck = true)] 200if (logger.IsEnabled(LogLevel.Debug)) 206[LoggerMessage(49, LogLevel.Debug, "Not using server timeout because the transport inherently tracks server availability.", EventName = "NotUsingServerTimeout")] 212[LoggerMessage(51, LogLevel.Debug, "Invoking the Closed event handler.", EventName = "InvokingClosedEventHandler")] 215[LoggerMessage(52, LogLevel.Debug, "Stopping HubConnection.", EventName = "Stopping")] 218[LoggerMessage(53, LogLevel.Debug, "Terminating receive loop.", EventName = "TerminatingReceiveLoop")] 221[LoggerMessage(54, LogLevel.Debug, "Waiting for the receive loop to terminate.", EventName = "WaitingForReceiveLoopToTerminate")] 224[LoggerMessage(56, LogLevel.Debug, "Processing {MessageLength} byte message from server.", EventName = "ProcessingMessage")] 338[LoggerMessage(93, LogLevel.Debug, "HubProtocol '{Protocol} v{Version}' does not support Stateful Reconnect. Disabling the feature.", EventName = "DisablingReconnect")]
Microsoft.AspNetCore.SignalR.Core (29)
HubConnectionContext.Log.cs (8)
12[LoggerMessage(1, LogLevel.Debug, "Completed connection handshake. Using HubProtocol '{Protocol}'.", EventName = "HandshakeComplete")] 15[LoggerMessage(2, LogLevel.Debug, "Handshake was canceled.", EventName = "HandshakeCanceled")] 21[LoggerMessage(4, LogLevel.Debug, "Unable to send Ping message to client, the transport buffer is full.", EventName = "TransportBufferFull")] 24[LoggerMessage(5, LogLevel.Debug, "Failed connection handshake.", EventName = "HandshakeFailed")] 30[LoggerMessage(7, LogLevel.Debug, "Server does not support version {Version} of the {Protocol} protocol.", EventName = "ProtocolVersionFailed")] 36[LoggerMessage(9, LogLevel.Debug, "Client timeout ({ClientTimeout}ms) elapsed without receiving a message from the client. Closing connection.", EventName = "ClientTimeout")] 39[LoggerMessage(10, LogLevel.Debug, "The maximum message size of {MaxMessageSize}B was exceeded while parsing the Handshake. The message size can be configured in AddHubOptions.", EventName = "HandshakeSizeLimitExceeded")] 42[LoggerMessage(11, LogLevel.Debug, "HubProtocol '{Protocol} v{Version}' does not support Stateful Reconnect. Disabling the feature.", EventName = "DisablingReconnect")]
HubConnectionHandlerLog.cs (4)
13[LoggerMessage(2, LogLevel.Debug, "Error when processing requests.", EventName = "ErrorProcessingRequest")] 19[LoggerMessage(4, LogLevel.Debug, "Error when sending Close message.", EventName = "ErrorSendingClose")] 22[LoggerMessage(5, LogLevel.Debug, "OnConnectedAsync started.", EventName = "ConnectedStarting")] 25[LoggerMessage(6, LogLevel.Debug, "OnConnectedAsync ending.", EventName = "ConnectedEnding")]
Internal\DefaultHubDispatcherLog.cs (15)
12[LoggerMessage(1, LogLevel.Debug, "Received hub invocation: {InvocationMessage}.", EventName = "ReceivedHubInvocation")] 15[LoggerMessage(2, LogLevel.Debug, "Received unsupported message of type '{MessageType}'.", EventName = "UnsupportedMessageReceived")] 18[LoggerMessage(3, LogLevel.Debug, "Unknown hub method '{HubMethod}'.", EventName = "UnknownHubMethod")] 23[LoggerMessage(5, LogLevel.Debug, "Failed to invoke '{HubMethod}' because user is unauthorized.", EventName = "HubMethodNotAuthorized")] 56[LoggerMessage(10, LogLevel.Debug, "Canceling stream for invocation {InvocationId}.", EventName = "CancelStream")] 59[LoggerMessage(11, LogLevel.Debug, "CancelInvocationMessage received unexpectedly.", EventName = "UnexpectedCancel")] 62[LoggerMessage(12, LogLevel.Debug, "Received stream hub invocation: {InvocationMessage}.", EventName = "ReceivedStreamHubInvocation")] 65[LoggerMessage(13, LogLevel.Debug, "A streaming method was invoked with a non-streaming invocation : {InvocationMessage}.", EventName = "StreamingMethodCalledWithInvoke")] 68[LoggerMessage(14, LogLevel.Debug, "A non-streaming method was invoked with a streaming invocation : {InvocationMessage}.", EventName = "NonStreamingMethodCalledWithStream")] 71[LoggerMessage(15, LogLevel.Debug, "A streaming method returned a value that cannot be used to build enumerator {HubMethod}.", EventName = "InvalidReturnValueFromStreamingMethod")] 92[LoggerMessage(19, LogLevel.Debug, "Stream '{StreamId}' closed with error '{Error}'.", EventName = "ClosingStreamWithBindingError")] 97[LoggerMessage(21, LogLevel.Debug, "StreamItemMessage received unexpectedly.", EventName = "UnexpectedStreamItem")] 100[LoggerMessage(22, LogLevel.Debug, "Parameters to hub method '{HubMethod}' are incorrect.", EventName = "InvalidHubParameters")] 103[LoggerMessage(23, LogLevel.Debug, "Invocation ID '{InvocationId}' is already in use.", EventName = "InvocationIdInUse")] 106[LoggerMessage(24, LogLevel.Debug, "CompletionMessage for invocation ID '{InvocationId}' received unexpectedly.", EventName = "UnexpectedCompletion")]
Internal\DefaultHubProtocolResolver.cs (2)
49[LoggerMessage(1, LogLevel.Debug, "Registered SignalR Protocol: {ProtocolName}, implemented by {ImplementationType}.", EventName = "RegisteredSignalRProtocol")] 52[LoggerMessage(2, LogLevel.Debug, "Found protocol implementation for requested protocol: {ProtocolName}.", EventName = "FoundImplementationForProtocol")]
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
Internal\RedisLog.cs (2)
49[LoggerMessage(10, LogLevel.Debug, "Failed writing message.", EventName = "FailedWritingMessage")] 70if (logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
258if (_logger.IsEnabled(LogLevel.Debug))
Microsoft.AspNetCore.StaticAssets (8)
LoggerExtensions.cs (8)
11[LoggerMessage(1, LogLevel.Debug, "{Method} requests are not supported", EventName = "MethodNotSupported")] 26[LoggerMessage(15, LogLevel.Debug, "Static files was skipped as the request already matched an endpoint.", EventName = "EndpointMatched")] 29[LoggerMessage(3, LogLevel.Debug, "The request path {Path} does not match the path filter", EventName = "PathMismatch")] 32[LoggerMessage(4, LogLevel.Debug, "The request path {Path} does not match a supported file type", EventName = "FileTypeNotSupported")] 35[LoggerMessage(5, LogLevel.Debug, "The request path {Path} does not match an existing file", EventName = "FileNotFound")] 44[LoggerMessage(8, LogLevel.Debug, "Handled. Status code: {StatusCode} File: {Path}", EventName = "Handled")] 53[LoggerMessage(11, LogLevel.Debug, "Copying {Range} of file {Path} to the response body", EventName = "CopyingFileRange")] 56[LoggerMessage(14, LogLevel.Debug, "The file transmission was cancelled", EventName = "WriteCancelled")]
Microsoft.AspNetCore.StaticFiles (8)
LoggerExtensions.cs (8)
14[LoggerMessage(1, LogLevel.Debug, "{Method} requests are not supported", EventName = "MethodNotSupported")] 29[LoggerMessage(15, LogLevel.Debug, "Static files was skipped as the request already matched an endpoint.", EventName = "EndpointMatched")] 32[LoggerMessage(3, LogLevel.Debug, "The request path {Path} does not match the path filter", EventName = "PathMismatch")] 35[LoggerMessage(4, LogLevel.Debug, "The request path {Path} does not match a supported file type", EventName = "FileTypeNotSupported")] 38[LoggerMessage(5, LogLevel.Debug, "The request path {Path} does not match an existing file", EventName = "FileNotFound")] 47[LoggerMessage(8, LogLevel.Debug, "Handled. Status code: {StatusCode} File: {Path}", EventName = "Handled")] 56[LoggerMessage(11, LogLevel.Debug, "Copying {Range} of file {Path} to the response body", EventName = "CopyingFileRange")] 59[LoggerMessage(14, LogLevel.Debug, "The file transmission was cancelled", EventName = "WriteCancelled")]
Microsoft.AspNetCore.WebSockets (3)
WebSocketMiddleware.cs (3)
75if (_logger.IsEnabled(LogLevel.Debug)) 321[LoggerMessage(1, LogLevel.Debug, "WebSocket compression negotiation accepted with values '{CompressionResponse}'.", EventName = "CompressionAccepted")] 324[LoggerMessage(2, LogLevel.Debug, "Compression negotiation not accepted by server.", EventName = "CompressionNotAccepted")]
Microsoft.CodeAnalysis.LanguageServer (2)
Logging\LspLogMessageLogger.cs (1)
83LogLevel.Debug => MessageType.Debug,
Testing\RunTestsHandler.cs (1)
160Microsoft.Extensions.Logging.LogLevel.Trace or Microsoft.Extensions.Logging.LogLevel.Debug => TraceLevel.Verbose,
Microsoft.Extensions.Caching.Memory (3)
MemoryCache.cs (3)
483if (_logger.IsEnabled(LogLevel.Debug)) 508if (_logger.IsEnabled(LogLevel.Debug)) 521if (_logger.IsEnabled(LogLevel.Debug))
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCache.Log.cs (1)
16[LoggerMessage(2, LogLevel.Debug, "Unable to add library name suffix.", EventName = "UnableToAddLibraryNameSuffix")]
Microsoft.Extensions.Diagnostics.HealthChecks (10)
DefaultHealthCheckService.cs (6)
205[LoggerMessage(EventIds.HealthCheckProcessingBeginId, LogLevel.Debug, "Running health checks", EventName = EventIds.HealthCheckProcessingBeginName)] 211[LoggerMessage(EventIds.HealthCheckProcessingEndId, LogLevel.Debug, "Health check processing with combined status {HealthStatus} completed after {ElapsedMilliseconds}ms", EventName = EventIds.HealthCheckProcessingEndName)] 214[LoggerMessage(EventIds.HealthCheckBeginId, LogLevel.Debug, "Running health check {HealthCheckName}", EventName = EventIds.HealthCheckBeginName)] 222[LoggerMessage(EventIds.HealthCheckEndId, LogLevel.Debug, HealthCheckEndText, EventName = EventIds.HealthCheckEndName)] 259if (entry.Data.Count > 0 && logger.IsEnabled(LogLevel.Debug)) 262LogLevel.Debug,
HealthCheckPublisherHostedService.cs (4)
252[LoggerMessage(EventIds.HealthCheckPublisherProcessingBeginId, LogLevel.Debug, "Running health check publishers", EventName = EventIds.HealthCheckPublisherProcessingBeginName)] 258[LoggerMessage(EventIds.HealthCheckPublisherProcessingEndId, LogLevel.Debug, "Health check publisher processing completed after {ElapsedMilliseconds}ms", EventName = EventIds.HealthCheckPublisherProcessingEndName)] 261[LoggerMessage(EventIds.HealthCheckPublisherBeginId, LogLevel.Debug, "Running health check publisher '{HealthCheckPublisher}'", EventName = EventIds.HealthCheckPublisherBeginName)] 267[LoggerMessage(EventIds.HealthCheckPublisherEndId, LogLevel.Debug, "Health check '{HealthCheckPublisher}' completed after {ElapsedMilliseconds}ms", EventName = EventIds.HealthCheckPublisherEndName)]
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
Log.cs (1)
17[LoggerMessage(1, LogLevel.Debug, "Process reporting healthy: {Status}.")]
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (2)
TelemetryHealthChecksPublisherTests.cs (2)
30LogLevel.Debug, 54LogLevel.Debug,
Microsoft.Extensions.Diagnostics.ResourceMonitoring (5)
Log.cs (1)
20[LoggerMessage(3, LogLevel.Debug,
Windows\Log.cs (4)
18[LoggerMessage(3, LogLevel.Debug, 27[LoggerMessage(4, LogLevel.Debug, 35[LoggerMessage(5, LogLevel.Debug, "Computed CPU usage with CpuUsageKernelTicks = {cpuUsageKernelTicks}, CpuUsageUserTicks = {cpuUsageUserTicks}, OldCpuUsageTicks = {oldCpuUsageTicks}, TimeTickDelta = {timeTickDelta}, CpuUnits = {cpuUnits}, CpuPercentage = {cpuPercentage}.")] 45[LoggerMessage(6, LogLevel.Debug,
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogRecord.cs (1)
138LogLevel.Debug => "debug",
Microsoft.Extensions.Diagnostics.Testing.Tests (7)
Logging\FakeLoggerTests.cs (7)
84logger.Log(LogLevel.Debug, new EventId(1), l, null, (_, _) => "Nothing"); 137logger.Log(LogLevel.Debug, new EventId(1), l, null, (_, _) => "Nothing"); 152Assert.True(logger.IsEnabled(LogLevel.Debug)); 159logger.ControlLevel(LogLevel.Debug, false); 163Assert.False(logger.IsEnabled(LogLevel.Debug)); 174logger.ControlLevel(LogLevel.Debug, true); 192logger.ControlLevel(LogLevel.Debug, false);
Microsoft.Extensions.Hosting (5)
Internal\HostingLoggerExtensions.cs (5)
34if (logger.IsEnabled(LogLevel.Debug)) 44if (logger.IsEnabled(LogLevel.Debug)) 54if (logger.IsEnabled(LogLevel.Debug)) 64if (logger.IsEnabled(LogLevel.Debug)) 74if (logger.IsEnabled(LogLevel.Debug))
Microsoft.Extensions.Http (3)
DefaultHttpClientFactory.cs (3)
327LogLevel.Debug, 332LogLevel.Debug, 342LogLevel.Debug,
Microsoft.Extensions.Identity.Core (5)
UserManager.cs (5)
1169if (Logger.IsEnabled(LogLevel.Debug)) 1178if (Logger.IsEnabled(LogLevel.Debug)) 1562if (!result && Logger.IsEnabled(LogLevel.Debug)) 2321if (Logger.IsEnabled(LogLevel.Debug)) 2357if (Logger.IsEnabled(LogLevel.Debug))
Microsoft.Extensions.Localization (1)
ResourceManagerStringLocalizer.cs (1)
222[LoggerMessage(1, LogLevel.Debug, $"{nameof(ResourceManagerStringLocalizer)} searched for '{{Key}}' in '{{LocationSearched}}' with culture '{{Culture}}'.", EventName = "SearchedLocation")]
Microsoft.Extensions.Logging (2)
Logger.cs (1)
247LogLevel.Debug,
src\libraries\Common\src\Extensions\Logging\DebuggerDisplayFormatting.cs (1)
40LogLevel.Debug,
Microsoft.Extensions.Logging.Abstractions (5)
LoggerExtensions.cs (4)
32logger.Log(LogLevel.Debug, eventId, exception, message, args); 49logger.Log(LogLevel.Debug, eventId, message, args); 66logger.Log(LogLevel.Debug, exception, message, args); 82logger.Log(LogLevel.Debug, message, args);
src\libraries\Common\src\Extensions\Logging\DebuggerDisplayFormatting.cs (1)
40LogLevel.Debug,
Microsoft.Extensions.Logging.Console (4)
JsonConsoleFormatter.cs (1)
131LogLevel.Debug => "Debug",
SimpleConsoleFormatter.cs (2)
168LogLevel.Debug => "dbug", 192LogLevel.Debug => new ConsoleColors(ConsoleColor.Gray, ConsoleColor.Black),
SystemdConsoleFormatter.cs (1)
126LogLevel.Debug => "<7>", // debug-level messages
Microsoft.Extensions.Logging.EventLog (1)
EventLogLogger.cs (1)
190case LogLevel.Debug:
Microsoft.Extensions.Logging.EventSource (2)
LoggingEventSource.cs (2)
487ret = LogLevel.Debug; 523return LogLevel.Debug;
Microsoft.Extensions.ML (4)
ModelLoaders\FileModelLoader.cs (2)
160LogLevel.Debug, 165LogLevel.Debug,
ModelLoaders\UriModelLoader.cs (2)
194LogLevel.Debug, 199LogLevel.Debug,
Microsoft.Extensions.ServiceDiscovery (13)
Configuration\ConfigurationServiceEndpointProvider.Log.cs (6)
13[LoggerMessage(1, LogLevel.Debug, "Skipping endpoint resolution for service '{ServiceName}': '{Reason}'.", EventName = "SkippedResolution")] 16[LoggerMessage(2, LogLevel.Debug, "Using configuration from path '{Path}' to resolve endpoint '{EndpointName}' for service '{ServiceName}'.", EventName = "UsingConfigurationPath")] 19[LoggerMessage(3, LogLevel.Debug, "No valid endpoint configuration was found for service '{ServiceName}' from path '{Path}'.", EventName = "ServiceConfigurationNotFound")] 22[LoggerMessage(4, LogLevel.Debug, "Endpoints configured for service '{ServiceName}' from path '{Path}': {ConfiguredEndpoints}.", EventName = "ConfiguredEndpoints")] 27if (!logger.IsEnabled(LogLevel.Debug)) 47[LoggerMessage(5, LogLevel.Debug, "No valid endpoint configuration was found for endpoint '{EndpointName}' on service '{ServiceName}' from path '{Path}'.", EventName = "EndpointConfigurationNotFound")]
PassThrough\PassThroughServiceEndpointProvider.Log.cs (1)
12[LoggerMessage(1, LogLevel.Debug, "Using pass-through service endpoint provider for service '{ServiceName}'.", EventName = "UsingPassThrough")]
ServiceEndpointWatcher.Log.cs (4)
12[LoggerMessage(1, LogLevel.Debug, "Resolving endpoints for service '{ServiceName}'.", EventName = "ResolvingEndpoints")] 15[LoggerMessage(2, LogLevel.Debug, "Endpoint resolution is pending for service '{ServiceName}'.", EventName = "ResolutionPending")] 18[LoggerMessage(3, LogLevel.Debug, "Resolved {Count} endpoints for service '{ServiceName}': {Endpoints}.", EventName = "ResolutionSucceeded")] 23if (logger.IsEnabled(LogLevel.Debug))
ServiceEndpointWatcherFactory.Log.cs (2)
12[LoggerMessage(1, LogLevel.Debug, "Creating endpoint resolver for service '{ServiceName}' with {Count} providers: {Providers}.", EventName = "CreatingResolver")] 17if (logger.IsEnabled(LogLevel.Debug))
Microsoft.Extensions.ServiceDiscovery.Dns (3)
DnsServiceEndpointProviderBase.Log.cs (3)
18[LoggerMessage(3, LogLevel.Debug, "Skipping endpoint resolution for service '{ServiceName}': '{Reason}'.", EventName = "SkippedResolution")] 21[LoggerMessage(4, LogLevel.Debug, "Service name '{ServiceName}' is not a valid URI or DNS name.", EventName = "ServiceNameIsNotUriOrDnsName")] 24[LoggerMessage(5, LogLevel.Debug, "DNS SRV query cannot be constructed for service name '{ServiceName}' because no DNS namespace was configured or detected.", EventName = "NoDnsSuffixFound")]
Microsoft.Gen.Logging.Generated.Tests (106)
LogMethodTests.cs (20)
66fakeLogger.ControlLevel(LogLevel.Debug, false); 73LevelTestExtensions.M8(logger, LogLevel.Debug); 225Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 241Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 257Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 273Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 317Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 324Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 331Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 346Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 535Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 542Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 599Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 606Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 613Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 620Assert.Equal(LogLevel.Debug, collector.LatestRecord.Level); 753AtSymbolsTestExtensions.UseAtSymbol3(logger, LogLevel.Debug, "42", 42); 759AtSymbolsTestExtensions.UseAtSymbol4(logger, LogLevel.Debug, "42", 42, new ArgumentException("Foo")); 766AtSymbolsTestExtensions.M3(logger, LogLevel.Debug, o); 770AtSymbolsTestExtensions.M5(logger, LogLevel.Debug, o);
LogPropertiesTests.cs (4)
229Assert.Equal(LogLevel.Debug, _logger.Collector.LatestRecord.Level); 525Assert.Equal(LogLevel.Debug, latestRecord.Level); 550Assert.Equal(LogLevel.Debug, latestRecord.Level); 576Assert.Equal(LogLevel.Debug, latestRecord.Level);
TagProviderTests.cs (5)
78new NonStaticTestClass(_logger).DefaultAttrCtorLogPropertiesWithProvider(LogLevel.Debug, StringParamValue, classToLog); 84Assert.Equal(LogLevel.Debug, latestRecord.Level); 269Assert.Equal(LogLevel.Debug, latestRecord.Level); 307TagProviderExtensions.Enumerable(_logger, LogLevel.Debug, a); 311Assert.Equal(LogLevel.Debug, latestRecord.Level);
test\Generators\Microsoft.Gen.Logging\TestClasses\AttributeTestExtensions.cs (9)
13[LoggerMessage(0, LogLevel.Debug, "M0 {p0}")] 16[LoggerMessage(1, LogLevel.Debug, "M1 {p0} {p1}")] 19[LoggerMessage(2, LogLevel.Debug, "M2 {p0} {p1}")] 22[LoggerMessage(3, LogLevel.Debug, "M3 {p0} {p1} {p2} {p3}")] 30[LoggerMessage(4, LogLevel.Debug, "M4 {p0} {p1} {p2} {p3}")] 38[LoggerMessage(5, LogLevel.Debug, "M5 {p0} {p1} {p2} {p3} {p4} {p5} {p6} {p7} {p8} {p9} {p10}")] 63[LoggerMessage(8, LogLevel.Debug, "M8 {p0}")] 66[LoggerMessage(9, LogLevel.Debug, "M9 {p0}")] 69[LoggerMessage(10, LogLevel.Debug, "M10 {p0}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\ConstraintsTestExtensions.cs (7)
15[LoggerMessage(0, LogLevel.Debug, "M0{p0}")] 26[LoggerMessage(0, LogLevel.Debug, "M0{p0}")] 37[LoggerMessage(0, LogLevel.Debug, "M0{p0}")] 48[LoggerMessage(0, LogLevel.Debug, "M0{p0}")] 59[LoggerMessage(0, LogLevel.Debug, "M0{p0}")] 70[LoggerMessage(0, LogLevel.Debug, "M0{p0}")] 81[LoggerMessage(0, LogLevel.Debug, "M0{p0}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\ConstructorVariationsTestExtensions.cs (4)
10[LoggerMessage(0, LogLevel.Debug, "M0 {p0}")] 16[LoggerMessage(LogLevel.Debug)] 22[LoggerMessage(LogLevel.Debug, "M4 {p0}")] 28[LoggerMessage(LogLevel.Debug)]
test\Generators\Microsoft.Gen.Logging\TestClasses\ExceptionTestExtensions.cs (2)
14[LoggerMessage(1, LogLevel.Debug, "M1 {ex2}")] 18[LoggerMessage(2, LogLevel.Debug, "M2 {arg1}: {ex}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\InvariantTestExtensions.cs (1)
11[LoggerMessage(0, LogLevel.Debug, "M0 {p0}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\LevelTestExtensions.cs (1)
13[LoggerMessage(1, LogLevel.Debug, "M1")]
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesExtensions.cs (1)
214[LoggerMessage(0, LogLevel.Debug, "Only {classToLog_StringProperty_1} as param")]
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesNullHandlingExtensions.cs (2)
38[LoggerMessage(LogLevel.Debug)] 41[LoggerMessage(LogLevel.Debug)]
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesOmitParameterNameExtensions.cs (1)
17[LoggerMessage(LogLevel.Debug)]
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesRecordExtensions.cs (3)
28[LoggerMessage(LogLevel.Debug)] 31[LoggerMessage(LogLevel.Debug, "Struct is: {p0}")] 34[LoggerMessage(LogLevel.Debug, "Readonly struct is: {p0}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesRedactionExtensions.cs (2)
55[LoggerMessage(1, LogLevel.Debug, "No template params")] 73[LoggerMessage(LogLevel.Debug, "User {userId} has now different status")]
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesSimpleExtensions.cs (1)
25[LoggerMessage(0, LogLevel.Debug, "{p0}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesSpecialTypesExtensions.cs (1)
43[LoggerMessage(LogLevel.Debug)]
test\Generators\Microsoft.Gen.Logging\TestClasses\MessageTestExtensions.cs (6)
13[LoggerMessage(1, LogLevel.Debug, "")] 17[LoggerMessage(LogLevel.Debug)] 24[LoggerMessage(LogLevel.Debug, "")] 27[LoggerMessage(LogLevel.Debug, "{p1}")] 30[LoggerMessage(LogLevel.Debug, "\"Hello\" World")] 36[LoggerMessage(LogLevel.Debug, "\"\n\r\\")]
test\Generators\Microsoft.Gen.Logging\TestClasses\NestedClassTestExtensions.cs (4)
36[LoggerMessage(9, LogLevel.Debug, "M9")] 50[LoggerMessage(10, LogLevel.Debug, "M10")] 59[LoggerMessage(11, LogLevel.Debug, "M11")] 72[LoggerMessage(12, LogLevel.Debug, "M12")]
test\Generators\Microsoft.Gen.Logging\TestClasses\NonStaticNullableTestClass.cs (1)
18[LoggerMessage(2, LogLevel.Debug, "M2 {p0} {p1} {p2}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\NonStaticTestClass.cs (3)
19[LoggerMessage(0, LogLevel.Debug, "M0 {p0}")] 22[LoggerMessage(1, LogLevel.Debug, "M1 {p0}")] 25[LoggerMessage(2, LogLevel.Debug, "M2 {p0} {p1} {p2}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\NonStaticTestClasses.cs (9)
14[LoggerMessage(0, LogLevel.Debug, "M0 {p0}")] 22[LoggerMessage(0, LogLevel.Debug, "M0 {p0}")] 30[LoggerMessage(0, LogLevel.Debug, "M0 {p0}")] 36[LoggerMessage(1, LogLevel.Debug, "M1 {p0}")] 42[LoggerMessage(1, LogLevel.Debug, "M1 {p0}")] 55[LoggerMessage(1, LogLevel.Debug, "M0 {p0}")] 69[LoggerMessage(1, LogLevel.Debug, "M1 {p0}")] 75[LoggerMessage(1, LogLevel.Debug, "M1 {p0}")] 86[LoggerMessage(1, LogLevel.Debug, "M1 {p0}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\NullableTestExtensions.cs (6)
11[LoggerMessage(0, LogLevel.Debug, "M0 {p0}")] 14[LoggerMessage(1, LogLevel.Debug, "M1 {p0}")] 17[LoggerMessage(3, LogLevel.Debug, "M3 {p0}")] 21[LoggerMessage(4, LogLevel.Debug, "M4 {p0} {p1} {p2} {p3} {p4} {p5} {p6} {p7} {p8}")] 24[LoggerMessage(5, LogLevel.Debug, "M5 {p0} {p1} {p2} {p3} {p4} {p5} {p6} {p7} {p8}")] 28[LoggerMessage(6, LogLevel.Debug, "M6 {p0}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\PrimaryConstructorsExtensions.cs (4)
12[LoggerMessage(0, LogLevel.Debug, "Test.")] 20[LoggerMessage(0, LogLevel.Debug, "Test.")] 30[LoggerMessage(0, LogLevel.Debug, "Test.")] 36[LoggerMessage(0, LogLevel.Debug, "Test.")]
test\Generators\Microsoft.Gen.Logging\TestClasses\RecordTestExtensions.cs (1)
10[LoggerMessage(12, LogLevel.Debug, "M0")]
test\Generators\Microsoft.Gen.Logging\TestClasses\SensitiveRecordExtensions.cs (2)
69[LoggerMessage(LogLevel.Debug, "Param is {p0}")] 72[LoggerMessage(LogLevel.Debug)]
test\Generators\Microsoft.Gen.Logging\TestClasses\SignatureTestExtensions.cs (3)
17[LoggerMessage(1, LogLevel.Debug, "{p1} {p2}")] 21[LoggerMessage(2, LogLevel.Debug, "{helper}")] 41M11(logger, "A", LogLevel.Debug, "B");
test\Generators\Microsoft.Gen.Logging\TestClasses\TagProviderExtensions.cs (1)
19[LoggerMessage(LogLevel.Debug, "Custom provided properties for struct.")]
test\Generators\Microsoft.Gen.Logging\TestClasses\TransitiveTestExtensions.cs (2)
37[LoggerMessage(LogLevel.Debug)] 40[LoggerMessage(LogLevel.Debug)]
MiddlewareAnalysisSample (1)
Startup.cs (1)
88factory.AddFilter("Console", level => level >= LogLevel.Debug);
OrderProcessor (1)
OrderProcessingWorker.cs (1)
58if (_logger.IsEnabled(LogLevel.Debug))
Redis (1)
Program.cs (1)
20.AddLogging(o => o.AddConsole().SetMinimumLevel(LogLevel.Debug))
RequestDecompressionSample (1)
Startup.cs (1)
41.SetMinimumLevel(LogLevel.Debug);
ResponseCompressionSample (1)
Startup.cs (1)
76.SetMinimumLevel(LogLevel.Debug);
ServerComparison.FunctionalTests (4)
HelloWorldTest.cs (2)
39variant.Server == ServerType.Nginx ? LogLevel.Trace : LogLevel.Debug, // https://github.com/aspnet/ServerTests/issues/144 127using (StartLog(out var loggerFactory, LogLevel.Debug, testName))
ResponseCompressionTests.cs (1)
90variant.Server == ServerType.Nginx ? LogLevel.Trace : LogLevel.Debug, // https://github.com/aspnet/ServerTests/issues/144
ResponseTests.cs (1)
83variant.Server == ServerType.Nginx ? LogLevel.Trace : LogLevel.Debug, // https://github.com/aspnet/ServerTests/issues/144
SignalR.Client.FunctionalTestApp (1)
Program.cs (1)
37factory.SetMinimumLevel(LogLevel.Debug);
SignalRSamples (1)
Program.cs (1)
28factory.SetMinimumLevel(LogLevel.Debug);
Sockets.BindTests (1)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
522Assert.Single(LogMessages, log => log.LogLevel == LogLevel.Debug && string.Equals(CoreStrings.FormatBindingToDefaultAddress(Constants.DefaultServerAddress), log.Message, StringComparison.Ordinal));
Sockets.FunctionalTests (7)
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (5)
265if (context.LogLevel > LogLevel.Debug) 317if (context.LogLevel > LogLevel.Debug) 357if (context.LogLevel > LogLevel.Debug) 416if (context.LogLevel > LogLevel.Debug) 479if (context.LogLevel > LogLevel.Debug)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (2)
417Assert.DoesNotContain(transportLogs, w => w.LogLevel > LogLevel.Debug); 457Assert.DoesNotContain(transportLogs, w => w.LogLevel > LogLevel.Debug);
StaticFileSample (1)
Startup.cs (1)
32factory.AddFilter("Console", level => level >= LogLevel.Debug);