700 references to Information
aspire (5)
Diagnostics\FileLoggerProvider.cs (1)
190LogLevel.Information => "INFO",
Interaction\ExtensionInteractionService.cs (2)
398var result = _extensionTaskChannel.Writer.TryWrite(() => Backchannel.LogMessageAsync(LogLevel.Information, markdown, _cancellationToken)); 406var result = _extensionTaskChannel.Writer.TryWrite(() => Backchannel.LogMessageAsync(LogLevel.Information, markup.RemoveSpectreFormatting(), _cancellationToken));
Interaction\SpectreConsoleLoggerProvider.cs (1)
70LogLevel.Information => "info",
Utils\OutputCollector.cs (1)
63_fileLogger?.WriteLog(DateTimeOffset.UtcNow, stream == OutputLineStream.StdErr ? LogLevel.Error : LogLevel.Information, _category, line);
Aspire.Cli.Tests (4)
Commands\RunCommandTests.cs (2)
266LogLevel = LogLevel.Information, 1514LogLevel = LogLevel.Information,
Interaction\SpectreConsoleLoggerProviderTests.cs (2)
36Assert.True(aspireLogger.IsEnabled(LogLevel.Information)); 40Assert.False(systemLogger.IsEnabled(LogLevel.Information));
Aspire.Dashboard (9)
Components\Pages\StructuredLogs.razor.cs (1)
210new SelectViewModel<LogLevel?> { Id = LogLevel.Information, Name = "Information" },
DashboardWebApplication.cs (4)
148builder.Logging.AddFilter("Grpc", LogLevel.Information); 149builder.Logging.AddFilter("Aspire.Dashboard.Authentication", LogLevel.Information); 150builder.Logging.AddFilter("Aspire.Dashboard.Otlp", LogLevel.Information); 151builder.Logging.AddFilter("Microsoft", LogLevel.Information);
Otlp\Model\OtlpLogEntry.cs (4)
107SeverityNumberProto.Info => LogLevel.Information, 108SeverityNumberProto.Info2 => LogLevel.Information, 109SeverityNumberProto.Info3 => LogLevel.Information, 110SeverityNumberProto.Info4 => LogLevel.Information,
Aspire.Dashboard.Tests (6)
Integration\FrontendBrowserTokenAuthTests.cs (1)
170var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList();
Integration\OtlpHttpJsonTests.cs (2)
503Assert.Equal(LogLevel.Information, log.Severity); 579Assert.Equal(LogLevel.Information, log.Severity);
Integration\StartupTests.cs (3)
685var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 753var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 900var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList();
Aspire.Hosting (10)
Ats\LoggingExports.cs (2)
127"information" or "info" => LogLevel.Information, 132_ => LogLevel.Information
Dashboard\DashboardEventHandlers.cs (1)
854var level = logLine.IsErrorMessage ? LogLevel.Error : LogLevel.Information;
Dcp\DcpLogParser.cs (2)
27logLevel = LogLevel.Information; 74logLevel = LogLevel.Information;
DistributedApplicationBuilder.cs (2)
541"info" or "information" => LogLevel.Information, 545_ => LogLevel.Information
Pipelines\DistributedApplicationPipeline.cs (1)
1059context.ReportingStep.Log(LogLevel.Information, sb.ToString());
Pipelines\PipelineLoggingOptions.cs (1)
16public LogLevel MinimumLogLevel { get; set; } = LogLevel.Information;
ResourceLoggerForwarderService.cs (1)
71var logLevel = line.IsErrorMessage ? LogLevel.Error : LogLevel.Information;
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppResource.cs (2)
56ctx.ReportingStep.Log(LogLevel.Information, new MarkdownString($"Successfully deployed **{targetResource.Name}** to [{endpoint}]({endpoint})")); 61ctx.ReportingStep.Log(LogLevel.Information, new MarkdownString($"Successfully deployed **{targetResource.Name}** to Azure Container Apps environment **{containerAppEnv.Name}**. No public endpoints were configured."));
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebSiteResource.cs (1)
60ctx.ReportingStep.Log(LogLevel.Information, new MarkdownString($"Successfully deployed **{targetResource.Name}** to [{endpoint}]({endpoint})"));
Aspire.Hosting.Docker (6)
DockerComposePublisherLoggerExtensions.cs (3)
19[LoggerMessage(LogLevel.Information, "{Message}")] 22[LoggerMessage(LogLevel.Information, "Generating Compose output")] 25[LoggerMessage(LogLevel.Information, "No resources found in the model.")]
DockerComposeServiceResource.cs (3)
334context.ReportingStep.Log(LogLevel.Information, 349context.ReportingStep.Log(LogLevel.Information, new MarkdownString($"Successfully deployed **{TargetResource.Name}** to {endpointList}.")); 355context.ReportingStep.Log(LogLevel.Information,
Aspire.Hosting.Foundry (2)
HostedAgent\AzureHostedAgentResource.cs (1)
45ctx.ReportingStep.Log(LogLevel.Information, $"Successfully deployed **{Name}** as Hosted Agent (version {version})", enableMarkdown: true);
HostedAgent\AzurePromptAgentResource.cs (1)
46ctx.ReportingStep.Log(LogLevel.Information, $"Successfully deployed **{Name}** as Prompt Agent (version {version})", enableMarkdown: true);
Aspire.Hosting.Kubernetes (4)
KubernetesPublisherLoggerExtensions.cs (4)
13[LoggerMessage(LogLevel.Information, "{Message}")] 16[LoggerMessage(LogLevel.Information, "Generating Kubernetes output")] 19[LoggerMessage(LogLevel.Information, "No resources found in the model.")] 22[LoggerMessage(LogLevel.Information, "Successfully generated Kubernetes output in '{OutputPath}'")]
Aspire.Hosting.RemoteHost.Tests (1)
AtsExportsTests.cs (1)
62Assert.Equal(LogLevel.Information, result);
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)
Backchannel\BackchannelLoggerProviderTests.cs (1)
28Assert.Equal(LogLevel.Information, snapshot[0].LogLevel);
Dashboard\DashboardLifecycleHookTests.cs (1)
206b.SetMinimumLevel(LogLevel.Information);
Dashboard\DashboardResourceTests.cs (1)
555[InlineData(LogLevel.Information)]
Dcp\DcpLogParserTests.cs (6)
26Assert.Equal(LogLevel.Information, logLevel); 111Assert.Equal(LogLevel.Information, logLevel); 127Assert.Equal(LogLevel.Information, logLevel); 186Assert.Equal(LogLevel.Information, logLevel); 216Assert.Equal(LogLevel.Information, logLevel); 223[InlineData("info", LogLevel.Information)]
Pipelines\DistributedApplicationPipelineTests.cs (7)
1159Assert.Contains(reporter.LoggedMessages, log => log.Message == "Test log message from pipeline step" && log.LogLevel == LogLevel.Information); 1215Assert.Contains(reporter.LoggedMessages, log => log.Message == "Message from step 1" && log.LogLevel == LogLevel.Information); 1216Assert.Contains(reporter.LoggedMessages, log => log.Message == "Message from step 2" && log.LogLevel == LogLevel.Information); 1255Assert.Contains(reporter.LoggedMessages, log => log.Message == "About to fail" && log.LogLevel == LogLevel.Information); 1316Assert.Contains(reporter.LoggedMessages, log => log.Message.Contains("Executing step 1") && log.LogLevel == LogLevel.Information); 1317Assert.Contains(reporter.LoggedMessages, log => log.Message.Contains("Executing step 2") && log.LogLevel == LogLevel.Information); 1318Assert.Contains(reporter.LoggedMessages, log => log.Message.Contains("Executing step 3") && log.LogLevel == LogLevel.Information);
Pipelines\PipelineLoggerProviderTests.cs (2)
115Assert.Equal(LogLevel.Information, logEntry1.Level); 120Assert.Equal(LogLevel.Information, logEntry2.Level);
Publishing\PipelineActivityReporterTests.cs (2)
954var logLevel = LogLevel.Information; 994step.Log(LogLevel.Information, "Test log");
Aspire.RabbitMQ.Client (2)
src\Components\Aspire.RabbitMQ.Client\RabbitMQEventSourceLogForwarder.cs (2)
65EventLevel.Informational => LogLevel.Information, 68EventLevel.LogAlways => LogLevel.Information,
Aspire.RabbitMQ.Client.Tests (2)
AspireRabbitMQLoggingTests.cs (2)
74Assert.Contains(logs, l => l.Level == LogLevel.Information && l.Message == "Performing automatic recovery"); 95Assert.Equal(LogLevel.Information, logs[0].Level);
Aspire.RabbitMQ.Client.v6.Tests (2)
tests\Aspire.RabbitMQ.Client.Tests\AspireRabbitMQLoggingTests.cs (2)
74Assert.Contains(logs, l => l.Level == LogLevel.Information && l.Message == "Performing automatic recovery"); 95Assert.Equal(LogLevel.Information, logs[0].Level);
dotnet (2)
Extensions\CommonOptionsExtensions.cs (2)
75LogLevel logLevel = LogLevel.Information; 92logLevel = LogLevel.Information;
dotnet-format (3)
Commands\FormatCommandCommon.cs (2)
290"n" or "normal" => LogLevel.Information, 293_ => LogLevel.Information,
Logging\SimpleConsoleLogger.cs (1)
25[LogLevel.Information] = ConsoleColor.White,
dotnet-watch (2)
CommandLine\CommandLineOptions.cs (1)
147: LogLevel.Information;
Program.cs (1)
75var parsingLoggerFactory = new LoggerFactory(reporter, environmentOptions.CliLogLevel ?? LogLevel.Information);
EventHubsConsumer (1)
Consumer.cs (1)
24void LogString(string message) => logger.Log(LogLevel.Information, 0, message, null, (s, _) => s);
Microsoft.Arcade.Common (3)
CompactConsoleLoggerFormatter.cs (3)
46_messagePadding = new string(' ', GetLogLevelString(LogLevel.Information).Length + LoglevelPadding.Length + (_options.TimestampFormat?.Length ?? 0)); 108LogLevel.Information => "info", 128LogLevel.Information => (ConsoleColor.DarkGreen, ConsoleColor.Black),
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)
_generated\0\LoggerMessage.g.cs (2)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "AuthenticationSchemeSignedIn"), "AuthenticationScheme: {AuthenticationScheme} signed in.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 19if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggingExtensions.cs (1)
8[LoggerMessage(1, LogLevel.Information, "AuthenticationScheme: {AuthenticationScheme} signed in.", EventName = "AuthenticationSchemeSignedIn")]
Microsoft.AspNetCore.Authentication.Cookies (6)
_generated\0\LoggerMessage.g.cs (4)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(10, "AuthenticationSchemeSignedIn"), "AuthenticationScheme: {AuthenticationScheme} signed in.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 19if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) 26global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(11, "AuthenticationSchemeSignedOut"), "AuthenticationScheme: {AuthenticationScheme} signed out.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 35if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggingExtensions.cs (2)
8[LoggerMessage(10, LogLevel.Information, "AuthenticationScheme: {AuthenticationScheme} signed in.", EventName = "AuthenticationSchemeSignedIn")] 11[LoggerMessage(11, LogLevel.Information, "AuthenticationScheme: {AuthenticationScheme} signed out.", EventName = "AuthenticationSchemeSignedOut")]
Microsoft.AspNetCore.Authorization (3)
_generated\0\LoggerMessage.g.cs (2)
26global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(2, "UserAuthorizationFailed"), "Authorization failed. {Reason}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 35if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggingExtensions.cs (1)
14[LoggerMessage(2, LogLevel.Information, "Authorization failed. {Reason}", EventName = "UserAuthorizationFailed")]
Microsoft.AspNetCore.Components.Endpoints (6)
_generated\0\LoggerMessage.g.cs (4)
676global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "OpaqueUrlUnprotectionFailed"), "Opaque URL unprotection failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 685if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) 765global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(5, "EndpointAntiforgeryValidationFailed"), "Antiforgery token validation failed for the current request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 774if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
Builder\OpaqueRedirection.cs (1)
104[LoggerMessage(1, LogLevel.Information, "Opaque URL unprotection failed.", EventName = "OpaqueUrlUnprotectionFailed")]
RazorComponentEndpointInvoker.cs (1)
332[LoggerMessage(5, LogLevel.Information, "Antiforgery token validation failed for the current request.", EventName = nameof(EndpointAntiforgeryValidationFailed))]
Microsoft.AspNetCore.Components.Server (3)
_generated\0\LoggerMessage.g.cs (2)
1829global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(103, "SendBatchDataFailed"), "Sending data for batch failed: {Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 1838if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
Circuits\RemoteRenderer.cs (1)
399[LoggerMessage(103, LogLevel.Information, "Sending data for batch failed: {Message}", EventName = "SendBatchDataFailed")]
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),
Buffering\PerRequestLogBufferingOptionsConfigureOptionsTests.cs (1)
94Assert.Equal(LogLevel.Information, options.Rules[0].LogLevel);
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);
Logging\AcceptanceTests.Routing.cs (2)
61LogLevel.Information, 75Assert.Equal(LogLevel.Information, logRecord.Level);
Microsoft.AspNetCore.HostFiltering (6)
_generated\0\LoggerMessage.g.cs (4)
55global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(3, "RequestRejectedMissingHost"), "{Protocol} request rejected due to missing or empty host header.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 64if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) 103global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "NoAllowedHostMatched"), "The host '{Host}' does not match an allowed host.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 112if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
LoggerExtensions.cs (2)
19[LoggerMessage(3, LogLevel.Information, "{Protocol} request rejected due to missing or empty host header.", EventName = "RequestRejectedMissingHost")] 28[LoggerMessage(6, LogLevel.Information, "The host '{Host}' does not match an allowed host.", EventName = "NoAllowedHostMatched")]
Microsoft.AspNetCore.Hosting (8)
_generated\0\LoggerMessage.g.cs (2)
12global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(14, "ListeningOnAddress"), "Now listening on: {address}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 21if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
GenericHost\GenericWebHostService.cs (2)
169if (LifetimeLogger.IsEnabled(LogLevel.Information)) 211[LoggerMessage(14, LogLevel.Information,
Internal\HostingApplicationDiagnostics.cs (4)
140if (_logger.IsEnabled(LogLevel.Information)) 276logLevel: LogLevel.Information, 294logLevel: LogLevel.Information, 306logLevel: LogLevel.Information,
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))
ChallengeHttpResult.cs (2)
97if (logger.IsEnabled(LogLevel.Information)) 103[LoggerMessage(1, LogLevel.Information, "Executing ChallengeResult with authentication schemes ({Schemes}).", EventName = "ChallengeResultExecuting", SkipEnabledCheck = true)]
ForbidHttpResult.cs (2)
108if (logger.IsEnabled(LogLevel.Information)) 114[LoggerMessage(1, LogLevel.Information, "Executing ChallengeResult with authentication schemes ({Schemes}).", EventName = "ChallengeResultExecuting", SkipEnabledCheck = true)]
HttpResultsHelper.cs (4)
164[LoggerMessage(1, LogLevel.Information, 169[LoggerMessage(2, LogLevel.Information, 174[LoggerMessage(3, LogLevel.Information, "Writing value of type '{Type}' as Json.", 178[LoggerMessage(5, LogLevel.Information,
RedirectHttpResult.cs (1)
138[LoggerMessage(1, LogLevel.Information,
RedirectToRouteHttpResult.cs (1)
195[LoggerMessage(1, LogLevel.Information,
SignInHttpResult.cs (1)
71[LoggerMessage(1, LogLevel.Information,
SignOutHttpResult.cs (2)
97if (logger.IsEnabled(LogLevel.Information)) 103[LoggerMessage(1, 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,
HttpLoggingMiddleware.cs (1)
55if (!_logger.IsEnabled(LogLevel.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))
ChallengeResult.cs (2)
117if (logger.IsEnabled(LogLevel.Information)) 123[LoggerMessage(1, LogLevel.Information, "Executing ChallengeResult with authentication schemes ({Schemes}).", EventName = "ChallengeResultExecuting", SkipEnabledCheck = true)]
ForbidResult.cs (2)
118if (logger.IsEnabled(LogLevel.Information)) 124[LoggerMessage(1, LogLevel.Information, $"Executing {nameof(ForbidResult)} with authentication schemes ({{Schemes}}).", EventName = "ForbidResultExecuting", SkipEnabledCheck = true)]
Infrastructure\ContentResultExecutor.cs (1)
77[LoggerMessage(1, LogLevel.Information, "Executing ContentResult with HTTP Response ContentType of {ContentType}", EventName = "ContentResultExecuting")]
Infrastructure\ControllerActionInvoker.cs (4)
621if (logger.IsEnabled(LogLevel.Information)) 641[LoggerMessage(101, LogLevel.Information, "Executing action method {ActionName} - Validation state: {ValidationState}", EventName = "ActionMethodExecuting", SkipEnabledCheck = true)] 649if (logger.IsEnabled(LogLevel.Information)) 656[LoggerMessage(103, LogLevel.Information, "Executed action method {ActionName}, returned result {ActionResult} in {ElapsedMilliseconds}ms.", EventName = "ActionMethodExecuted", SkipEnabledCheck = true)]
Infrastructure\DefaultActionDescriptorCollectionProvider.cs (1)
177Level = LogLevel.Information,
Infrastructure\FileContentResultExecutor.cs (2)
79if (logger.IsEnabled(LogLevel.Information)) 86[LoggerMessage(2, LogLevel.Information, "Executing {FileResultType}, sending file with download name '{FileDownloadName}' ...", EventName = "ExecutingFileResultWithNoFileName", SkipEnabledCheck = true)]
Infrastructure\FileStreamResultExecutor.cs (2)
91if (logger.IsEnabled(LogLevel.Information)) 98[LoggerMessage(1, LogLevel.Information, "Executing {FileResultType}, sending file with download name '{FileDownloadName}' ...", EventName = "ExecutingFileResultWithNoFileName", SkipEnabledCheck = true)]
Infrastructure\LocalRedirectResultExecutor.cs (1)
68[LoggerMessage(1, LogLevel.Information, "Executing LocalRedirectResult, redirecting to {Destination}.", EventName = "LocalRedirectResultExecuting")]
Infrastructure\ObjectResultExecutor.cs (2)
159if (logger.IsEnabled(LogLevel.Information)) 167[LoggerMessage(1, LogLevel.Information, "Executing {ObjectResultType}, writing value of type '{Type}'.", EventName = "ObjectResultExecuting", SkipEnabledCheck = true)]
Infrastructure\PhysicalFileResultExecutor.cs (2)
167if (logger.IsEnabled(LogLevel.Information)) 174[LoggerMessage(1, LogLevel.Information, "Executing {FileResultType}, sending file '{FileDownloadPath}' with download name '{FileDownloadName}' ...", EventName = "ExecutingFileResult", SkipEnabledCheck = true)]
Infrastructure\RedirectResultExecutor.cs (1)
65[LoggerMessage(1, LogLevel.Information, "Executing RedirectResult, redirecting to {Destination}.", EventName = "RedirectResultExecuting")]
Infrastructure\RedirectToActionResultExecutor.cs (1)
71[LoggerMessage(1, LogLevel.Information, "Executing RedirectResult, redirecting to {Destination}.", EventName = "RedirectToActionResultExecuting")]
Infrastructure\RedirectToPageResultExecutor.cs (1)
71[LoggerMessage(1, LogLevel.Information, "Executing RedirectToPageResult, redirecting to {Page}.", EventName = "RedirectToPageResultExecuting")]
Infrastructure\RedirectToRouteResultExecutor.cs (1)
67[LoggerMessage(1, LogLevel.Information, "Executing RedirectToRouteResult, redirecting to {Destination} from route {RouteName}.", EventName = "RedirectToRouteResultExecuting")]
Infrastructure\ResourceInvoker.cs (1)
63if (_diagnosticListener.IsEnabled() || _logger.IsEnabled(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)]
Infrastructure\SystemTextJsonResultExecutor.cs (2)
132[LoggerMessage(1, LogLevel.Information, "Executing JsonResult, writing value of type '{Type}'.", EventName = "JsonResultExecuting", SkipEnabledCheck = true)] 137if (logger.IsEnabled(LogLevel.Information))
Infrastructure\VirtualFileResultExecutor.cs (2)
149if (logger.IsEnabled(LogLevel.Information)) 156[LoggerMessage(1, LogLevel.Information, "Executing {FileResultType}, sending file '{FileDownloadPath}' with download name '{FileDownloadName}' ...", EventName = "ExecutingFileResult", SkipEnabledCheck = true)]
SignInResult.cs (1)
92[LoggerMessage(1, LogLevel.Information, $"Executing {nameof(SignInResult)} with authentication scheme ({{Scheme}}) and the following principal: {{Principal}}.", EventName = "SignInResultExecuting")]
SignOutResult.cs (2)
134if (logger.IsEnabled(LogLevel.Information)) 140[LoggerMessage(1, LogLevel.Information, $"Executing {nameof(SignOutResult)} with authentication schemes ({{Schemes}}).", EventName = "SignOutResultExecuting", SkipEnabledCheck = true)]
StatusCodeResult.cs (1)
48[LoggerMessage(1, LogLevel.Information, "Executing StatusCodeResult, setting HTTP status code {StatusCode}", EventName = "HttpStatusCodeResultExecuting")]
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))
Filters\AntiforgeryMiddlewareAuthorizationFilter.cs (1)
34[LoggerMessage(1, LogLevel.Information, "Antiforgery token validation failed. {Message}", EventName = "AntiforgeryTokenInvalid")]
Filters\ValidateAntiforgeryTokenAuthorizationFilter.cs (1)
56[LoggerMessage(1, LogLevel.Information, "Antiforgery token validation failed. {Message}", EventName = "AntiforgeryTokenInvalid")]
PartialViewResultExecutor.cs (2)
192[LoggerMessage(1, LogLevel.Information, "Executing PartialViewResult, running view {PartialViewName}.", EventName = "PartialViewResultExecuting")] 206[LoggerMessage(4, LogLevel.Information, "Executed PartialViewResult - view {PartialViewName} executed in {ElapsedMilliseconds}ms.", EventName = "PartialViewResultExecuted")]
ViewComponentResultExecutor.cs (1)
164[LoggerMessage(1, LogLevel.Information, "Executing ViewComponentResult, running {ViewComponentName}.", EventName = "ViewComponentResultExecuting")]
ViewResultExecutor.cs (2)
192[LoggerMessage(1, LogLevel.Information, "Executing ViewResult, running view {ViewName}.", EventName = "ViewResultExecuting")] 206[LoggerMessage(4, LogLevel.Information, "Executed ViewResult - view {ViewName} executed in {ElapsedMilliseconds}ms.", EventName = "ViewResultExecuted")]
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))
EndpointMiddleware.cs (3)
62if (!_logger.IsEnabled(LogLevel.Information)) 131[LoggerMessage(0, LogLevel.Information, "Executing endpoint '{EndpointName}'", EventName = "ExecutingEndpoint")] 134[LoggerMessage(1, LogLevel.Information, "Executed endpoint '{EndpointName}'", EventName = "ExecutedEndpoint")]
EndpointRoutingMiddleware.cs (4)
188if (!_logger.IsEnabled(LogLevel.Information)) 354[LoggerMessage(4, LogLevel.Information, "The endpoint '{EndpointName}' is being executed without running additional middleware.", EventName = "ExecutingEndpoint")] 357[LoggerMessage(5, LogLevel.Information, "The endpoint '{EndpointName}' has been executed without running additional middleware.", EventName = "ExecutedEndpoint")] 360[LoggerMessage(6, LogLevel.Information, "The endpoint '{EndpointName}' is being short circuited without running additional middleware or producing a response.", EventName = "ShortCircuitedEndpoint")]
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))
Internal\AddressBinder.cs (1)
198if (context.Logger.IsEnabled(LogLevel.Information))
Internal\Http\Http1Connection.cs (1)
78_showErrorDetails = Log.IsEnabled(LogLevel.Information);
Internal\Http\HttpProtocol.cs (1)
1424Log.IsEnabled(LogLevel.Information)
Internal\Infrastructure\KestrelTrace.Connections.cs (1)
94[LoggerMessage(34, LogLevel.Information, @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": the application aborted the connection.", EventName = "ApplicationAbortedConnection")]
Internal\Infrastructure\KestrelTrace.General.cs (2)
97[LoggerMessage(32, LogLevel.Information, @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": the application completed without reading the entire request body.", EventName = "RequestBodyNotEntirelyRead")] 100[LoggerMessage(33, LogLevel.Information, @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": automatic draining of the request body timed out after taking over 5 seconds.", EventName = "RequestBodyDrainTimedOut")]
Internal\Infrastructure\KestrelTrace.Http2.cs (1)
123[LoggerMessage(38, LogLevel.Information, @"Connection id ""{ConnectionId}"": HPACK encoding error while encoding headers for stream ID {StreamId}.", EventName = "HPackEncodingError")]
Internal\Infrastructure\KestrelTrace.Http3.cs (1)
98[LoggerMessage(52, LogLevel.Information, @"Connection id ""{ConnectionId}"": QPACK encoding error while encoding headers for stream ID {StreamId}.", EventName = "QPackEncodingError")]
Internal\KestrelServerImpl.cs (3)
102HttpParser = new HttpParser<Http1ParsingHandler>(trace.IsEnabled(LogLevel.Information), serverOptions.DisableHttp1LineFeedTerminators), 355if (Trace.IsEnabled(LogLevel.Information)) 383if (Trace.IsEnabled(LogLevel.Information))
LocalhostListenOptions.cs (2)
49if (context.Logger.IsEnabled(LogLevel.Information)) 63if (context.Logger.IsEnabled(LogLevel.Information))
Middleware\HttpsConnectionMiddleware.cs (2)
622[LoggerMessage(4, LogLevel.Information, "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.", 646[LoggerMessage(9, LogLevel.Information, "Certificate with thumbprint {Thumbprint} lacks the subjectAlternativeName (SAN) extension and may not be accepted by browsers.", EventName = "NoSubjectAlternativeName")]
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))
DistributedSession.cs (1)
251if (_logger.IsEnabled(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\ConsoleInputReader.cs (1)
14if (logLevel > LogLevel.Information)
UI\ConsoleReporter.cs (1)
51LogLevel.Information => (ConsoleColor?)null,
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)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
1037[InlineData(LogLevel.Information)]
ChatCompletion\LoggingChatClientTests.cs (2)
46[InlineData(LogLevel.Information)] 94[InlineData(LogLevel.Information)]
Embeddings\LoggingEmbeddingGeneratorTests.cs (1)
45[InlineData(LogLevel.Information)]
Image\LoggingImageGeneratorTests.cs (2)
46[InlineData(LogLevel.Information)] 97[InlineData(LogLevel.Information)]
SpeechToText\LoggingSpeechToTextClientTests.cs (2)
48[InlineData(LogLevel.Information)] 97[InlineData(LogLevel.Information)]
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)
Windows\Log.cs (2)
10[LoggerMessage(1, LogLevel.Information, "Resource Monitoring is running inside a Job Object. For more information about Job Objects see https://aka.ms/job-objects")] 13[LoggerMessage(2, LogLevel.Information, "Resource Monitoring is running outside of Job Object. For more information about Job Objects see https://aka.ms/job-objects")]
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogRecord.cs (1)
136LogLevel.Information => " info",
Microsoft.Extensions.Diagnostics.Testing.Tests (4)
Logging\FakeLoggerTests.cs (4)
35Assert.Equal(LogLevel.Information, records[0].Level); 151Assert.True(logger.IsEnabled(LogLevel.Information)); 162Assert.True(logger.IsEnabled(LogLevel.Information)); 319: [(NotIgnoredMessage1, LogLevel.Information, "info] "), (NotIgnoredMessage2, LogLevel.Error, "error] ")];
Microsoft.Extensions.Hosting (1)
Internal\ConsoleLifetime.cs (1)
102if (Logger.IsEnabled(LogLevel.Information))
Microsoft.Extensions.Hosting.Systemd (1)
SystemdLifetime.cs (1)
95if (Logger.IsEnabled(LogLevel.Information))
Microsoft.Extensions.Hosting.Testing (1)
HostTerminatorService.cs (1)
66[LoggerMessage(1, LogLevel.Information, "Debugger is attached. The host won't be automatically disposed.")]
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceLifetime.cs (1)
80if (Logger.IsEnabled(LogLevel.Information))
Microsoft.Extensions.Http (7)
Logging\LogHelper.cs (7)
36LogLevel.Information, 42LogLevel.Information, 47LogLevel.Information, 54LogLevel.Information, 59LogLevel.Information, 64LogLevel.Information, 71if (logger.IsEnabled(LogLevel.Information))
Microsoft.Extensions.Http.Diagnostics (2)
Logging\Internal\HttpClientLogger.cs (2)
83Log.OutgoingRequest(_logger, LogLevel.Information, logRecord); 147return LogLevel.Information;
Microsoft.Extensions.Http.Diagnostics.Tests (4)
Logging\AcceptanceTests.cs (2)
45Assert.Equal(LogLevel.Information, logRecord.Level); 86Assert.Equal(LogLevel.Information, secondLogRecord.Level);
Logging\HttpClientLoggerTest.cs (2)
944[InlineData(399, LogLevel.Information)] 949[InlineData(600, LogLevel.Information)]
Microsoft.Extensions.Logging (3)
Logger.cs (1)
246LogLevel.Information,
LoggingServiceCollectionExtensions.cs (1)
42new DefaultLoggerLevelConfigureOptions(LogLevel.Information)));
src\runtime\src\libraries\Common\src\Extensions\Logging\DebuggerDisplayFormatting.cs (1)
39LogLevel.Information,
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);
src\runtime\src\libraries\Common\src\Extensions\Logging\DebuggerDisplayFormatting.cs (1)
39LogLevel.Information,
Microsoft.Extensions.Logging.Console (7)
ConsoleLoggerExtensions.Obsolete.cs (2)
55factory.AddConsole((n, l) => l >= LogLevel.Information, includeScopes); 83factory.AddConsole((n, l) => l >= LogLevel.Information, includeScopes);
JsonConsoleFormatter.cs (1)
125LogLevel.Information => "Information",
SimpleConsoleFormatter.cs (3)
16private static readonly string _messagePadding = new string(' ', GetLogLevelString(LogLevel.Information).Length + LoglevelPadding.Length); 169LogLevel.Information => "info", 193LogLevel.Information => new ConsoleColors(ConsoleColor.DarkGreen, ConsoleColor.Black),
SystemdConsoleFormatter.cs (1)
127LogLevel.Information => "<6>", // informational messages
Microsoft.Extensions.Logging.EventLog (2)
EventLoggerFactoryExtensions.cs (1)
51public static ILoggerFactory AddEventLog(this ILoggerFactory factory) => AddEventLog(factory, LogLevel.Information);
EventLogLogger.cs (1)
189case LogLevel.Information:
Microsoft.Extensions.Logging.EventSource (2)
LoggingEventSource.cs (2)
508ret = LogLevel.Information; 546return LogLevel.Information;
Microsoft.Extensions.Logging.MSBuild (2)
MSBuildLogger.cs (2)
55LogLevel.Information => _loggingHelper.LogsMessagesOfImportance(MessageImportance.High), 72case LogLevel.Information:
Microsoft.Extensions.Logging.TraceSource (1)
TraceSourceLogger.cs (1)
75case LogLevel.Information: return TraceEventType.Information;
Microsoft.Extensions.ML (1)
ModelLoaders\FileModelLoader.cs (1)
175LogLevel.Information,
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),
Buffering\GlobalLogBufferingConfigureOptionsTests.cs (1)
93Assert.Equal(LogLevel.Information, options.Rules[0].LogLevel);
Buffering\LogBufferingFilterRuleTests.cs (4)
23new LogBufferingFilterRule(logLevel: LogLevel.Information, eventId: 1), 24new LogBufferingFilterRule(logLevel: LogLevel.Information, eventId: 1), 59new LogBufferingFilterRule(logLevel: LogLevel.Information, eventId: 1), 60new LogBufferingFilterRule(logLevel: LogLevel.Information, eventId: 1),
Logging\ExtendedLoggerTests.cs (1)
417logger.Log(LogLevel.Information, new EventId(0, "ID0"), "PAYLOAD", null, (_, _) => "MSG0");
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\RandomProbabilisticSamplerTests.cs (3)
48options.Rules.Add(new RandomProbabilisticSamplerFilterRule(probability: Probability, logLevel: LogLevel.Information)); 64LogLevel.Information, nameof(WhenParametersMatch_UsesProvidedProbability), 0, _dummyState, _dummyException, _dummyFormatter); 66options.Rules.Add(new RandomProbabilisticSamplerFilterRule(probability: Probability, logLevel: LogLevel.Information));
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)
LoggerMessageAttributeTests.cs (2)
149new NonStaticTestClass(logger).M3(LogLevel.Information, "arg_0"); 150AssertWhenDefaultLogMethodCtor(collector, LogLevel.Information, ("p0", "-----"));
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");
LogPropertiesRedactionTests.cs (2)
52instance.DefaultAttrCtorLogPropertiesWithRedaction(LogLevel.Information, "arg0", classToRedact); 56Assert.Equal(LogLevel.Information, collector.LatestRecord.Level);
LogPropertiesTests.cs (5)
302Assert.Equal(LogLevel.Information, _logger.Collector.LatestRecord.Level); 323Assert.Equal(LogLevel.Information, _logger.Collector.LatestRecord.Level); 343Assert.Equal(LogLevel.Information, _logger.Collector.LatestRecord.Level); 365Assert.Equal(LogLevel.Information, latestRecord.Level); 501Assert.Equal(LogLevel.Information, latestRecord.Level);
TagProviderTests.cs (2)
57Assert.Equal(LogLevel.Information, latestRecord.Level); 290Assert.Equal(LogLevel.Information, latestRecord.Level);
test\Generators\Microsoft.Gen.Logging\TestClasses\AtSymbolsTestExtensions.cs (5)
18[LoggerMessage(0, LogLevel.Information, "M0 {event}")] 21[LoggerMessage(1, LogLevel.Information, "M1 {@myevent1}")] 36[LoggerMessage(LogLevel.Information, "M4 {class}")] 42[LoggerMessage(LogLevel.Information, "M6 class {class}")] 45[LoggerMessage(LogLevel.Information, "M7 param {@param}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\InParameterTestExtensions.cs (1)
15[LoggerMessage(0, LogLevel.Information, "M0 {s}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\LevelTestExtensions.cs (1)
16[LoggerMessage(2, LogLevel.Information, "M2")]
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...")]
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesRedactionExtensions.cs (1)
58[LoggerMessage(2, LogLevel.Information, "Only {StringProperty} as param")]
test\Generators\Microsoft.Gen.Logging\TestClasses\NonSensitiveRecordExtensions.cs (1)
20[LoggerMessage(6001, LogLevel.Information, "Logging User: {User}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\NonStaticTestClass.cs (3)
31[LoggerMessage(4, LogLevel.Information, "LogProperties: {P0}")] 34[LoggerMessage(5, LogLevel.Information, "LogProperties with provider: {P0}, {P1}")] 39[LoggerMessage(6, LogLevel.Information, "LogProperties with redaction: {P0}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\OriginalFormatTestExtensions.cs (4)
10[LoggerMessage(0, LogLevel.Information, "M0")] 13[LoggerMessage(1, LogLevel.Information, "M1 {p0}")] 16[LoggerMessage(2, LogLevel.Information, "M2 {p0}{p1}")] 19[LoggerMessage(LogLevel.Information)]
test\Generators\Microsoft.Gen.Logging\TestClasses\OverloadsTestExtensions.cs (2)
10[LoggerMessage(0, LogLevel.Information, "M0 {v}", EventName = "One")] 13[LoggerMessage(1, LogLevel.Information, "M0 {v}", EventName = "Two")]
test\Generators\Microsoft.Gen.Logging\TestClasses\SensitiveRecordExtensions.cs (3)
75[LoggerMessage(LogLevel.Information, "Data was obtained")] 80[LoggerMessage(LogLevel.Information)] 85[LoggerMessage(LogLevel.Information, "Data is {data}")]
test\Generators\Microsoft.Gen.Logging\TestClasses\SkipEnabledCheckTestExtensions.cs (2)
10[LoggerMessage(0, LogLevel.Information, "M0", SkipEnabledCheck = true)] 13[LoggerMessage(1, LogLevel.Information, "M1", SkipEnabledCheck = false)]
test\Generators\Microsoft.Gen.Logging\TestClasses\TagProviderExtensions.cs (1)
24[LoggerMessage(LogLevel.Information, "Custom provided properties for interface.")]
test\Generators\Microsoft.Gen.Logging\TestClasses\TransitiveTestExtensions.cs (1)
46[LoggerMessage(LogLevel.Information)]
Microsoft.TemplateEngine.Cli (2)
CliConsoleFormatter.cs (1)
36case LogLevel.Information:
CliTemplateEngineHost.cs (1)
22LogLevel logLevel = LogLevel.Information)
Stress.ApiService (1)
Program.cs (1)
231logger.Log(LogLevel.Information, 0, eventData, null, formatter: (_, _) => null!);
TestProject.WorkerA (1)
Worker.cs (1)
21if (_logger.IsEnabled(LogLevel.Information))