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