-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -239,6 +239,12 @@ type ConsoleTraceListener(importantMessagesToStdErr, colorMap, ansiColor) = | |
write importantMessagesToStdErr color true text | ||
| TraceData.LogMessage(text, newLine) | TraceData.TraceMessage(text, newLine) -> | ||
write false color newLine text | ||
| TraceData.OpenTag(KnownTags.Target _ as tag, description) -> | ||
write false color true (sprintf "Starting %s '%s'" tag.Type tag.Name) | ||
if not (isNull description) then | ||
let msg = TraceData.TraceMessage("", true) | ||
let color2 = colorMap msg | ||
write false color2 true (sprintf " %s" description) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
matthid
Author
Member
|
||
| TraceData.OpenTag (tag, descr) -> | ||
write false color true (sprintf "Starting %s '%s': %s" tag.Type tag.Name descr) | ||
| TraceData.CloseTag (tag, time, status) -> | ||
|
Why are we adding a blank space here ?
I think it make the display strange when using multiline description.