ColoredConsoleTarget - Allow using Condition-logic for word highlighting rules#3891
Conversation
…to apply word highlighting rule
Yes I'm missing unit-tests. Just playing around with comparing Microsoft AddConsole and NLog ColoredConsole. Noticed that Microsoft AddConsole is not cheap. See also: https://github.com/NLog/NLog.Extensions.Logging/wiki/NLog-Console-and-AddConsole |
dd2c594 to
21d720f
Compare
21d720f to
3029d44
Compare
c8ceabf to
45f111a
Compare
|
@304NotModified Was just in a battle with old code-smells, and needed some retries before it worked. Also the Azure-Build-Server sometimes like to timeout, so one needs an extra runs. |
|
Well it's stuck on azure then,as the timeout is 60min and it should be < 20min. |
526cbd9 to
04e93a5
Compare
04e93a5 to
38a6d47
Compare
|
Sigh. Now my refactoring revealed that we never really tested other control-characters than newline. New unit-test is needed. |
38a6d47 to
0546794
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
So convert this PR to draft? Or is this fixed in the force push? |
Fixed as code-coverage is back at 100% |
|
ow indeed! NICE! |
|
Thanks! merged! |
|
Updated wiki: https://github.com/NLog/NLog/wiki/ColoredConsole-target |




Condition-Logic is also faster than RegEx. Especially when combined with #3894