Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All output in terminal logger #5083

Merged
merged 4 commits into from
Jun 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
output as important
  • Loading branch information
nohwnd committed Jun 3, 2024
commit bba451e5472d6dc254c732a14d33e74c645d8283
6 changes: 3 additions & 3 deletions src/Microsoft.TestPlatform.Build/Tasks/VSTestTask2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public VSTestTask2()
// Unless user opted out, use UTF encoding, which we force in vstest.console.
_disableUtf8ConsoleEncoding = Environment.GetEnvironmentVariable("VSTEST_DISABLE_UTF8_CONSOLE_ENCODING") == "1";
LogStandardErrorAsError = false;
StandardOutputImportance = "Normal";
StandardOutputImportance = "High";
}

protected override void LogEventsFromTextOutput(string singleLine, MessageImportance messageImportance)
Expand All @@ -73,7 +73,7 @@ protected override void LogEventsFromTextOutput(string singleLine, MessageImport
{
// Forward the output we receive as messages.
case "output-info":
Log.LogMessage(MessageImportance.Low, data[0]);
Log.LogMessage(MessageImportance.High, data[0]);
break;
case "output-warning":
Log.LogWarning(data[0]);
Expand Down Expand Up @@ -213,7 +213,7 @@ protected override void LogEventsFromTextOutput(string singleLine, MessageImport

if (!StringUtils.IsNullOrWhiteSpace(singleLine))
{
Log.LogMessage(MessageImportance.Low, singleLine);
Log.LogMessage(MessageImportance.High, singleLine + " --interactive");
}
}
}
Expand Down