108 references to LogError
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
446logger.LogError("Failed to start the dashboard due to {Count} configuration error(s).", validationFailures.Count); 449logger.LogError("{ErrorMessage}", message);
Aspire.Hosting (2)
ApplicationModel\ResourceNotificationService.cs (2)
134resourceLogger.LogError( 202resourceLogger.LogError(
Aspire.Hosting.AWS (2)
Provisioning\CDKStackResourceProvisioner.cs (2)
42logger.LogError("File or container image assets are currently not supported"); 50logger.LogError("The environment doesn't have the CDK toolkit stack installed. Use 'cdk boostrap' to setup your environment for use AWS CDK with Aspire");
Aspire.Hosting.Redis (2)
RedisBuilderExtensions.cs (2)
248resourceLogger.LogError("Could not import Redis databases into RedisInsight. Reason: {reason}", ex.Message); 300resourceLogger.LogError("Could accept RedisInsight eula. Reason: {reason}", ex.Message);
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
102resourceLogger.LogError("Test error message");
Aspire.Hosting.Tests (3)
ResourceLoggerServiceTests.cs (3)
29logger.LogError("Hello, error!"); 69logger.LogError("Hello, error!"); 110logger.LogError("Hello, error!");
AzureSearch.ApiService (1)
Program.cs (1)
152logger.LogError("Failed to import the index data from {file}", hotelsJson);
BuildValidator (9)
CompilationDiff.cs (3)
147logger.LogError(diag.ToString()); 433logger.LogError($"Known issue: {hasEmbedded} has an embedded PDB but {doesntHaveEmbedded} does not have an embedded PDB"); 443logger.LogError($"Known issue: different compression used for embedded portable pdb debug directory entry");
Program.cs (6)
247logger.LogError($"Validation failed for {assemblyInfo.FilePath}"); 281logger.LogError($"\t{diff.AssemblyInfo.FilePath} had {diff.Diagnostics.Length} diagnostics."); 290logger.LogError($"\t{diff.AssemblyInfo.FilePath}"); 299logger.LogError($"{diff.AssemblyInfo.FilePath} {diff.MiscErrorMessage}"); 325logger.LogError($"Could not find pdb for {originalBinary.FullName}"); 357logger.LogError(ex.Message);
IIS.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (3)
106Logger.LogError($"Certificate is invalid. Issuer name: {cert?.Issuer}"); 109Logger.LogError($"List of current certificates in root store:"); 113Logger.LogError(otherCert.Issuer);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
243logger.LogError($"Could not read file content. Exception message {ex.Message}"); 244logger.LogError("Current hosting exes running:"); 248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
46e => Logger.LogError($"Failed to remove app_offline : {e.Message}"),
IIS.LongTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
243logger.LogError($"Could not read file content. Exception message {ex.Message}"); 244logger.LogError("Current hosting exes running:"); 248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
46e => Logger.LogError($"Failed to remove app_offline : {e.Message}"),
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (3)
418Logger.LogError($"Status code was a bad request. Content: {response.Content.ReadAsStringAsync().GetAwaiter().GetResult()}"); 428e => Logger.LogError($"Failed to create app_offline : {e.Message}"), 585e => Logger.LogError($"Failed to touch web.config : {e.Message}"),
IIS.NewHandler.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
243logger.LogError($"Could not read file content. Exception message {ex.Message}"); 244logger.LogError("Current hosting exes running:"); 248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
46e => Logger.LogError($"Failed to remove app_offline : {e.Message}"),
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (3)
418Logger.LogError($"Status code was a bad request. Content: {response.Content.ReadAsStringAsync().GetAwaiter().GetResult()}"); 428e => Logger.LogError($"Failed to create app_offline : {e.Message}"), 585e => Logger.LogError($"Failed to touch web.config : {e.Message}"),
IIS.NewShim.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
243logger.LogError($"Could not read file content. Exception message {ex.Message}"); 244logger.LogError("Current hosting exes running:"); 248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
46e => Logger.LogError($"Failed to remove app_offline : {e.Message}"),
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (3)
418Logger.LogError($"Status code was a bad request. Content: {response.Content.ReadAsStringAsync().GetAwaiter().GetResult()}"); 428e => Logger.LogError($"Failed to create app_offline : {e.Message}"), 585e => Logger.LogError($"Failed to touch web.config : {e.Message}"),
IIS.ShadowCopy.Tests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
243logger.LogError($"Could not read file content. Exception message {ex.Message}"); 244logger.LogError("Current hosting exes running:"); 248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
46e => Logger.LogError($"Failed to remove app_offline : {e.Message}"),
IISExpress.FunctionalTests (10)
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (3)
106Logger.LogError($"Certificate is invalid. Issuer name: {cert?.Issuer}"); 109Logger.LogError($"List of current certificates in root store:"); 113Logger.LogError(otherCert.Issuer);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
243logger.LogError($"Could not read file content. Exception message {ex.Message}"); 244logger.LogError("Current hosting exes running:"); 248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
46e => Logger.LogError($"Failed to remove app_offline : {e.Message}"),
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (3)
418Logger.LogError($"Status code was a bad request. Content: {response.Content.ReadAsStringAsync().GetAwaiter().GetResult()}"); 428e => Logger.LogError($"Failed to create app_offline : {e.Message}"), 585e => Logger.LogError($"Failed to touch web.config : {e.Message}"),
Interop.FunctionalTests (1)
H2SpecCommands.cs (1)
239logger.LogError(args.Data);
Microsoft.AspNetCore.Authentication.Twitter (2)
TwitterHandler.cs (2)
303Logger.LogError("AccessToken request failed with a status code of " + response.StatusCode); 328Logger.LogError("Email request failed with a status code of " + response.StatusCode);
Microsoft.AspNetCore.BrowserTesting (2)
PageInformation.cs (2)
67_logger.LogError(e.Failure); 80_logger.LogError(e);
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (1)
41timeoutTokenSource.Token.Register(() => Logger.LogError("Timeout while waiting for counter value."));
Internal\HostingEventSourceTests.cs (1)
194timeoutTokenSource.Token.Register(() => Logger.LogError("Timeout while waiting for counter value."));
Microsoft.AspNetCore.InternalTesting.Tests (1)
XunitLoggerProviderTest.cs (1)
42logger.LogError("This is a bad error");
Microsoft.AspNetCore.Server.IISIntegration (1)
IISMiddleware.cs (1)
105_logger.LogError($"'{MSAspNetCoreToken}' does not match the expected pairing token '{_pairingToken}', request rejected.");
Microsoft.AspNetCore.Server.IntegrationTesting (4)
ApplicationPublisher.cs (2)
85logger.LogError(message); 92logger.LogError(message);
Deployers\SelfHostDeployer.cs (2)
181Logger.LogError("Error occurred while starting the process. Exception: {exception}", ex.ToString()); 186Logger.LogError("Host process {processName} {pid} exited with code {exitCode} or failed to start.", startInfo.FileName, HostProcess.Id, HostProcess.ExitCode);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISExpressDeployer.cs (2)
235Logger.LogError("Host process {processName} {pid} exited with code {exitCode} or failed to start.", startInfo.FileName, process.Id, process.ExitCode); 268Logger.LogError(message);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
208Trace.LogError(CoreStrings.DynamicPortOnMultipleTransportsNotSupported);
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (2)
Docker.cs (2)
179logger.LogError("Closing process '{processName}' because it is running longer than the configured timeout.", fileName); 219LogIfNotNull(logger.LogError, $"'{prefix}' stderr: {{0}}", a.Data);
Microsoft.AspNetCore.SpaProxy (2)
SpaProxyLaunchManager.cs (2)
153_logger.LogError($"Couldn't start the SPA development server with command '{_options.LaunchCommand}'."); 160_logger.LogError($"Unable to connect to the SPA development server at '{_options.ServerUrl}'.");
Microsoft.AspNetCore.SpaServices.Extensions (1)
Npm\NodeScriptRunner.cs (1)
101logger.LogError(StripAnsiColors(line));
Microsoft.AspNetCore.WebSockets.ConformanceTests (2)
Autobahn\Executable.cs (1)
53process.ErrorDataReceived += (_, a) => LogIfNotNull(logger.LogError, "stderr: {0}", a.Data);
AutobahnTests.cs (1)
55using (cts.Token.Register(() => logger.LogError("Test run is taking longer than maximum duration of {timeoutMinutes:0.00} minutes. Aborting...", TestTimeout.TotalMinutes)))
Microsoft.CodeAnalysis.LanguageServer (6)
DotnetCliHelper.cs (1)
64_logger.LogError(errorOutput.ToString());
ExportProviderBuilder.cs (1)
102logger.LogError($"Encountered errors in the MEF composition:{Environment.NewLine}{ex.ErrorsAsString}");
Logging\LspServiceLogger.cs (1)
26public override void LogError(string message, params object[] @params) => _hostLogger.LogError(message, @params);
Services\ExtensionAssemblyManager.cs (3)
89logger.LogError("Extension path {assemblyFilePath} does not exist", assemblyFilePath); 96logger.LogError("Failed to get directory from {assemblyFilePath}", assemblyFilePath); 108logger.LogError(
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\BuildHostProcessManager.cs (2)
436_logger.LogError("The BuildHost process is not responding. Process output:{newLine}{processLog}", Environment.NewLine, processLog); 438_logger.LogError("The BuildHost process exited with {errorCode}. Process output:{newLine}{processLog}", _process.ExitCode, Environment.NewLine, processLog);
Microsoft.Extensions.Diagnostics.Testing.Tests (11)
Logging\FakeLogCollectorTests.cs (4)
55logger.LogError("Hello world!"); 97logger.LogError("Hello world!"); 136logger.LogError("Hello world!"); 168logger.LogError("Hello world!");
Logging\FakeLoggerExtensionsTests.cs (5)
27logger.LogError("M1"); 43logger.LogError("M1"); 47logger.LogError("M2"); 71logger.LogError("M1"); 75logger.LogError("M2");
Logging\FakeLoggerTests.cs (2)
30logger.LogError("World"); 214logger.LogError("M4");
Microsoft.Extensions.Telemetry.PerformanceTests (2)
ExtendedLoggerBench.cs (2)
85logger.LogError( 101logger.LogError(@"Range [{start}..{end}], options {options}, guid {guid}",