525 references to Warning
aspire (4)
Aspire.Cli.Tests (3)
Aspire.Confluent.Kafka (1)
Aspire.Dashboard (10)
Aspire.Dashboard.Tests (17)
Aspire.Hosting (6)
Aspire.Hosting.Docker (4)
Aspire.Hosting.Kubernetes (3)
Aspire.Hosting.Tests (14)
Aspire.RabbitMQ.Client (1)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v6.Tests (1)
dotnet-format (8)
dotnet-watch (1)
Microsoft.Arcade.Common (2)
Microsoft.AspNetCore.Antiforgery (12)
_generated\0\LoggerMessage.g.cs (8)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "ValidationFailed"), "Antiforgery validation failed with message '{Message}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
19if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
42global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(3, "MissingCookieToken"), "The required antiforgery cookie '{CookieName}' is not present.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
51if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
58global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(4, "MissingRequestToken"), "The required antiforgery request token was not provided in either form field '{FormFieldName}' or header '{HeaderName}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
67if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
122global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(8, "ResponseCacheHeadersOverridenToNoCache"), "The 'Cache-Control' and 'Pragma' headers have been overridden and set to 'no-cache, no-store' and 'no-cache' respectively to prevent caching of this response. Any response that uses antiforgery should not be cached.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
131if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
Internal\AntiforgeryLoggerExtensions.cs (4)
10[LoggerMessage(1, LogLevel.Warning, "Antiforgery validation failed with message '{Message}'.", EventName = "ValidationFailed")]
16[LoggerMessage(3, LogLevel.Warning, "The required antiforgery cookie '{CookieName}' is not present.", EventName = "MissingCookieToken")]
19[LoggerMessage(4, LogLevel.Warning, "The required antiforgery request token was not provided in either form field '{FormFieldName}' "
32[LoggerMessage(8, LogLevel.Warning, "The 'Cache-Control' and 'Pragma' headers have been overridden and set to 'no-cache, no-store' and " +
Microsoft.AspNetCore.Authentication (9)
_generated\0\LoggerMessage.g.cs (6)
138global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(14, "CorrelationPropertyNotFound"), "{CorrelationProperty} state property not found.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
147if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
154global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(15, "CorrelationCookieNotFound"), "'{CorrelationCookieName}' cookie not found.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
163if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
170global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(16, "UnexpectedCorrelationCookieValue"), "The correlation cookie value '{CorrelationCookieName}' did not match the expected value '{CorrelationCookieValue}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
179if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
Microsoft.AspNetCore.Components.Endpoints (40)
_generated\0\LoggerMessage.g.cs (26)
28global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "TempDataCookieLoadFailure"), "The temp data cookie {CookieName} could not be loaded.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
37if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
85global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "CannotResolveConverter"), "Cannot resolve converter for type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
94if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
822global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "SessionPersistFail"), "Persisting of the session element failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
831if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
838global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "SessionDeserializeFail"), "Deserialization of the element from session failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
847if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
879global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "TempDataSessionLoadFailure"), "TempData could not be loaded from session.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
888if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
936global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "TempDataPersistFail"), "Persisting of the TempData element failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
945if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
952global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "TempDataDeserializeFail"), "Deserialization of the element from TempData failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
961if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
977global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "EventHandlerSkipped"), "Event handler '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Delegates cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
986if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
993global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "ElementReferenceCaptureSkipped"), "An element @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Element references cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1002if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1009global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(3, "ComponentReferenceCaptureSkipped"), "A component @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Component references cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1018if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1025global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(4, "ComponentRenderModeSkipped"), "A @rendermode directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. The render mode is already determined by the boundary the RenderFragment is crossing.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1034if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1041global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(5, "NamedEventSkipped"), "A @formname directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Named events are an SSR-only mechanism and cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1050if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1057global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(6, "GenericRenderFragmentSkipped"), "A generic RenderFragment<T> parameter '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Only non-generic RenderFragment is supported across render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1066if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
src\aspnetcore\src\Components\Shared\src\RenderFragmentSerializer.cs (6)
350[LoggerMessage(1, LogLevel.Warning, "Event handler '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Delegates cannot cross render mode boundaries.", EventName = "EventHandlerSkipped")]
353[LoggerMessage(2, LogLevel.Warning, "An element @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Element references cannot cross render mode boundaries.", EventName = "ElementReferenceCaptureSkipped")]
356[LoggerMessage(3, LogLevel.Warning, "A component @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Component references cannot cross render mode boundaries.", EventName = "ComponentReferenceCaptureSkipped")]
359[LoggerMessage(4, LogLevel.Warning, "A @rendermode directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. The render mode is already determined by the boundary the RenderFragment is crossing.", EventName = "ComponentRenderModeSkipped")]
362[LoggerMessage(5, LogLevel.Warning, "A @formname directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Named events are an SSR-only mechanism and cannot cross render mode boundaries.", EventName = "NamedEventSkipped")]
365[LoggerMessage(6, LogLevel.Warning, "A generic RenderFragment<T> parameter '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Only non-generic RenderFragment is supported across render mode boundaries.", EventName = "GenericRenderFragmentSkipped")]
Microsoft.AspNetCore.Components.Server (24)
_generated\0\LoggerMessage.g.cs (16)
12global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "EventHandlerSkipped"), "Event handler '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Delegates cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
21if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
28global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "ElementReferenceCaptureSkipped"), "An element @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Element references cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
37if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
44global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(3, "ComponentReferenceCaptureSkipped"), "A component @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Component references cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
53if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
60global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(4, "ComponentRenderModeSkipped"), "A @rendermode directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. The render mode is already determined by the boundary the RenderFragment is crossing.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
69if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
76global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(5, "NamedEventSkipped"), "A @formname directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Named events are an SSR-only mechanism and cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
85if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
92global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(6, "GenericRenderFragmentSkipped"), "A generic RenderFragment<T> parameter '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Only non-generic RenderFragment is supported across render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
101if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1530global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(100, "ExceptionCaughtByErrorBoundary"), "Unhandled exception rendering component: {Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1539if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1781global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(100, "ExceptionRenderingComponent"), "Unhandled exception rendering component: {Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1790if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
src\aspnetcore\src\Components\Shared\src\RenderFragmentSerializer.cs (6)
350[LoggerMessage(1, LogLevel.Warning, "Event handler '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Delegates cannot cross render mode boundaries.", EventName = "EventHandlerSkipped")]
353[LoggerMessage(2, LogLevel.Warning, "An element @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Element references cannot cross render mode boundaries.", EventName = "ElementReferenceCaptureSkipped")]
356[LoggerMessage(3, LogLevel.Warning, "A component @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Component references cannot cross render mode boundaries.", EventName = "ComponentReferenceCaptureSkipped")]
359[LoggerMessage(4, LogLevel.Warning, "A @rendermode directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. The render mode is already determined by the boundary the RenderFragment is crossing.", EventName = "ComponentRenderModeSkipped")]
362[LoggerMessage(5, LogLevel.Warning, "A @formname directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Named events are an SSR-only mechanism and cannot cross render mode boundaries.", EventName = "NamedEventSkipped")]
365[LoggerMessage(6, LogLevel.Warning, "A generic RenderFragment<T> parameter '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Only non-generic RenderFragment is supported across render mode boundaries.", EventName = "GenericRenderFragmentSkipped")]
Microsoft.AspNetCore.Cors (3)
Microsoft.AspNetCore.DataProtection (27)
_generated\0\LoggerMessage.g.cs (18)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Guid, global::System.DateTimeOffset>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "UsingFallbackKeyWithExpirationAsDefaultKey"), "Policy resolution states that a new key should be added to the key ring, but automatic generation of keys is disabled. Using fallback key {KeyId:B} with expiration {ExpirationDate:u} as default key.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
19if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
186global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Guid, string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(12, "KeyIsIneligibleToBeTheDefaultKeyBecauseItsMethodFailed"), "Key {KeyId:B} is ineligible to be the default key because its {MethodName} method failed after the maximum number of retries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
195if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
234global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Xml.Linq.XName>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(15, "UnknownElementWithNameFoundInKeyringSkipping"), "Unknown element with name '{Name}' found in keyring, skipping.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
243if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
266global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Guid>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(17, "TriedToProcessRevocationOfKeyButNoSuchKeyWasFound"), "Tried to process revocation of key {KeyId:B}, but no such key was found in keyring. Skipping.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
275if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
538global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Guid>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(35, "NoXMLEncryptorConfiguredKeyMayBePersistedToStorageInUnencryptedForm"), "No XML encryptor configured. Key {KeyId:B} may be persisted to storage in unencrypted form.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
547if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
698global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(44, "EncryptingUsingNullEncryptor"), "Encrypting using a null encryptor; secret information isn't being protected.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
707if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
794global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(50, "UsingInMemoryRepository"), "Using an in-memory repository. Keys will not be persisted to storage.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
803if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
938global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(59, "UsingEphemeralKeyRepository"), "Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
947if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1050global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(60, "UsingEphemeralFileSystemLocationInContainer"), "Storing keys in a directory '{path}' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1059if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
LoggingExtensions.cs (9)
43[LoggerMessage(1, LogLevel.Warning, "Policy resolution states that a new key should be added to the key ring, but automatic generation of keys is disabled. Using fallback key {KeyId:B} with expiration {ExpirationDate:u} as default key.", EventName = "UsingFallbackKeyWithExpirationAsDefaultKey")]
76[LoggerMessage(12, LogLevel.Warning, "Key {KeyId:B} is ineligible to be the default key because its {MethodName} method failed after the maximum number of retries.", EventName = "KeyIsIneligibleToBeTheDefaultKeyBecauseItsMethodFailed")]
85[LoggerMessage(15, LogLevel.Warning, "Unknown element with name '{Name}' found in keyring, skipping.", EventName = "UnknownElementWithNameFoundInKeyringSkipping")]
91[LoggerMessage(17, LogLevel.Warning, "Tried to process revocation of key {KeyId:B}, but no such key was found in keyring. Skipping.", EventName = "TriedToProcessRevocationOfKeyButNoSuchKeyWasFound")]
142[LoggerMessage(35, LogLevel.Warning, "No XML encryptor configured. Key {KeyId:B} may be persisted to storage in unencrypted form.", EventName = "NoXMLEncryptorConfiguredKeyMayBePersistedToStorageInUnencryptedForm")]
172[LoggerMessage(44, LogLevel.Warning, "Encrypting using a null encryptor; secret information isn't being protected.", EventName = "EncryptingUsingNullEncryptor")]
190[LoggerMessage(50, LogLevel.Warning, "Using an in-memory repository. Keys will not be persisted to storage.", EventName = "UsingInMemoryRepository")]
217[LoggerMessage(59, LogLevel.Warning, "Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.", EventName = "UsingEphemeralKeyRepository")]
238[LoggerMessage(60, LogLevel.Warning, "Storing keys in a directory '{path}' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning", EventName = "UsingEphemeralFileSystemLocationInContainer")]
Microsoft.AspNetCore.Diagnostics (6)
_generated\0\LoggerMessage.g.cs (4)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "ResponseStarted"), "The response has already started, the error page middleware will not be executed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
19if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
80global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "ResponseStarted"), "The response has already started, the error handler will not be executed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
89if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (6)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Http (6)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Extensions (3)
Microsoft.AspNetCore.HttpLogging (3)
Microsoft.AspNetCore.HttpOverrides (3)
Microsoft.AspNetCore.HttpsPolicy (3)
Microsoft.AspNetCore.Mvc.Core (18)
_generated\0\LoggerMessage.g.cs (11)
139global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "FeatureNotFound"), "A request body size limit could not be applied. This server does not support the IHttpRequestBodySizeFeature.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
148if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
155global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "FeatureIsReadOnly"), "A request body size limit could not be applied. The IHttpRequestBodySizeFeature for the server is read-only.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
164if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
237global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "CannotApplyRequestFormLimits"), "Unable to apply configured form options since the request form has already been read.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
246if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
294global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "FeatureNotFound"), "A request body size limit could not be applied. This server does not support the IHttpRequestBodySizeFeature.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
303if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
310global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "FeatureIsReadOnly"), "A request body size limit could not be applied. The IHttpRequestBodySizeFeature for the server is read-only.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
319if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1062global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Collections.Generic.List<string?>>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "NoFormatter"), "No output formatter was found for content types '{ContentTypes}' to write the response.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
Microsoft.AspNetCore.Mvc.Formatters.Xml (6)
Microsoft.AspNetCore.Mvc.RazorPages (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Microsoft.AspNetCore.OutputCaching (3)
Microsoft.AspNetCore.ResponseCaching (3)
Microsoft.AspNetCore.Routing (6)
Microsoft.AspNetCore.Server.Kestrel.Core (34)
_generated\0\LoggerMessage.g.cs (22)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "DirectoryDoesNotExist"), "Directory '{Directory}' does not exist so changes to the certificate '{Path}' will not be tracked.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
19if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
26global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "UnknownFile"), "Attempted to remove watch from unwatched path '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
35if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
42global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(3, "UnknownObserver"), "Attempted to remove unknown observer from path '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
51if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
539global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(24, "ConnectionRejected"), "Connection id \"{ConnectionId}\" rejected because the maximum number of concurrent connections has been reached.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
548if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
628global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.DateTimeOffset, global::System.TimeSpan, global::System.TimeSpan>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(22, "HeartbeatSlow"), "As of \"{now}\", the heartbeat has been running for \"{heartbeatDuration}\" which is longer than \"{interval}\". This could be caused by thread pool starvation.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
637if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
718global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(41, "InvalidResponseHeaderRemoved"), "One or more of the following response headers have been removed because they are invalid for HTTP/2 and HTTP/3 responses: 'Connection', 'Transfer-Encoding', 'Keep-Alive', 'Upgrade' and 'Proxy-Connection'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
727if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
734global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.EndPoint>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(64, "Http2DisabledWithHttp1AndNoTls"), "HTTP/2 is not enabled for {Endpoint}. The endpoint is configured to use HTTP/1.1 and HTTP/2, but TLS is not enabled. HTTP/2 requires TLS application protocol negotiation. Connections to this endpoint will use HTTP/1.1.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
743if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
750global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.EndPoint>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(65, "Http3DisabledWithHttp1AndNoTls"), "HTTP/3 is not enabled for {Endpoint}. HTTP/3 requires TLS. Connections to this endpoint will use HTTP/1.1.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
759if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1375global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(5, "DeveloperCertificateFirstRun"), "{Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1384if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1423global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(8, "DeveloperCertificateNotTrusted"), "The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1432if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
1439global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(9, "DeveloperCertificatePartiallyTrusted"), "The ASP.NET Core developer certificate is only trusted by some clients. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1448if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
Internal\Infrastructure\KestrelTrace.General.cs (4)
85[LoggerMessage(22, LogLevel.Warning, @"As of ""{now}"", the heartbeat has been running for ""{heartbeatDuration}"" which is longer than ""{interval}"". This could be caused by thread pool starvation.", EventName = "HeartbeatSlow")]
103[LoggerMessage(41, LogLevel.Warning, "One or more of the following response headers have been removed because they are invalid for HTTP/2 and HTTP/3 responses: 'Connection', 'Transfer-Encoding', 'Keep-Alive', 'Upgrade' and 'Proxy-Connection'.", EventName = "InvalidResponseHeaderRemoved")]
106[LoggerMessage(64, LogLevel.Warning, "HTTP/2 is not enabled for {Endpoint}. The endpoint is configured to use HTTP/1.1 and HTTP/2, but TLS is not enabled. HTTP/2 requires TLS application protocol negotiation. Connections to this endpoint will use HTTP/1.1.", EventName = "Http2DisabledWithHttp1AndNoTls")]
109[LoggerMessage(65, LogLevel.Warning, "HTTP/3 is not enabled for {Endpoint}. HTTP/3 requires TLS. Connections to this endpoint will use HTTP/1.1.", EventName = "Http3DisabledWithHttp1AndNoTls")]
Internal\LoggerExtensions.cs (3)
32[LoggerMessage(5, LogLevel.Warning, "{Message}", EventName = "DeveloperCertificateFirstRun")]
41[LoggerMessage(8, LogLevel.Warning, "The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert", EventName = "DeveloperCertificateNotTrusted")]
44[LoggerMessage(9, LogLevel.Warning, "The ASP.NET Core developer certificate is only trusted by some clients. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert", EventName = "DeveloperCertificatePartiallyTrusted")]
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (6)
_generated\0\LoggerMessage.g.cs (4)
231global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(18, "ConnectionListenerCertificateNotSpecified"), "SslServerAuthenticationOptions must provide a server certificate using ServerCertificate, ServerCertificateContext, or ServerCertificateSelectionCallback.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
240if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
247global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(19, "ConnectionListenerApplicationProtocolsNotSpecified"), "SslServerAuthenticationOptions must provide at least one application protocol using ApplicationProtocols.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
256if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
Microsoft.AspNetCore.Session (12)
_generated\0\LoggerMessage.g.cs (8)
97global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(7, "ErrorUnprotectingCookie"), "Error unprotecting the session cookie.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
106if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
113global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(8, "SessionLoadingTimeout"), "Loading the session timed out.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
122if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
129global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(9, "SessionCommitTimeout"), "Committing the session timed out.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
138if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
161global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(11, "SessionRefreshTimeout"), "Refreshing the session timed out.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
170if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
LoggingExtensions.cs (4)
26[LoggerMessage(7, LogLevel.Warning, "Error unprotecting the session cookie.", EventName = "ErrorUnprotectingCookie")]
29[LoggerMessage(8, LogLevel.Warning, "Loading the session timed out.", EventName = "SessionLoadingTimeout")]
32[LoggerMessage(9, LogLevel.Warning, "Committing the session timed out.", EventName = "SessionCommitTimeout")]
38[LoggerMessage(11, LogLevel.Warning, "Refreshing the session timed out.", EventName = "SessionRefreshTimeout")]
Microsoft.AspNetCore.StaticAssets (12)
_generated\0\LoggerMessage.g.cs (8)
12global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, nameof(StaticAssetNotFoundInManifest)), "The static asset '{Path}' was not found in the built time manifest. This file will not be available at runtime if it is not available at compile time during the publish process. If the file was not added to the project during development, and is created at runtime, use the StaticFiles middleware to serve it instead.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
21if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
179global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(9, "RangeNotSatisfiable"), "Range not satisfiable for {Path}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
188if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
243global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(16, "WebRootPathNotFound"), "The WebRootPath was not found: {WebRootPath}. Static files may be unavailable.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
252if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
259global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(17, "StaticWebAssetsNotEnabled"), "The application is not running against the published output and Static Web Assets are not enabled. To configure static web assets in other environments, call 'StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment, IConfiguration)' to enable them.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
268if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
Microsoft.AspNetCore.StaticFiles (6)
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
Microsoft.DotNet.HotReload.Watch (15)
UI\IReporter.cs (13)
113LogLevel.Warning => Emoji.Warning,
197public static readonly MessageDescriptor<None> FixBuildError = Create("Fix the error to continue or press Ctrl+C to exit.", Emoji.Watch, LogLevel.Warning);
202public static readonly MessageDescriptor<None> StaticWebAssetManifestNotFound = Create("Static web asset manifest not found.", Emoji.Warning, LogLevel.Warning);
203public static readonly MessageDescriptor<string> ScopedCssBundleFileNotFound = Create<string>("Scoped CSS bundle file '{BundleFile}' not found.", Emoji.Warning, LogLevel.Warning);
214public static readonly MessageDescriptor<None> WaitingForFileChangeBeforeRestarting = Create("Waiting for a file to change before restarting ...", Emoji.Wait, LogLevel.Warning);
221public static readonly MessageDescriptor<string> ApplyUpdate_Warning = Create<string>("{0}", Emoji.Warning, LogLevel.Warning);
224public static readonly MessageDescriptor<string> ApplyUpdate_ChangingEntryPoint = Create<string>("{0} Press \"Ctrl + R\" to restart.", Emoji.Warning, LogLevel.Warning);
228public static readonly MessageDescriptor<string> BrowserRefreshSuppressedViaEnvironmentVariable_ApplicationWillBeRestarted = Create<string>("Browser refresh is suppressed via environment variable '{0}'. Application will be restarted when updated.", Emoji.Watch, LogLevel.Warning);
229public static readonly MessageDescriptor<None> BrowserRefreshNotSupportedByProjectTargetFramework_ManualRefreshRequired = Create("Browser refresh is not supported by the project target framework. To reload static assets after an update refresh browser manually. For more information see 'https://aka.ms/dotnet/watch/unsupported-tfm'.", Emoji.Watch, LogLevel.Warning);
230public static readonly MessageDescriptor<None> BrowserRefreshNotSupportedByProjectTargetFramework_ApplicationWillBeRestarted = Create("Browser refresh is not supported by the project target framework. Application will be restarted when updated. For more information see 'https://aka.ms/dotnet/watch/unsupported-tfm'.", Emoji.Watch, LogLevel.Warning);
259public static readonly MessageDescriptor<(string, int, string)> FailedToSendSignalToProcess = Create<(string, int, string)>("Failed to send {0} signal to process {1}: {2}", Emoji.Warning, LogLevel.Warning);
267public static readonly MessageDescriptor<Version> ProjectDoesNotSupportHotReload_TargetFramework = Create<Version>("Project does not support Hot Reload: Target Framework is older than {0}. Application will be restarted when updated.", Emoji.Warning, LogLevel.Warning);
268public static readonly MessageDescriptor<(string, string, string, string)> ProjectDoesNotSupportHotReload_Property = Create<(string, string, string, string)>("Project does not support Hot Reload: '{0}' property is '{1}'. Application will be restarted when updated. Set '{2}' project property to '{3}' to enable Hot Reload.", Emoji.Warning, LogLevel.Warning);
Microsoft.Extensions.AI (2)
Microsoft.Extensions.AI.Tests (1)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Diagnostics.HealthChecks (3)
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (4)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (2)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Hosting.Testing (1)
Microsoft.Extensions.Identity.Core (1)
Microsoft.Extensions.Logging (2)
src\runtime\src\libraries\Common\src\Extensions\Logging\DebuggerDisplayFormatting.cs (1)
38LogLevel.Warning,
Microsoft.Extensions.Logging.Abstractions (5)
LoggerExtensions.cs (4)
242logger.Log(LogLevel.Warning, eventId, exception, message, args);
259logger.Log(LogLevel.Warning, eventId, message, args);
276logger.Log(LogLevel.Warning, exception, message, args);
292logger.Log(LogLevel.Warning, message, args);
src\runtime\src\libraries\Common\src\Extensions\Logging\DebuggerDisplayFormatting.cs (1)
38LogLevel.Warning,
Microsoft.Extensions.Logging.Console (4)
Microsoft.Extensions.Logging.EventLog (1)
Microsoft.Extensions.Logging.EventSource (2)
Microsoft.Extensions.Logging.MSBuild (2)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.ServiceDiscovery.Dns (5)
Resolver\DnsResolver.Log.cs (5)
21[LoggerMessage(4, LogLevel.Warning, "Query {QueryType} {QueryName} on {Server} attempt {Attempt} timed out.", EventName = "Timeout")]
24[LoggerMessage(5, LogLevel.Warning, "Query {QueryType} {QueryName} on {Server} attempt {Attempt}: no data matching given query type.", EventName = "NoData")]
27[LoggerMessage(6, LogLevel.Warning, "Query {QueryType} {QueryName} on {Server} attempt {Attempt}: server indicates given name does not exist.", EventName = "NameError")]
30[LoggerMessage(7, LogLevel.Warning, "Query {QueryType} {QueryName} on {Server} attempt {Attempt} failed to return a valid DNS response.", EventName = "MalformedResponse")]
33[LoggerMessage(8, LogLevel.Warning, "Query {QueryType} {QueryName} on {Server} attempt {Attempt} failed due to a network error.", EventName = "NetworkError")]
Microsoft.Extensions.Telemetry.Tests (86)
Buffering\LogBufferingFilterRuleTests.cs (28)
25new LogBufferingFilterRule(logLevel: LogLevel.Warning),
26new LogBufferingFilterRule(logLevel: LogLevel.Warning, eventId: 2),
27new LogBufferingFilterRule(logLevel: LogLevel.Warning, eventId: 1),
28new LogBufferingFilterRule("Program1.MyLogger", LogLevel.Warning, 1),
29new LogBufferingFilterRule("Program.*MyLogger1", LogLevel.Warning, 1),
30new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1, attributes: [new("region2", "westus2")]), // inapplicable key
31new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1, attributes:[new("region", "westus3")]), // inapplicable value
32new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1, attributes:[new("region", "westus2")]), // the best rule - [11]
33new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 2),
35new LogBufferingFilterRule(logLevel: LogLevel.Warning, eventId: 1),
36new LogBufferingFilterRule("Program", LogLevel.Warning, 1),
37new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning),
45LogLevel.Warning,
61new LogBufferingFilterRule(logLevel: LogLevel.Warning),
62new LogBufferingFilterRule(logLevel: LogLevel.Warning, eventId: 2),
63new LogBufferingFilterRule(logLevel: LogLevel.Warning, eventId: 1),
64new LogBufferingFilterRule("Program1.MyLogger", LogLevel.Warning, 1),
65new LogBufferingFilterRule("Program.*MyLogger1", LogLevel.Warning, 1),
66new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1),
67new LogBufferingFilterRule("Program.MyLogger*", LogLevel.Warning, 1),
68new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1, attributes:[new("region", "westus2")]), // the best rule
69new LogBufferingFilterRule("Program.MyLogger*", LogLevel.Warning, 1, attributes:[new("region", "westus2")]), // same as the best, but last and should be selected
74LogBufferingFilterRule? result = _selector.Select(categorySpecificRules, LogLevel.Warning, 1, [new("region", "westus2")]);
86new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1, attributes:[new("priority", 1)]),
87new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1, attributes:[new("priority", 2)]), // the best rule
88new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1, attributes:[new("priority", 3)]),
89new LogBufferingFilterRule("Program.MyLogger", LogLevel.Warning, 1),
94LogBufferingFilterRule? result = _selector.Select(categorySpecificRules, LogLevel.Warning, 1, [new("priority", "2")]);
Logging\ExtendedLoggerTests.cs (25)
73logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
133options.Rules.Add(new RandomProbabilisticSamplerFilterRule(probability: 0, logLevel: LogLevel.Warning));
142builder.AddRandomProbabilisticSampler(0, LogLevel.Warning);
154logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
190logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
254logger.Log(LogLevel.Warning, new EventId(2, "ID2"), (LoggerMessageState?)null, null, (_, _) => "MSG2");
255logger.Log(LogLevel.Warning, new EventId(2, "ID2b"), (LoggerMessageState?)null, null, (_, _) => "MSG2b");
315logger.Log(LogLevel.Warning, new EventId(0, "ID0"), e, null, (_, _) => "MSG0");
355Assert.False(filteredLogger.IsEnabled(LogLevel.Warning));
356Assert.True(unfilteredLogger.IsEnabled(LogLevel.Warning));
359fake.ControlLevel(LogLevel.Warning, false);
361Assert.False(filteredLogger.IsEnabled(LogLevel.Warning));
362Assert.False(unfilteredLogger.IsEnabled(LogLevel.Warning));
384logger.Log(LogLevel.Warning, new EventId(0, "ID0"), "PAYLOAD", null, (_, _) => "MSG0");
492logger.Log(LogLevel.Warning, new EventId(2, "ID2"), lms, null, (_, _) => "MSG2");
493logger.Log(LogLevel.Warning, new EventId(2, "ID2b"), lms, ex, (_, _) => "MSG2b");
842logger.Log(LogLevel.Warning, new EventId(1, "ID1"), state, exception, (_, _) => "MSG");
890logger.Log(LogLevel.Warning, new EventId(1, "ID1"), list, exception, (_, _) => "MSG");
901logger.Log(LogLevel.Warning, new EventId(1, "ID1"), enumerable, exception, (_, _) => "MSG");
905logger.Log(LogLevel.Warning, new EventId(1, "ID1"), "V4", exception, (_, _) => "MSG");
931builder.AddGlobalBuffer(LogLevel.Warning);
936logger.Log(LogLevel.Warning, new EventId(2, "ID2"), "some state", null, (_, _) => "MSG2");
959builder.AddGlobalBuffer(LogLevel.Warning);
968logger.Log(LogLevel.Warning, new EventId(2, "ID2"), "some state", null, (_, _) => "MSG2");
995options.Rules.Add(new LogBufferingFilterRule(logLevel: LogLevel.Warning));
Sampling\LogSamplingRuleSelectorTests.cs (24)
26new RandomProbabilisticSamplerFilterRule (probability: 0, logLevel: LogLevel.Warning),
27new RandomProbabilisticSamplerFilterRule (probability: 0, logLevel : LogLevel.Warning, eventId : 2),
28new RandomProbabilisticSamplerFilterRule (probability: 0, logLevel : LogLevel.Warning, eventId : 1),
29new RandomProbabilisticSamplerFilterRule (probability: 0, categoryName: "Program1.MyLogger", logLevel: LogLevel.Warning, eventId: 1),
30new RandomProbabilisticSamplerFilterRule (probability : 0, categoryName : "Program.*MyLogger1", logLevel : LogLevel.Warning, eventId : 1),
31new RandomProbabilisticSamplerFilterRule (probability : 0, categoryName : "Program.MyLogger", logLevel : LogLevel.Warning, eventId : 1), // the best rule
32new RandomProbabilisticSamplerFilterRule (probability : 0, categoryName : "Program.MyLogger", logLevel : LogLevel.Warning, eventId : 2),
34new RandomProbabilisticSamplerFilterRule (probability : 0, logLevel : LogLevel.Warning, eventId : 1),
35new RandomProbabilisticSamplerFilterRule (probability : 0, categoryName : "Program", logLevel : LogLevel.Warning, eventId : 1),
36new RandomProbabilisticSamplerFilterRule (probability : 0, categoryName : "Program.MyLogger", logLevel : LogLevel.Warning),
41RandomProbabilisticSamplerFilterRule? actualResult = _ruleSelector.Select(rules, "Program.MyLogger", LogLevel.Warning, 1);
55new RandomProbabilisticSamplerFilterRule(probability: 0, logLevel: LogLevel.Warning),
56new RandomProbabilisticSamplerFilterRule(probability : 0, logLevel : LogLevel.Warning, eventId : 2),
57new RandomProbabilisticSamplerFilterRule(probability : 0, logLevel : LogLevel.Warning, eventId : 1),
58new RandomProbabilisticSamplerFilterRule(probability : 0, categoryName : "Program1.MyLogger", logLevel : LogLevel.Warning, eventId : 1),
59new RandomProbabilisticSamplerFilterRule(probability : 0, categoryName : "Program.*MyLogger1", logLevel : LogLevel.Warning, eventId : 1),
60new RandomProbabilisticSamplerFilterRule(probability : 0, categoryName : "Program.MyLogger", logLevel : LogLevel.Warning, eventId : 1), // the best rule
61new RandomProbabilisticSamplerFilterRule(probability: 0, categoryName: "Program.MyLogger*", logLevel: LogLevel.Warning, eventId: 1), // same as the best, but last, and should be selected
65RandomProbabilisticSamplerFilterRule? actualResult = _ruleSelector.Select(rules, "Program.MyLogger", LogLevel.Warning, 1);
78new RandomProbabilisticSamplerFilterRule(probability: 0, logLevel: LogLevel.Warning), // the best rule
83RandomProbabilisticSamplerFilterRule? actualResult = _ruleSelector.Select(rules, "AnyCategory", LogLevel.Warning, 0);
114new RandomProbabilisticSamplerFilterRule(probability: 0, logLevel: LogLevel.Warning, eventId: 2), // the best rule
119RandomProbabilisticSamplerFilterRule? actualResult = _ruleSelector.Select(rules, "AnyCategory", LogLevel.Warning, 2);
171RandomProbabilisticSamplerFilterRule? actualResult = _ruleSelector.Select(rules, "AnyCategory", LogLevel.Warning, 0);
Microsoft.Gen.Logging.Generated.Tests (37)
LogMethodTests.cs (13)
69fakeLogger.ControlLevel(LogLevel.Warning, false);
76LevelTestExtensions.M8(logger, LogLevel.Warning);
336MessageTestExtensions.M6(logger, LogLevel.Warning, "p", "q");
339Assert.Equal(LogLevel.Warning, collector.LatestRecord.Level);
375o.M2(LogLevel.Warning, "param");
381Assert.Equal(LogLevel.Warning, logRecord.Level);
413Assert.Equal(LogLevel.Warning, collector.LatestRecord.Level);
459LevelTestExtensions.M10(logger, LogLevel.Warning);
462Assert.Equal(LogLevel.Warning, collector.LatestRecord.Level);
484Assert.Equal(LogLevel.Warning, collector.LatestRecord.Level);
572EventNameTestExtensions.M1(LogLevel.Warning, logger, "Eight");
578Assert.Equal(LogLevel.Warning, logRecord.Level);
590EventNameTestExtensions.M1(LogLevel.Warning, logger, "Eight");
Microsoft.TemplateEngine.Cli (1)