130 references to OutputLevel
datacollector (4)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (4)
49ConsoleOutput.Instance.WriteLine("Attaching Visual Studio, either a parent or the one that was started first... To specify a VS instance to use, use the PID in the option, instead of 1.", OutputLevel.Information); 60ConsoleOutput.Instance.WriteLine($"Attaching Visual Studio with PID {vsPid} to the process '{Process.GetCurrentProcess().ProcessName}({processId})'...", OutputLevel.Information); 130ConsoleOutput.Instance.WriteLine("Waiting for debugger attach...", OutputLevel.Information); 135OutputLevel.Information);
datacollector.arm64 (4)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (4)
49ConsoleOutput.Instance.WriteLine("Attaching Visual Studio, either a parent or the one that was started first... To specify a VS instance to use, use the PID in the option, instead of 1.", OutputLevel.Information); 60ConsoleOutput.Instance.WriteLine($"Attaching Visual Studio with PID {vsPid} to the process '{Process.GetCurrentProcess().ProcessName}({processId})'...", OutputLevel.Information); 130ConsoleOutput.Instance.WriteLine("Waiting for debugger attach...", OutputLevel.Information); 135OutputLevel.Information);
Microsoft.TestPlatform.CoreUtilities (12)
Output\ConsoleOutput.cs (5)
55public void WriteLine(string? message, OutputLevel level) 66public void Write(string? message, OutputLevel level) 70case OutputLevel.Information: 71case OutputLevel.Warning: 75case OutputLevel.Error:
Output\IOutput.cs (2)
16void WriteLine(string? message, OutputLevel level); 23void Write(string? message, OutputLevel level);
Output\OutputExtensions.cs (5)
28SetColorForAction(ConsoleColor.Red, () => Output(output, OutputLevel.Error, appendPrefix ? Resources.CommandLineError : DefaultFormat, format, args)); 40SetColorForAction(ConsoleColor.Yellow, () => Output(output, OutputLevel.Warning, appendPrefix ? Resources.CommandLineWarning : DefaultFormat, format, args)); 65SetColorForAction(foregroundColor, () => Output(output, OutputLevel.Information, appendPrefix ? Resources.CommandLineInformational : DefaultFormat, format, args)); 75public static void Write(this IOutput output, string message, OutputLevel level, ConsoleColor foregroundColor) 88private static void Output(IOutput output, OutputLevel level, string messageTypeFormat, string format, params object?[]? args)
Microsoft.TestPlatform.CrossPlatEngine (5)
Client\ProxyOperationManager.cs (2)
267OutputLevel.Warning); 275OutputLevel.Information);
DataCollection\ProxyDataCollectionManager.cs (2)
271ConsoleOutput.Instance.WriteLine(CrossPlatEngineResources.DataCollectorDebuggerWarning, OutputLevel.Warning); 274OutputLevel.Information);
PostProcessing\PostProcessingTestRunAttachmentsProcessingEventsHandler.cs (1)
60_consoleOutput.WriteLine("", OutputLevel.Information);
Microsoft.TestPlatform.Extensions.BlameDataCollector (5)
BlameLogger.cs (1)
91_output.WriteLine(string.Empty, OutputLevel.Information);
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (4)
49ConsoleOutput.Instance.WriteLine("Attaching Visual Studio, either a parent or the one that was started first... To specify a VS instance to use, use the PID in the option, instead of 1.", OutputLevel.Information); 60ConsoleOutput.Instance.WriteLine($"Attaching Visual Studio with PID {vsPid} to the process '{Process.GetCurrentProcess().ProcessName}({processId})'...", OutputLevel.Information); 130ConsoleOutput.Instance.WriteLine("Waiting for debugger attach...", OutputLevel.Information); 135OutputLevel.Information);
testhost (4)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (4)
49ConsoleOutput.Instance.WriteLine("Attaching Visual Studio, either a parent or the one that was started first... To specify a VS instance to use, use the PID in the option, instead of 1.", OutputLevel.Information); 60ConsoleOutput.Instance.WriteLine($"Attaching Visual Studio with PID {vsPid} to the process '{Process.GetCurrentProcess().ProcessName}({processId})'...", OutputLevel.Information); 130ConsoleOutput.Instance.WriteLine("Waiting for debugger attach...", OutputLevel.Information); 135OutputLevel.Information);
testhost.arm64 (4)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (4)
49ConsoleOutput.Instance.WriteLine("Attaching Visual Studio, either a parent or the one that was started first... To specify a VS instance to use, use the PID in the option, instead of 1.", OutputLevel.Information); 60ConsoleOutput.Instance.WriteLine($"Attaching Visual Studio with PID {vsPid} to the process '{Process.GetCurrentProcess().ProcessName}({processId})'...", OutputLevel.Information); 130ConsoleOutput.Instance.WriteLine("Waiting for debugger attach...", OutputLevel.Information); 135OutputLevel.Information);
testhost.x86 (4)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (4)
49ConsoleOutput.Instance.WriteLine("Attaching Visual Studio, either a parent or the one that was started first... To specify a VS instance to use, use the PID in the option, instead of 1.", OutputLevel.Information); 60ConsoleOutput.Instance.WriteLine($"Attaching Visual Studio with PID {vsPid} to the process '{Process.GetCurrentProcess().ProcessName}({processId})'...", OutputLevel.Information); 130ConsoleOutput.Instance.WriteLine("Waiting for debugger attach...", OutputLevel.Information); 135OutputLevel.Information);
vstest.console (44)
CommandLine\Executor.cs (3)
452Output.WriteLine(commandLineBanner, OutputLevel.Information); 455Output.WriteLine(string.Empty, OutputLevel.Information); 508Output.WriteLine($"vstest.console.exe {responseFileArgs}", OutputLevel.Information);
Internal\ConsoleLogger.cs (14)
371Output.WriteLine(string.Empty, OutputLevel.Information); 418Output.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestSourcesDiscovered, CommandLineOptions.Instance.Sources.Count()), OutputLevel.Information); 423Output.WriteLine(source, OutputLevel.Information); 547Output.Write(GetFormattedTestIndicator(CommandLineResources.SkippedTestIndicator), OutputLevel.Information, ConsoleColor.Yellow); 548Output.WriteLine(testDisplayName, OutputLevel.Information); 570Output.Write(GetFormattedTestIndicator(CommandLineResources.FailedTestIndicator), OutputLevel.Information, ConsoleColor.Red); 571Output.WriteLine(testDisplayName, OutputLevel.Information); 587Output.Write(GetFormattedTestIndicator(CommandLineResources.PassedTestIndicator), OutputLevel.Information, ConsoleColor.Green); 588Output.WriteLine(testDisplayName, OutputLevel.Information); 611Output.Write(GetFormattedTestIndicator(CommandLineResources.SkippedTestIndicator), OutputLevel.Information, ConsoleColor.Yellow); 612Output.WriteLine(testDisplayName, OutputLevel.Information); 676Output.WriteLine(string.Empty, OutputLevel.Information); 797Output.Write(outputLine, OutputLevel.Information, color.Value); 801Output.Write(outputLine, OutputLevel.Information);
Internal\ProgressIndicator.cs (3)
55ConsoleOutput.Write(_testRunProgressString.Substring(0, _testRunProgressString.Length + _dotCounter - 2), OutputLevel.Information); 70ConsoleOutput.Write(new string(' ', ConsoleHelper.WindowWidth - startPos), OutputLevel.Information); 104ConsoleOutput.Write(".", OutputLevel.Information);
Processors\HelpArgumentProcessor.cs (2)
161Output.WriteLine(message, OutputLevel.Information); 162Output.WriteLine(string.Empty, OutputLevel.Information);
Processors\ListExtensionsArgumentProcessor.cs (14)
85ConsoleOutput.Instance.WriteLine(CommandLineResources.AvailableDiscoverersHeaderMessage, OutputLevel.Information); 90ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 91ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.UriOfDefaultExecutor, extension.Metadata.DefaultExecutorUri), OutputLevel.Information); 92ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.SupportedFileTypesIndicator + " " + string.Join(", ", extension.Metadata.FileExtension!)), OutputLevel.Information); 122ConsoleOutput.Instance.WriteLine(CommandLineResources.AvailableExecutorsHeaderMessage, OutputLevel.Information); 127ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 128ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "Uri", extension.Metadata.ExtensionUri), OutputLevel.Information); 158ConsoleOutput.Instance.WriteLine(CommandLineResources.AvailableLoggersHeaderMessage, OutputLevel.Information); 163ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 164ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "Uri", extension.Metadata.ExtensionUri), OutputLevel.Information); 165ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "FriendlyName", string.Join(", ", extension.Metadata.FriendlyName)), OutputLevel.Information); 202ConsoleOutput.Instance.WriteLine(CommandLineResources.AvailableSettingsProvidersHeaderMessage, OutputLevel.Information); 207ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 208ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "SettingName", extension.Metadata.SettingsName), OutputLevel.Information);
Processors\ListTestsArgumentProcessor.cs (2)
177Output.WriteLine(CommandLineResources.ListTestsHeaderMessage, OutputLevel.Information); 225OutputLevel.Information);
Processors\RunSpecificTestsArgumentProcessor.cs (1)
214Output.WriteLine(CommandLineResources.StartingDiscovery, OutputLevel.Information);
Processors\RunTestsArgumentProcessor.cs (1)
146Output.WriteLine(CommandLineResources.StartingExecution, OutputLevel.Information);
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (4)
49ConsoleOutput.Instance.WriteLine("Attaching Visual Studio, either a parent or the one that was started first... To specify a VS instance to use, use the PID in the option, instead of 1.", OutputLevel.Information); 60ConsoleOutput.Instance.WriteLine($"Attaching Visual Studio with PID {vsPid} to the process '{Process.GetCurrentProcess().ProcessName}({processId})'...", OutputLevel.Information); 130ConsoleOutput.Instance.WriteLine("Waiting for debugger attach...", OutputLevel.Information); 135OutputLevel.Information);
vstest.console.arm64 (44)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (4)
49ConsoleOutput.Instance.WriteLine("Attaching Visual Studio, either a parent or the one that was started first... To specify a VS instance to use, use the PID in the option, instead of 1.", OutputLevel.Information); 60ConsoleOutput.Instance.WriteLine($"Attaching Visual Studio with PID {vsPid} to the process '{Process.GetCurrentProcess().ProcessName}({processId})'...", OutputLevel.Information); 130ConsoleOutput.Instance.WriteLine("Waiting for debugger attach...", OutputLevel.Information); 135OutputLevel.Information);
src\vstest\src\vstest.console\CommandLine\Executor.cs (3)
452Output.WriteLine(commandLineBanner, OutputLevel.Information); 455Output.WriteLine(string.Empty, OutputLevel.Information); 508Output.WriteLine($"vstest.console.exe {responseFileArgs}", OutputLevel.Information);
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (14)
371Output.WriteLine(string.Empty, OutputLevel.Information); 418Output.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestSourcesDiscovered, CommandLineOptions.Instance.Sources.Count()), OutputLevel.Information); 423Output.WriteLine(source, OutputLevel.Information); 547Output.Write(GetFormattedTestIndicator(CommandLineResources.SkippedTestIndicator), OutputLevel.Information, ConsoleColor.Yellow); 548Output.WriteLine(testDisplayName, OutputLevel.Information); 570Output.Write(GetFormattedTestIndicator(CommandLineResources.FailedTestIndicator), OutputLevel.Information, ConsoleColor.Red); 571Output.WriteLine(testDisplayName, OutputLevel.Information); 587Output.Write(GetFormattedTestIndicator(CommandLineResources.PassedTestIndicator), OutputLevel.Information, ConsoleColor.Green); 588Output.WriteLine(testDisplayName, OutputLevel.Information); 611Output.Write(GetFormattedTestIndicator(CommandLineResources.SkippedTestIndicator), OutputLevel.Information, ConsoleColor.Yellow); 612Output.WriteLine(testDisplayName, OutputLevel.Information); 676Output.WriteLine(string.Empty, OutputLevel.Information); 797Output.Write(outputLine, OutputLevel.Information, color.Value); 801Output.Write(outputLine, OutputLevel.Information);
src\vstest\src\vstest.console\Internal\ProgressIndicator.cs (3)
55ConsoleOutput.Write(_testRunProgressString.Substring(0, _testRunProgressString.Length + _dotCounter - 2), OutputLevel.Information); 70ConsoleOutput.Write(new string(' ', ConsoleHelper.WindowWidth - startPos), OutputLevel.Information); 104ConsoleOutput.Write(".", OutputLevel.Information);
src\vstest\src\vstest.console\Processors\HelpArgumentProcessor.cs (2)
161Output.WriteLine(message, OutputLevel.Information); 162Output.WriteLine(string.Empty, OutputLevel.Information);
src\vstest\src\vstest.console\Processors\ListExtensionsArgumentProcessor.cs (14)
85ConsoleOutput.Instance.WriteLine(CommandLineResources.AvailableDiscoverersHeaderMessage, OutputLevel.Information); 90ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 91ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.UriOfDefaultExecutor, extension.Metadata.DefaultExecutorUri), OutputLevel.Information); 92ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.SupportedFileTypesIndicator + " " + string.Join(", ", extension.Metadata.FileExtension!)), OutputLevel.Information); 122ConsoleOutput.Instance.WriteLine(CommandLineResources.AvailableExecutorsHeaderMessage, OutputLevel.Information); 127ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 128ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "Uri", extension.Metadata.ExtensionUri), OutputLevel.Information); 158ConsoleOutput.Instance.WriteLine(CommandLineResources.AvailableLoggersHeaderMessage, OutputLevel.Information); 163ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 164ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "Uri", extension.Metadata.ExtensionUri), OutputLevel.Information); 165ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "FriendlyName", string.Join(", ", extension.Metadata.FriendlyName)), OutputLevel.Information); 202ConsoleOutput.Instance.WriteLine(CommandLineResources.AvailableSettingsProvidersHeaderMessage, OutputLevel.Information); 207ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 208ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "SettingName", extension.Metadata.SettingsName), OutputLevel.Information);
src\vstest\src\vstest.console\Processors\ListTestsArgumentProcessor.cs (2)
177Output.WriteLine(CommandLineResources.ListTestsHeaderMessage, OutputLevel.Information); 225OutputLevel.Information);
src\vstest\src\vstest.console\Processors\RunSpecificTestsArgumentProcessor.cs (1)
214Output.WriteLine(CommandLineResources.StartingDiscovery, OutputLevel.Information);
src\vstest\src\vstest.console\Processors\RunTestsArgumentProcessor.cs (1)
146Output.WriteLine(CommandLineResources.StartingExecution, OutputLevel.Information);