700 references to Information
aspire (5)
Aspire.Cli.Tests (4)
Aspire.Dashboard (9)
Aspire.Dashboard.Tests (6)
Aspire.Hosting (10)
Aspire.Hosting.Azure.AppContainers (2)
Aspire.Hosting.Azure.AppService (1)
Aspire.Hosting.Docker (6)
Aspire.Hosting.Foundry (2)
Aspire.Hosting.Kubernetes (4)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.Testing.Tests (4)
ResourceLoggerForwarderServiceTests.cs (4)
136log => { Assert.Equal(LogLevel.Information, log.Level); Assert.Equal("1: 2000-12-29T20:59:59.0000000Z Test trace message", log.Message); Assert.Equal("TestApp.AppHost.Resources.myresource", log.Category); },
137log => { Assert.Equal(LogLevel.Information, log.Level); Assert.Equal("2: 2000-12-29T20:59:59.0000000Z Test debug message", log.Message); Assert.Equal("TestApp.AppHost.Resources.myresource", log.Category); },
138log => { Assert.Equal(LogLevel.Information, log.Level); Assert.Equal("3: 2000-12-29T20:59:59.0000000Z Test information message", log.Message); Assert.Equal("TestApp.AppHost.Resources.myresource", log.Category); },
139log => { Assert.Equal(LogLevel.Information, log.Level); Assert.Equal("4: 2000-12-29T20:59:59.0000000Z Test warning message", log.Message); Assert.Equal("TestApp.AppHost.Resources.myresource", log.Category); },
Aspire.Hosting.Tests (20)
Aspire.RabbitMQ.Client (2)
Aspire.RabbitMQ.Client.Tests (2)
Aspire.RabbitMQ.Client.v6.Tests (2)
dotnet (2)
dotnet-format (3)
dotnet-watch (2)
EventHubsConsumer (1)
Microsoft.Arcade.Common (3)
Microsoft.AspNetCore.Authentication (15)
_generated\0\LoggerMessage.g.cs (10)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "RemoteAuthenticationFailed"), "Error from RemoteAuthentication: {ErrorMessage}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
19if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
58global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(7, "AuthenticationSchemeNotAuthenticatedWithFailure"), "{AuthenticationScheme} was not authenticated. Failure message: {FailureMessage}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
67if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
106global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(12, "AuthenticationSchemeChallenged"), "AuthenticationScheme: {AuthenticationScheme} was challenged.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
115if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
122global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(13, "AuthenticationSchemeForbidden"), "AuthenticationScheme: {AuthenticationScheme} was forbidden.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
131if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
186global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(17, "AccessDenied"), "Access was denied by the resource owner or by the remote server.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
195if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggingExtensions.cs (5)
8[LoggerMessage(4, LogLevel.Information, "Error from RemoteAuthentication: {ErrorMessage}.", EventName = "RemoteAuthenticationFailed")]
17[LoggerMessage(7, LogLevel.Information, "{AuthenticationScheme} was not authenticated. Failure message: {FailureMessage}", EventName = "AuthenticationSchemeNotAuthenticatedWithFailure")]
26[LoggerMessage(12, LogLevel.Information, "AuthenticationScheme: {AuthenticationScheme} was challenged.", EventName = "AuthenticationSchemeChallenged")]
29[LoggerMessage(13, LogLevel.Information, "AuthenticationScheme: {AuthenticationScheme} was forbidden.", EventName = "AuthenticationSchemeForbidden")]
41[LoggerMessage(17, LogLevel.Information, "Access was denied by the resource owner or by the remote server.", EventName = "AccessDenied")]
Microsoft.AspNetCore.Authentication.BearerToken (3)
Microsoft.AspNetCore.Authentication.Cookies (6)
Microsoft.AspNetCore.Authorization (3)
Microsoft.AspNetCore.Components.Endpoints (6)
Microsoft.AspNetCore.Components.Server (3)
Microsoft.AspNetCore.Cors (18)
_generated\0\LoggerMessage.g.cs (12)
58global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "PolicySuccess"), "CORS policy execution successful.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
67if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
74global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(5, "PolicyFailure"), "CORS policy execution failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
83if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
90global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "OriginNotAllowed"), "Request origin {origin} does not have permission to access the resource.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
99if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
106global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(7, "AccessControlMethodNotAllowed"), "Request method {accessControlRequestMethod} not allowed in CORS policy.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
115if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
122global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(8, "RequestHeaderNotAllowed"), "Request header '{requestHeader}' not allowed in CORS policy.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
131if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
154global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(10, "NoCorsPolicyFound"), "No CORS policy found for the specified request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
163if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
CORSLoggerExtensions.cs (6)
19[LoggerMessage(4, LogLevel.Information, "CORS policy execution successful.", EventName = "PolicySuccess")]
22[LoggerMessage(5, LogLevel.Information, "CORS policy execution failed.", EventName = "PolicyFailure")]
25[LoggerMessage(6, LogLevel.Information, "Request origin {origin} does not have permission to access the resource.", EventName = "OriginNotAllowed")]
28[LoggerMessage(7, LogLevel.Information, "Request method {accessControlRequestMethod} not allowed in CORS policy.", EventName = "AccessControlMethodNotAllowed")]
31[LoggerMessage(8, LogLevel.Information, "Request header '{requestHeader}' not allowed in CORS policy.", EventName = "RequestHeaderNotAllowed")]
37[LoggerMessage(10, LogLevel.Information, "No CORS policy found for the specified request.", EventName = "NoCorsPolicyFound")]
Microsoft.AspNetCore.DataProtection (33)
_generated\0\LoggerMessage.g.cs (22)
346global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.DateTimeOffset, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(22, "RevokingAllKeysAsOfForReason"), "Revoking all keys as of {RevocationDate:u} for reason '{Reason}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
355if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
554global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Guid, global::System.DateTimeOffset, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(36, "RevokingKeyForReason"), "Revoking key {KeyId:B} at {RevocationDate:u} for reason '{Reason}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
563if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
602global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(39, "WritingDataToFile"), "Writing data to file '{FileName}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
611if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
714global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(45, "UsingEphemeralDataProtectionProvider"), "Using ephemeral data protection provider. Payloads will be undecipherable upon application shutdown.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
723if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
922global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Guid, global::System.DateTimeOffset, global::System.DateTimeOffset, global::System.DateTimeOffset>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(58, "CreatingKey"), "Creating key {KeyId:B} with creation date {CreationDate:u}, activation date {ActivationDate:u}, and expiration date {ExpirationDate:u}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
931if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
954global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(61, "UsingRegistryAsKeyRepositoryWithDPAPI"), "User profile not available. Using '{Name}' as key repository and Windows DPAPI to encrypt keys at rest.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
963if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
970global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(62, "UsingProfileAsKeyRepository"), "User profile is available. Using '{FullName}' as key repository; keys will not be encrypted at rest.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
979if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
986global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(63, "UsingProfileAsKeyRepositoryWithDPAPI"), "User profile is available. Using '{FullName}' as key repository and Windows DPAPI to encrypt keys at rest.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
995if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1002global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(64, "UsingAzureAsKeyRepository"), "Azure Web Sites environment detected. Using '{FullName}' as key repository; keys will not be encrypted at rest.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1011if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1034global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(66, "KeyRingFailedToLoadOnStartup"), "Key ring failed to load during application startup.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1043if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1082global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(62, "UsingReadOnlyKeyConfiguration"), "Enabling read-only key access with repository directory '{Path}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1091if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggingExtensions.cs (11)
106[LoggerMessage(22, LogLevel.Information, "Revoking all keys as of {RevocationDate:u} for reason '{Reason}'.", EventName = "RevokingAllKeysAsOfForReason")]
145[LoggerMessage(36, LogLevel.Information, "Revoking key {KeyId:B} at {RevocationDate:u} for reason '{Reason}'.", EventName = "RevokingKeyForReason")]
154[LoggerMessage(39, LogLevel.Information, "Writing data to file '{FileName}'.", EventName = "WritingDataToFile")]
175[LoggerMessage(45, LogLevel.Information, "Using ephemeral data protection provider. Payloads will be undecipherable upon application shutdown.", EventName = "UsingEphemeralDataProtectionProvider")]
214[LoggerMessage(58, LogLevel.Information, "Creating key {KeyId:B} with creation date {CreationDate:u}, activation date {ActivationDate:u}, and expiration date {ExpirationDate:u}.", EventName = "CreatingKey")]
220[LoggerMessage(61, LogLevel.Information, "User profile not available. Using '{Name}' as key repository and Windows DPAPI to encrypt keys at rest.", EventName = "UsingRegistryAsKeyRepositoryWithDPAPI")]
223[LoggerMessage(62, LogLevel.Information, "User profile is available. Using '{FullName}' as key repository; keys will not be encrypted at rest.", EventName = "UsingProfileAsKeyRepository")]
226[LoggerMessage(63, LogLevel.Information, "User profile is available. Using '{FullName}' as key repository and Windows DPAPI to encrypt keys at rest.", EventName = "UsingProfileAsKeyRepositoryWithDPAPI")]
229[LoggerMessage(64, LogLevel.Information, "Azure Web Sites environment detected. Using '{FullName}' as key repository; keys will not be encrypted at rest.", EventName = "UsingAzureAsKeyRepository")]
235[LoggerMessage(66, LogLevel.Information, "Key ring failed to load during application startup.", EventName = "KeyRingFailedToLoadOnStartup")]
244[LoggerMessage(62, LogLevel.Information, "Enabling read-only key access with repository directory '{Path}'", EventName = "UsingReadOnlyKeyConfiguration")]
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (48)
Buffering\PerIncomingRequestLoggingBuilderExtensionsTests.cs (9)
57new(categoryName: "Program.MyLogger", logLevel: LogLevel.Information, eventId: 1, eventName: "number one"),
58new(logLevel: LogLevel.Information),
77new(categoryName: "Program.MyLogger", logLevel: LogLevel.Information, eventId: 1, eventName: "number one"),
78new(logLevel: LogLevel.Information),
84logLevel: LogLevel.Information, eventId: 1, eventName: "number one"));
85options.Rules.Add(new LogBufferingFilterRule(logLevel: LogLevel.Information));
99new(categoryName: "Program.MyLogger", logLevel: LogLevel.Information, eventId: 1, eventName: "number one"),
100new(logLevel : LogLevel.Information),
104new(logLevel: LogLevel.Information),
Logging\AcceptanceTests.cs (26)
205LogLevel.Information,
224Assert.Equal(LogLevel.Information, logCollector.LatestRecord.Level);
265LogLevel.Information,
284Assert.Equal(LogLevel.Information, logCollector.LatestRecord.Level);
318LogLevel.Information,
337Assert.Equal(LogLevel.Information, logCollector.LatestRecord.Level);
360LogLevel.Information,
392Assert.All(logRecords, x => Assert.Equal(LogLevel.Information, x.Level));
431LogLevel.Information,
454Assert.Equal(LogLevel.Information, lastRecord.Level);
485LogLevel.Information,
500Assert.Equal(LogLevel.Information, logCollector.LatestRecord.Level);
523LogLevel.Information,
542Assert.Equal(LogLevel.Information, logCollector.LatestRecord.Level);
557LogLevel.Information,
573Assert.All(logRecords, x => Assert.Equal(LogLevel.Information, x.Level));
594LogLevel.Information,
611Assert.All(logRecords, x => Assert.Equal(LogLevel.Information, x.Level));
651LogLevel.Information,
659Assert.Equal(LogLevel.Information, logCollector.LatestRecord.Level);
682LogLevel.Information,
700Assert.Equal(LogLevel.Information, logCollector.LatestRecord.Level);
719LogLevel.Information,
734Assert.Equal(LogLevel.Information, logCollector.LatestRecord.Level);
779LogLevel.Information,
956LogLevel.Information,
Logging\AcceptanceTests.Mvc.cs (10)
60LogLevel.Information,
75Assert.Equal(LogLevel.Information, logRecord.Level);
95LogLevel.Information,
110Assert.Equal(LogLevel.Information, logRecord.Level);
134LogLevel.Information,
156Assert.Equal(LogLevel.Information, logRecord.Level);
185LogLevel.Information,
200Assert.Equal(LogLevel.Information, logRecord.Level);
223LogLevel.Information,
241Assert.Equal(LogLevel.Information, logRecord.Level);
Microsoft.AspNetCore.HostFiltering (6)
Microsoft.AspNetCore.Hosting (8)
Microsoft.AspNetCore.Http.Results (30)
_generated\0\LoggerMessage.g.cs (17)
12global::Microsoft.Extensions.Logging.LoggerMessage.Define<string[]>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ChallengeResultExecuting"), "Executing ChallengeResult with authentication schemes ({Schemes}).", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
34global::Microsoft.Extensions.Logging.LoggerMessage.Define<string[]>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ChallengeResultExecuting"), "Executing ChallengeResult with authentication schemes ({Schemes}).", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
56global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "RedirectResultExecuting"), "Executing RedirectResult, redirecting to {Destination}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
65if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
81global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "RedirectToRouteResultExecuting"), "Executing RedirectToRouteResult, redirecting to {Destination} from route {RouteName}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
90if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
106global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, global::System.Security.Claims.ClaimsPrincipal>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "SignInResultExecuting"), "Executing SignInResult with authentication scheme ({Scheme}) and the following principal: {Principal}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
115if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
131global::Microsoft.Extensions.Logging.LoggerMessage.Define<string[]>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "SignOutResultExecuting"), "Executing SignOutResult with authentication schemes ({Schemes}).", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
153global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "WritingResultAsStatusCode"), "Setting HTTP status code {StatusCode}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
162if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
169global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(2, "WritingResultAsContent"), "Write content with HTTP Response ContentType of {ContentType}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
178if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
185global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(3, "WritingResultAsJson"), "Writing value of type '{Type}' as Json.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
194if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
201global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(5, "WritingResultAsFileWithNoFileName"), "Sending file with download name '{FileDownloadName}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
210if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
Microsoft.AspNetCore.HttpLogging (13)
_generated\0\LoggerMessage.g.cs (6)
67global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(3, "RequestBody"), "RequestBody: {Body}{Status}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
76if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
83global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "ResponseBody"), "ResponseBody: {Body}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
92if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
147global::Microsoft.Extensions.Logging.LoggerMessage.Define<double>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(8, "Duration"), "Duration: {Duration}ms", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
156if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
HttpLoggingExtensions.cs (6)
11LogLevel.Information,
17LogLevel.Information,
23[LoggerMessage(3, LogLevel.Information, "RequestBody: {Body}{Status}", EventName = "RequestBody")]
26[LoggerMessage(4, LogLevel.Information, "ResponseBody: {Body}", EventName = "ResponseBody")]
38[LoggerMessage(8, LogLevel.Information, "Duration: {Duration}ms", EventName = "Duration")]
42LogLevel.Information,
Microsoft.AspNetCore.Mvc.Core (76)
_generated\0\LoggerMessage.g.cs (36)
117global::Microsoft.Extensions.Logging.LoggerMessage.Define<string[]>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ChallengeResultExecuting"), "Executing ChallengeResult with authentication schemes ({Schemes}).", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
392global::Microsoft.Extensions.Logging.LoggerMessage.Define<string[]>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ForbidResultExecuting"), "Executing ForbidResult with authentication schemes ({Schemes}).", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
649global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ContentResultExecuting"), "Executing ContentResult with HTTP Response ContentType of {ContentType}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
658if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
700global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, global::Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(101, "ActionMethodExecuting"), "Executing action method {ActionName} - Validation state: {ValidationState}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
726global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?, double>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(103, "ActionMethodExecuted"), "Executed action method {ActionName}, returned result {ActionResult} in {ElapsedMilliseconds}ms.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
748global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "NoActionDescriptors"), "No action descriptors found. This may indicate an incorrectly configured application or missing application parts. To learn more, visit https://aka.ms/aspnet/mvc/app-parts", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
757if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
923global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(2, "ExecutingFileResultWithNoFileName"), "Executing {FileResultType}, sending file with download name '{FileDownloadName}' ...", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
961global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ExecutingFileResultWithNoFileName"), "Executing {FileResultType}, sending file with download name '{FileDownloadName}' ...", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
999global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "LocalRedirectResultExecuting"), "Executing LocalRedirectResult, redirecting to {Destination}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1008if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1049global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ObjectResultExecuting"), "Executing {ObjectResultType}, writing value of type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1084global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ExecutingFileResult"), "Executing {FileResultType}, sending file '{FileDownloadPath}' with download name '{FileDownloadName}' ...", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1122global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "RedirectResultExecuting"), "Executing RedirectResult, redirecting to {Destination}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1131if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1147global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "RedirectToActionResultExecuting"), "Executing RedirectResult, redirecting to {Destination}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1156if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1172global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "RedirectToPageResultExecuting"), "Executing RedirectToPageResult, redirecting to {Page}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1181if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1197global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "RedirectToRouteResultExecuting"), "Executing RedirectToRouteResult, redirecting to {Destination} from route {RouteName}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1206if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1222global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(101, "ActionExecuting"), "Route matched with {RouteData}. Executing action {ActionName}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1235global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::System.Reflection.MethodInfo, string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(102, "ControllerActionExecuting"), "Route matched with {RouteData}. Executing controller action with signature {MethodInfo} on controller {Controller} ({AssemblyName}).", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1248global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(103, "PageExecuting"), "Route matched with {RouteData}. Executing page {PageName}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1261global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(3, "AuthorizationFailure"), "Authorization failed for the request at filter '{AuthorizationFilter}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1270if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1325global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, double>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(104, "PageExecuted"), "Executed page {PageName} in {ElapsedMilliseconds}ms", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1338global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, double>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(105, "ActionExecuted"), "Executed action {ActionName} in {ElapsedMilliseconds}ms", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1360global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "JsonResultExecuting"), "Executing JsonResult, writing value of type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1382global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ExecutingFileResult"), "Executing {FileResultType}, sending file '{FileDownloadPath}' with download name '{FileDownloadName}' ...", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
2295global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, global::System.Security.Claims.ClaimsPrincipal>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "SignInResultExecuting"), "Executing SignInResult with authentication scheme ({Scheme}) and the following principal: {Principal}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
2304if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
2320global::Microsoft.Extensions.Logging.LoggerMessage.Define<string[]>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "SignOutResultExecuting"), "Executing SignOutResult with authentication schemes ({Schemes}).", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
2342global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "HttpStatusCodeResultExecuting"), "Executing StatusCodeResult, setting HTTP status code {StatusCode}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
2351if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
Infrastructure\ResourceInvoker.Log.cs (8)
22if (logger.IsEnabled(LogLevel.Information))
67[LoggerMessage(101, LogLevel.Information, "Route matched with {RouteData}. Executing action {ActionName}", EventName = "ActionExecuting", SkipEnabledCheck = true)]
70[LoggerMessage(102, LogLevel.Information, "Route matched with {RouteData}. Executing controller action with signature {MethodInfo} on controller {Controller} ({AssemblyName}).", EventName = "ControllerActionExecuting", SkipEnabledCheck = true)]
73[LoggerMessage(103, LogLevel.Information, "Route matched with {RouteData}. Executing page {PageName}", EventName = "PageExecuting", SkipEnabledCheck = true)]
76[LoggerMessage(3, LogLevel.Information, "Authorization failed for the request at filter '{AuthorizationFilter}'.", EventName = "AuthorizationFailure")]
101if (logger.IsEnabled(LogLevel.Information))
114[LoggerMessage(104, LogLevel.Information, "Executed page {PageName} in {ElapsedMilliseconds}ms", EventName = "PageExecuted", SkipEnabledCheck = true)]
117[LoggerMessage(105, LogLevel.Information, "Executed action {ActionName} in {ElapsedMilliseconds}ms", EventName = "ActionExecuted", SkipEnabledCheck = true)]
Microsoft.AspNetCore.Mvc.RazorPages (13)
_generated\0\LoggerMessage.g.cs (5)
87global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(105, "ExecutingHandlerMethod"), "Executing handler method {HandlerName} - ModelState is {ValidationState}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
113global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(107, "ExecutingImplicitHandlerMethod"), "Executing an implicit handler method - ModelState is {ValidationState}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
126global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(108, "ExecutedHandlerMethod"), "Executed handler method {HandlerName}, returned result {ActionResult}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
135if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
142global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(109, "ExecutedImplicitHandlerMethod"), "Executed an implicit handler method, returned result {ActionResult}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
PageLoggerExtensions.cs (8)
79[LoggerMessage(105, LogLevel.Information, "Executing handler method {HandlerName} - ModelState is {ValidationState}", EventName = "ExecutingHandlerMethod", SkipEnabledCheck = true)]
87if (logger.IsEnabled(LogLevel.Information))
108[LoggerMessage(107, LogLevel.Information, "Executing an implicit handler method - ModelState is {ValidationState}", EventName = "ExecutingImplicitHandlerMethod", SkipEnabledCheck = true)]
113if (logger.IsEnabled(LogLevel.Information))
121[LoggerMessage(108, LogLevel.Information, "Executed handler method {HandlerName}, returned result {ActionResult}.", EventName = "ExecutedHandlerMethod")]
126if (logger.IsEnabled(LogLevel.Information))
133[LoggerMessage(109, LogLevel.Information, "Executed an implicit handler method, returned result {ActionResult}.", EventName = "ExecutedImplicitHandlerMethod", SkipEnabledCheck = true)]
138if (logger.IsEnabled(LogLevel.Information))
Microsoft.AspNetCore.Mvc.ViewFeatures (21)
_generated\0\LoggerMessage.g.cs (14)
12global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "AntiforgeryTokenInvalid"), "Antiforgery token validation failed. {Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
21if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
129global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "AntiforgeryTokenInvalid"), "Antiforgery token validation failed. {Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
138if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
170global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "PartialViewResultExecuting"), "Executing PartialViewResult, running view {PartialViewName}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
179if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
218global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, double>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "PartialViewResultExecuted"), "Executed PartialViewResult - view {PartialViewName} executed in {ElapsedMilliseconds}ms.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
227if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
243global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ViewComponentResultExecuting"), "Executing ViewComponentResult, running {ViewComponentName}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
252if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
268global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ViewResultExecuting"), "Executing ViewResult, running view {ViewName}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
277if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
316global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, double>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "ViewResultExecuted"), "Executed ViewResult - view {ViewName} executed in {ElapsedMilliseconds}ms.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
325if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
Microsoft.AspNetCore.OutputCaching (18)
_generated\0\LoggerMessage.g.cs (12)
58global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "NotModifiedServed"), "The content requested has not been modified.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
67if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
74global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(5, "CachedResponseServed"), "Serving response from cache.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
83if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
90global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "GatewayTimeoutServed"), "No cached response available for this request and the 'only-if-cached' cache directive was specified.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
99if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
106global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(7, "NoResponseServed"), "No cached response available for this request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
115if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
122global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(8, "ResponseCached"), "The response has been cached.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
131if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
138global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(9, "ResponseNotCached"), "The response could not be cached for this request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
147if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggerExtensions.cs (6)
25[LoggerMessage(4, LogLevel.Information, "The content requested has not been modified.", EventName = "NotModifiedServed")]
28[LoggerMessage(5, LogLevel.Information, "Serving response from cache.", EventName = "CachedResponseServed")]
31[LoggerMessage(6, LogLevel.Information, "No cached response available for this request and the 'only-if-cached' cache directive was specified.",
35[LoggerMessage(7, LogLevel.Information, "No cached response available for this request.", EventName = "NoResponseServed")]
38[LoggerMessage(8, LogLevel.Information, "The response has been cached.", EventName = "ResponseCached")]
41[LoggerMessage(9, LogLevel.Information, "The response could not be cached for this request.", EventName = "ResponseNotCached")]
Microsoft.AspNetCore.ResponseCaching (18)
_generated\0\LoggerMessage.g.cs (12)
330global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(21, "NotModifiedServed"), "The content requested has not been modified.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
339if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
346global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(22, "CachedResponseServed"), "Serving response from cache.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
355if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
362global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(23, "GatewayTimeoutServed"), "No cached response available for this request and the 'only-if-cached' cache directive was specified.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
371if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
378global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(24, "NoResponseServed"), "No cached response available for this request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
387if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
410global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(26, "ResponseCached"), "The response has been cached.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
419if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
426global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(27, "ResponseNotCached"), "The response could not be cached for this request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
435if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggerExtensions.cs (6)
92[LoggerMessage(21, LogLevel.Information, "The content requested has not been modified.", EventName = "NotModifiedServed")]
95[LoggerMessage(22, LogLevel.Information, "Serving response from cache.", EventName = "CachedResponseServed")]
98[LoggerMessage(23, LogLevel.Information, "No cached response available for this request and the 'only-if-cached' cache directive was specified.",
102[LoggerMessage(24, LogLevel.Information, "No cached response available for this request.", EventName = "NoResponseServed")]
108[LoggerMessage(26, LogLevel.Information, "The response has been cached.", EventName = "ResponseCached")]
111[LoggerMessage(27, LogLevel.Information, "The response could not be cached for this request.", EventName = "ResponseNotCached")]
Microsoft.AspNetCore.Rewrite (15)
_generated\0\LoggerMessage.g.cs (10)
122global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(8, "RedirectedToHttps"), "Request redirected to HTTPS", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
131if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
138global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(13, "RedirectedToWww"), "Request redirected to www", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
147if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
154global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(14, "RedirectedToNonWww"), "Request redirected to root domain from www subdomain", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
163if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
170global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(9, "RedirectedRequest"), "Request was redirected to {redirectedUrl}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
179if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
186global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(10, "RewritetenRequest"), "Request was rewritten to {rewrittenUrl}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
195if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
Extensions\RewriteMiddlewareLoggingExtensions.cs (5)
31[LoggerMessage(8, LogLevel.Information, "Request redirected to HTTPS", EventName = "RedirectedToHttps")]
34[LoggerMessage(13, LogLevel.Information, "Request redirected to www", EventName = "RedirectedToWww")]
37[LoggerMessage(14, LogLevel.Information, "Request redirected to root domain from www subdomain", EventName = "RedirectedToNonWww")]
39[LoggerMessage(9, LogLevel.Information, "Request was redirected to {redirectedUrl}", EventName = "RedirectedRequest")]
42[LoggerMessage(10, LogLevel.Information, "Request was rewritten to {rewrittenUrl}", EventName = "RewritetenRequest")]
Microsoft.AspNetCore.Routing (17)
_generated\0\LoggerMessage.g.cs (10)
220global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Http.Endpoint>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(0, "ExecutingEndpoint"), "Executing endpoint '{EndpointName}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
229if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
236global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Http.Endpoint>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "ExecutedEndpoint"), "Executed endpoint '{EndpointName}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
245if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
309global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Http.Endpoint>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "ExecutingEndpoint"), "The endpoint '{EndpointName}' is being executed without running additional middleware.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
318if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
325global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Http.Endpoint>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(5, "ExecutedEndpoint"), "The endpoint '{EndpointName}' has been executed without running additional middleware.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
334if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
341global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Http.Endpoint>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "ShortCircuitedEndpoint"), "The endpoint '{EndpointName}' is being short circuited without running additional middleware or producing a response.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
350if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
Microsoft.AspNetCore.Server.Kestrel.Core (29)
_generated\0\LoggerMessage.g.cs (14)
555global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(34, "ApplicationAbortedConnection"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": the application aborted the connection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
564if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
686global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(32, "RequestBodyNotEntirelyRead"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": the application completed without reading the entire request body.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
695if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
702global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(33, "RequestBodyDrainTimedOut"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": automatic draining of the request body timed out after taking over 5 seconds.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
711if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
900global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(38, "HPackEncodingError"), "Connection id \"{ConnectionId}\": HPACK encoding error while encoding headers for stream ID {StreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
909if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1256global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, long>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(52, "QPackEncodingError"), "Connection id \"{ConnectionId}\": QPACK encoding error while encoding headers for stream ID {StreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1265if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1509global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "Http2DefaultCiphersInsufficient"), "HTTP/2 over TLS is not supported on Windows versions older than Windows 10 and Windows Server 2016 due to incompatible ciphers or missing ALPN support. Falling back to HTTP/1.1 instead.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1518if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
1589global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(9, "NoSubjectAlternativeName"), "Certificate with thumbprint {Thumbprint} lacks the subjectAlternativeName (SAN) extension and may not be accepted by browsers.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1598if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
Microsoft.AspNetCore.Session (15)
_generated\0\LoggerMessage.g.cs (9)
26global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(2, "AccessingExpiredSession"), "Accessing expired session, Key:{sessionKey}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
35if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
42global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(3, "SessionStarted"), "Session started; Key:{sessionKey}, Id:{sessionId}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
145global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(10, "SessionCommitCanceled"), "Committing the session was canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
154if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
177global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(12, "SessionRefreshCanceled"), "Refreshing the session was canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
186if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
193global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(13, "SessionCommitNotAvailable"), "Session cannot be committed since it is unavailable.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
202if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggingExtensions.cs (5)
11[LoggerMessage(2, LogLevel.Information, "Accessing expired session, Key:{sessionKey}", EventName = "AccessingExpiredSession")]
14[LoggerMessage(3, LogLevel.Information, "Session started; Key:{sessionKey}, Id:{sessionId}", EventName = "SessionStarted", SkipEnabledCheck = true)]
35[LoggerMessage(10, LogLevel.Information, "Committing the session was canceled.", EventName = "SessionCommitCanceled")]
41[LoggerMessage(12, LogLevel.Information, "Refreshing the session was canceled.", EventName = "SessionRefreshCanceled")]
44[LoggerMessage(13, LogLevel.Information, "Session cannot be committed since it is unavailable.", EventName = "SessionCommitNotAvailable")]
Microsoft.AspNetCore.StaticAssets (12)
_generated\0\LoggerMessage.g.cs (8)
51global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(2, "FileServed"), "Sending file. Request path: '{VirtualPath}'. Physical path: '{PhysicalPath}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
60if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
131global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "FileNotModified"), "The file {Path} was not modified", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
140if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
147global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(7, "PreconditionFailed"), "Precondition for {Path} failed", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
156if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
195global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.Extensions.Primitives.StringValues, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(10, "SendingFileRange"), "Sending {Range} of file {Path}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
204if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggerExtensions.cs (4)
14[LoggerMessage(2, LogLevel.Information, "Sending file. Request path: '{VirtualPath}'. Physical path: '{PhysicalPath}'", EventName = "FileServed")]
38[LoggerMessage(6, LogLevel.Information, "The file {Path} was not modified", EventName = "FileNotModified")]
41[LoggerMessage(7, LogLevel.Information, "Precondition for {Path} failed", EventName = "PreconditionFailed")]
50[LoggerMessage(10, LogLevel.Information, "Sending {Range} of file {Path}", EventName = "SendingFileRange")]
Microsoft.AspNetCore.StaticFiles (12)
_generated\0\LoggerMessage.g.cs (8)
26global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(2, "FileServed"), "Sending file. Request path: '{VirtualPath}'. Physical path: '{PhysicalPath}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
35if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
106global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "FileNotModified"), "The file {Path} was not modified", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
115if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
122global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(7, "PreconditionFailed"), "Precondition for {Path} failed", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
131if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
170global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.Extensions.Primitives.StringValues, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(10, "SendingFileRange"), "Sending {Range} of file {Path}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
179if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggerExtensions.cs (4)
17[LoggerMessage(2, LogLevel.Information, "Sending file. Request path: '{VirtualPath}'. Physical path: '{PhysicalPath}'", EventName = "FileServed")]
41[LoggerMessage(6, LogLevel.Information, "The file {Path} was not modified", EventName = "FileNotModified")]
44[LoggerMessage(7, LogLevel.Information, "Precondition for {Path} failed", EventName = "PreconditionFailed")]
53[LoggerMessage(10, LogLevel.Information, "Sending {Range} of file {Path}", EventName = "SendingFileRange")]
Microsoft.DotNet.HotReload.Watch (21)
UI\IReporter.cs (19)
193public static readonly MessageDescriptor<None> ProjectRelaunching = Create("Relaunching ...", Emoji.Watch, LogLevel.Information);
198public static readonly MessageDescriptor<None> WaitingForChanges = Create("Waiting for changes", Emoji.Watch, LogLevel.Information);
200public static readonly MessageDescriptor<long> ManagedCodeChangesApplied = Create<long>("C# and Razor changes applied in {0}ms.", Emoji.HotReload, LogLevel.Information);
201public static readonly MessageDescriptor<long> StaticAssetsChangesApplied = Create<long>("Static asset changes applied in {0}ms.", Emoji.HotReload, LogLevel.Information);
216public static readonly MessageDescriptor<None> RestartInProgress = Create("Restart in progress.", Emoji.Restart, LogLevel.Information);
217public static readonly MessageDescriptor<None> RestartRequested = Create("Restart requested.", Emoji.Restart, LogLevel.Information);
218public static readonly MessageDescriptor<None> Restarting = Create("Restarting.", Emoji.Restart, LogLevel.Information);
219public static readonly MessageDescriptor<None> ShutdownRequested = Create("Shutdown requested. Press Ctrl+C again to force exit.", Emoji.Stop, LogLevel.Information);
240public static readonly MessageDescriptor<None> RestartingApplicationToApplyChanges = Create("Restarting application to apply changes ...", Emoji.Default, LogLevel.Information);
241public static readonly MessageDescriptor<None> RestartingApplication = Create("Restarting application ...", Emoji.Default, LogLevel.Information);
248public static readonly MessageDescriptor<None> NoManagedCodeChangesToApply = Create("No managed code changes to apply.", Emoji.Watch, LogLevel.Information);
249public static readonly MessageDescriptor<None> Exited = Create("Exited", Emoji.Watch, LogLevel.Information);
263public static readonly MessageDescriptor<None> HotReloadSuspended = Create("Hot reload suspended. To continue hot reload, press \"Ctrl + R\".", Emoji.HotReload, LogLevel.Information);
264public static readonly MessageDescriptor<None> UnableToApplyChanges = Create("Unable to apply changes due to compilation errors.", Emoji.HotReload, LogLevel.Information);
265public static readonly MessageDescriptor<None> RestartNeededToApplyChanges = Create("Restart is needed to apply the changes.", Emoji.HotReload, LogLevel.Information);
266public static readonly MessageDescriptor<None> HotReloadEnabled = Create("Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.", Emoji.HotReload, LogLevel.Information);
269public static readonly MessageDescriptor<None> PressCtrlRToRestart = Create("Press Ctrl+R to restart.", Emoji.LightBulb, LogLevel.Information);
277public static readonly MessageDescriptor<None> LoadingProjects = Create("Loading projects ...", Emoji.Watch, LogLevel.Information);
278public static readonly MessageDescriptor<(int, double)> LoadedProjects = Create<(int, double)>("Loaded {0} project(s) in {1:0.0}s.", Emoji.Watch, LogLevel.Information);
Microsoft.Extensions.AI.Tests (8)
Microsoft.Extensions.DataIngestion (6)
Log.cs (6)
14[LoggerMessage(0, LogLevel.Information, "Starting to process files in directory '{directory}' with search pattern '{searchPattern}' and search option '{searchOption}'.")]
17[LoggerMessage(1, LogLevel.Information, "Processing {fileCount} files.")]
20[LoggerMessage(2, LogLevel.Information, "Reading file '{filePath}' using '{reader}'.")]
23[LoggerMessage(3, LogLevel.Information, "Read document '{documentId}'.")]
26[LoggerMessage(4, LogLevel.Information, "Writing chunks using {writer}.")]
29[LoggerMessage(5, LogLevel.Information, "Wrote chunks for document '{documentId}'.")]
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (4)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Hosting.Systemd (1)
Microsoft.Extensions.Hosting.Testing (1)
Microsoft.Extensions.Hosting.WindowsServices (1)
Microsoft.Extensions.Http (7)
Microsoft.Extensions.Http.Diagnostics (2)
Microsoft.Extensions.Http.Diagnostics.Tests (4)
Microsoft.Extensions.Logging (3)
Microsoft.Extensions.Logging.Abstractions (5)
LoggerExtensions.cs (4)
172logger.Log(LogLevel.Information, eventId, exception, message, args);
189logger.Log(LogLevel.Information, eventId, message, args);
206logger.Log(LogLevel.Information, exception, message, args);
222logger.Log(LogLevel.Information, message, args);
Microsoft.Extensions.Logging.Console (7)
Microsoft.Extensions.Logging.EventLog (2)
Microsoft.Extensions.Logging.EventSource (2)
Microsoft.Extensions.Logging.MSBuild (2)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.ML (1)
Microsoft.Extensions.Telemetry.Tests (31)
Buffering\GlobalBufferLoggerBuilderExtensionsTests.cs (5)
48new ("Program.MyLogger", LogLevel.Information, 1, "number one", [new("region", "westus2"), new ("priority", 1)]),
49new (logLevel: LogLevel.Information),
78new(categoryName: "Program.MyLogger", logLevel: LogLevel.Information, eventId: 1, eventName: "number one"),
79new(logLevel : LogLevel.Information),
83new(logLevel: LogLevel.Information),
Sampling\LogSamplingRuleSelectorTests.cs (9)
24new RandomProbabilisticSamplerFilterRule (probability: 0, logLevel: LogLevel.Information, eventId: 1 ),
25new RandomProbabilisticSamplerFilterRule (probability: 0, logLevel: LogLevel.Information, eventId: 1 ),
53new RandomProbabilisticSamplerFilterRule(probability : 0, logLevel : LogLevel.Information, eventId : 1),
54new RandomProbabilisticSamplerFilterRule(probability : 0, logLevel : LogLevel.Information, eventId : 1),
77new RandomProbabilisticSamplerFilterRule(probability: 0, logLevel: LogLevel.Information),
101RandomProbabilisticSamplerFilterRule? actualResult = _ruleSelector.Select(rules, "AnyCategory", LogLevel.Information, 2);
113new RandomProbabilisticSamplerFilterRule(probability: 0, logLevel: LogLevel.Information, eventId: 1),
137RandomProbabilisticSamplerFilterRule? actualResult = _ruleSelector.Select(rules, "Program.MyLogger", LogLevel.Information, 0);
154RandomProbabilisticSamplerFilterRule? actualResult = _ruleSelector.Select(rules, "AnyCategory", LogLevel.Information, 0);
Sampling\SamplingLoggerBuilderExtensionsTests.cs (8)
57new RandomProbabilisticSamplerFilterRule (probability: 1.0, categoryName: "Program.MyLogger", logLevel: LogLevel.Information, eventId: 1, eventName: "number one"),
58new RandomProbabilisticSamplerFilterRule (probability : 0.01, logLevel : LogLevel.Information),
81new(probability: 1.0, categoryName: "Program.MyLogger", logLevel: LogLevel.Information, eventId: 1, eventName: "number one"),
82new(probability : 0.01, logLevel : LogLevel.Information),
87new(probability: 0, logLevel: LogLevel.Information),
88new(probability : 0, logLevel : LogLevel.Information),
214new RandomProbabilisticSamplerFilterRule (probability: 1.0, categoryName: "Program.MyLogger", logLevel: LogLevel.Information, eventId: 1, eventName: "number one"),
215new RandomProbabilisticSamplerFilterRule (probability : 0.01, logLevel : LogLevel.Information),
Microsoft.Gen.Logging.Generated.Tests (54)
LogMethodTests.cs (11)
68fakeLogger.ControlLevel(LogLevel.Information, false);
75LevelTestExtensions.M8(logger, LogLevel.Information);
279ConstructorVariationsTestExtensions.M7(logger, LogLevel.Information, "Seven");
285Assert.Equal(LogLevel.Information, logRecord.Level);
406Assert.Equal(LogLevel.Information, collector.LatestRecord.Level);
452LevelTestExtensions.M9(LogLevel.Information, logger);
455Assert.Equal(LogLevel.Information, collector.LatestRecord.Level);
488instance.NoParamsWithLevel(LogLevel.Information);
491Assert.Equal(LogLevel.Information, collector.LatestRecord.Level);
737fakeLogger.ControlLevel(LogLevel.Information, false);
742SkipEnabledCheckTestExtensions.LoggerMethodWithFalseSkipEnabledCheck(logger, LogLevel.Information, "p1");
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesExtensions.cs (7)
228[LoggerMessage(1, LogLevel.Information, "Both {StringProperty} and {ComplexParam} as params")]
231[LoggerMessage(2, LogLevel.Information, "Testing non-nullable struct here...")]
234[LoggerMessage(3, LogLevel.Information, "Testing nullable struct here...")]
237[LoggerMessage(4, LogLevel.Information, "Testing explicit nullable struct here...")]
240[LoggerMessage(5, LogLevel.Information, "Testing nullable property within class here...")]
246[LoggerMessage(6, LogLevel.Information, "Testing interface-typed argument here...")]
249[LoggerMessage(7, LogLevel.Information, "Testing logging a complex object residing in another assembly...")]
Microsoft.TemplateEngine.Cli (2)
Stress.ApiService (1)
TestProject.WorkerA (1)