41 references to Logger
dotnet (41)
Commands\Test\MTP\ArtifactPostProcessingManager.cs (3)
81Logger.LogTrace($"Artifact post-processing failed: {ex}"); 173Logger.LogTrace($"Artifact post-processing with '{job.Application.Module.TargetPath}' failed: {ex}"); 192Logger.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\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)
298Logger.LogTrace($"Loaded project '{Path.GetFileName(projectFilePath)}' with TargetFramework '{targetFramework}', TargetFrameworks '{targetFrameworks}', IsTestProject '{projectInstance.GetPropertyValue(ProjectProperties.IsTestProject)}', and '{ProjectProperties.IsTestingPlatformApplication}' is '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}'."); 328Logger.LogTrace($"Loaded inner project '{Path.GetFileName(projectFilePath)}' has '{ProjectProperties.IsTestingPlatformApplication}' = '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}' (TFM: '{framework}')."); 342Logger.LogTrace($"Loaded inner project '{Path.GetFileName(projectFilePath)}' has '{ProjectProperties.IsTestingPlatformApplication}' = '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}' (TFM: '{framework}').");
Commands\Test\MTP\TestApplication.cs (10)
98Logger.LogTrace($"Starting test process with command '{processStartInfo.FileName}' and arguments '{processStartInfo.Arguments}'."); 167Logger.LogTrace($"Test process exited before it could be killed after cancellation:\n{ex}"); 229if (Logger.TraceEnabled) 492Logger.LogTrace($"WaitConnectionAsync() throws OperationCanceledException with {(ex.CancellationToken == token ? "internal token" : "external token")}"); 497Logger.LogTrace(exAsString); 530Logger.LogTrace("WaitControlConnectionAsync() was cancelled."); 536Logger.LogTrace($"The server-control pipe stopped accepting connections:\n{ex}"); 645Logger.LogTrace($"Request '{request.GetType()}' with Serializer ID = {unknownMessage.SerializerId} is unsupported."); 665Logger.LogTrace(exAsString); 766Logger.LogTrace($"{label} (already streamed live): {capturedOutput}");
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)
653if (!Logger.TraceEnabled) 665Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 670if (!Logger.TraceEnabled) 690Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 695if (!Logger.TraceEnabled) 719Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 724if (!Logger.TraceEnabled) 739Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 744if (!Logger.TraceEnabled) 761Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 766if (!Logger.TraceEnabled) 788Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 793if (!Logger.TraceEnabled) 803Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 808if (!Logger.TraceEnabled) 818Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 823if (!Logger.TraceEnabled) 834Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString());