From 290034d6d7acdf9535775513fc32f59cb6548629 Mon Sep 17 00:00:00 2001 From: AliveDevil Date: Mon, 19 Aug 2024 13:00:30 +0200 Subject: [PATCH] Thought about output level. All messages on StdErr should end up in logger That is Message Error: Message (Additional Information: B) Should end up as Error Level: "Message", Warning Level: " (Additional Information: B)" NoWarn hides messages completely in IkvmImporterInternal.IssueMessage --- src/IKVM.Tools.Runner/Importer/IkvmImporterLauncher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IKVM.Tools.Runner/Importer/IkvmImporterLauncher.cs b/src/IKVM.Tools.Runner/Importer/IkvmImporterLauncher.cs index e25aac5eb..d695a68f5 100644 --- a/src/IKVM.Tools.Runner/Importer/IkvmImporterLauncher.cs +++ b/src/IKVM.Tools.Runner/Importer/IkvmImporterLauncher.cs @@ -299,7 +299,7 @@ public async Task ExecuteAsync(IkvmImporterOptions options, CancellationTok await LogEvent(IkvmToolDiagnosticEventLevel.Debug, "Executing {0} {1}", cli.TargetFilePath, cli.Arguments); // send output to MSBuild - cli = cli.WithStandardErrorPipe(PipeTarget.ToDelegate(i => LogEvent(IkvmToolDiagnosticEventLevel.Information, i))); + cli = cli.WithStandardErrorPipe(PipeTarget.ToDelegate(i => LogEvent(IkvmToolDiagnosticEventLevel.Warning, i))); cli = cli.WithStandardOutputPipe(PipeTarget.ToDelegate(i => LogEvent(IkvmToolDiagnosticEventLevel.Debug, i))); // combine manual cancellation with timeout