Skip to content

Commit

Permalink
fix: incorrect logging commands used for issues (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewingjm authored Apr 15, 2021
1 parent 72944ae commit ba06bb5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ public override void Log<TState>(LogLevel logLevel, EventId eventId, TState stat
switch (logLevel)
{
case LogLevel.Warning:
Console.Write($"##[task.logissue type=warning]{message}");
Console.WriteLine($"##vso[task.logissue type=warning]{message}");
break;
case LogLevel.Error:
case LogLevel.Critical:
Console.WriteLine($"##[task.logissue type=error]{message}");
Console.WriteLine($"##vso[task.logissue type=error]{message}");
break;
}
}
}
}
}

0 comments on commit ba06bb5

Please sign in to comment.