50 references to Logger
dotnet (50)
Commands\Test\MTP\ArtifactPostProcessingManager.cs (4)
96Logger.LogTrace($"Artifact post-processing failed: {ex}"); 117Logger.LogTrace( 208Logger.LogTrace($"Artifact post-processing with '{job.Application.Module.TargetPath}' failed: {ex}"); 227Logger.LogTrace($"Failed to clean artifact post-processing temporary directory '{tempDirectory}': {ex}");
Commands\Test\MTP\CtrlCCancellationManager.cs (3)
113Logger.LogTrace($"Exception during CtrlCCancellationManager cancel:\n{ex}"); 124Logger.LogTrace($"Exception during CtrlCCancellationManager first-press UI callback:\n{ex}"); 157Logger.LogTrace($"Exception killing child process during force exit:\n{ex}");
Commands\Test\MTP\IPC\HttpTestHostGateway.cs (5)
183Logger.LogTrace($"The dotnet test HTTP gateway rejected a malformed protocol frame of type '{ex.GetType().FullName}'."); 202Logger.LogTrace($"The dotnet test HTTP gateway failed to process a request: {ex}"); 212Logger.LogTrace($"The dotnet test HTTP gateway failed to send an error response: {responseException}"); 263Logger.LogTrace($"The dotnet test HTTP gateway rejected origin '{requestOrigin}' because it does not match the origin established for this run."); 348Logger.LogTrace($"The dotnet test HTTP gateway listener failed during shutdown: {ex}");
Commands\Test\MTP\Logger.cs (1)
19shouldAppend = Logger.TraceEnabled;
Commands\Test\MTP\MSBuildHandler.cs (2)
92if (!Logger.TraceEnabled) 113Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString());
Commands\Test\MTP\SolutionAndProjectUtility.cs (3)
339Logger.LogTrace($"Loaded project '{Path.GetFileName(projectFilePath)}' with TargetFramework '{targetFramework}', TargetFrameworks '{targetFrameworks}', IsTestProject '{projectInstance.GetPropertyValue(ProjectProperties.IsTestProject)}', and '{ProjectProperties.IsTestingPlatformApplication}' is '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}'."); 369Logger.LogTrace($"Loaded inner project '{Path.GetFileName(projectFilePath)}' has '{ProjectProperties.IsTestingPlatformApplication}' = '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}' (TFM: '{framework}')."); 383Logger.LogTrace($"Loaded inner project '{Path.GetFileName(projectFilePath)}' has '{ProjectProperties.IsTestingPlatformApplication}' = '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}' (TFM: '{framework}').");
Commands\Test\MTP\TestApplication.cs (13)
106Logger.LogTrace($"Starting test process with command '{processStartInfo.FileName}' and arguments '{GetArgumentsForLogging(processStartInfo.Arguments)}'."); 175Logger.LogTrace($"Test process exited before it could be killed after cancellation:\n{ex}"); 237if (Logger.TraceEnabled) 494Logger.LogTrace($"Failed to clean up the dotnet test HTTP transport response file after creation failed: {cleanupException}"); 616Logger.LogTrace($"WaitConnectionAsync() throws OperationCanceledException with {(ex.CancellationToken == token ? "internal token" : "external token")}"); 621Logger.LogTrace(exAsString); 654Logger.LogTrace("WaitControlConnectionAsync() was cancelled."); 660Logger.LogTrace($"The server-control pipe stopped accepting connections:\n{ex}"); 715Logger.LogTrace("The dotnet test HTTP transport does not support the reverse server-control channel."); 782Logger.LogTrace($"Request '{request.GetType()}' with Serializer ID = {unknownMessage.SerializerId} is unsupported."); 802Logger.LogTrace(exAsString); 903Logger.LogTrace($"{label} (already streamed live): {capturedOutput}"); 1150Logger.LogTrace($"Failed to delete the dotnet test HTTP transport response file: {ex}");
Commands\Test\MTP\TestApplicationActionQueue.cs (1)
114Logger.LogTrace($"Exception running test module {module.RunProperties?.Command} {module.RunProperties?.Arguments}: {exAsString}");
Commands\Test\MTP\TestApplicationHandler.cs (18)
655if (!Logger.TraceEnabled) 667Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 672if (!Logger.TraceEnabled) 692Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 697if (!Logger.TraceEnabled) 721Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 726if (!Logger.TraceEnabled) 741Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 746if (!Logger.TraceEnabled) 764Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 769if (!Logger.TraceEnabled) 791Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 796if (!Logger.TraceEnabled) 806Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 811if (!Logger.TraceEnabled) 821Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 826if (!Logger.TraceEnabled) 837Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString());