33 references to Logger
dotnet (33)
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)
85if (!Logger.TraceEnabled) 106Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString());
Commands\Test\MTP\SolutionAndProjectUtility.cs (3)
252Logger.LogTrace($"Loaded project '{Path.GetFileName(projectFilePath)}' with TargetFramework '{targetFramework}', TargetFrameworks '{targetFrameworks}', IsTestProject '{projectInstance.GetPropertyValue(ProjectProperties.IsTestProject)}', and '{ProjectProperties.IsTestingPlatformApplication}' is '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}'."); 282Logger.LogTrace($"Loaded inner project '{Path.GetFileName(projectFilePath)}' has '{ProjectProperties.IsTestingPlatformApplication}' = '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}' (TFM: '{framework}')."); 296Logger.LogTrace($"Loaded inner project '{Path.GetFileName(projectFilePath)}' has '{ProjectProperties.IsTestingPlatformApplication}' = '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}' (TFM: '{framework}').");
Commands\Test\MTP\TestApplication.cs (5)
69Logger.LogTrace($"Starting test process with command '{processStartInfo.FileName}' and arguments '{processStartInfo.Arguments}'."); 264Logger.LogTrace($"WaitConnectionAsync() throws OperationCanceledException with {(ex.CancellationToken == token ? "internal token" : "external token")}"); 269Logger.LogTrace(exAsString); 332Logger.LogTrace($"Request '{request.GetType()}' with Serializer ID = {unknownMessage.SerializerId} is unsupported."); 352Logger.LogTrace(exAsString);
Commands\Test\MTP\TestApplicationActionQueue.cs (1)
73Logger.LogTrace($"Exception running test module {module.RunProperties?.Command} {module.RunProperties?.Arguments}: {exAsString}");
Commands\Test\MTP\TestApplicationHandler.cs (18)
557if (!Logger.TraceEnabled) 569Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 574if (!Logger.TraceEnabled) 594Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 599if (!Logger.TraceEnabled) 623Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 628if (!Logger.TraceEnabled) 643Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 648if (!Logger.TraceEnabled) 665Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 670if (!Logger.TraceEnabled) 692Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 697if (!Logger.TraceEnabled) 707Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 712if (!Logger.TraceEnabled) 722Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString()); 727if (!Logger.TraceEnabled) 738Logger.LogTrace(logMessageBuilder, static logMessageBuilder => logMessageBuilder.ToString());