Closed wintonpc closed 5 years ago
Using the output template {Timestamp:HH:mm:ss.fff} {Logger} [{Level:u3}] {Message}{NewLine}{Exception}, a double newline is rendered when there is no exception: one from {NewLine} and one from _testOutputHelper.WriteLine().
{Timestamp:HH:mm:ss.fff} {Logger} [{Level:u3}] {Message}{NewLine}{Exception}
{NewLine}
_testOutputHelper.WriteLine()
This PR removes the extra newline.
Related issue: https://github.com/serilog/serilog-sinks-debug/issues/3
Approved. Thanks for your contribution.
Using the output template
{Timestamp:HH:mm:ss.fff} {Logger} [{Level:u3}] {Message}{NewLine}{Exception}
, a double newline is rendered when there is no exception: one from{NewLine}
and one from_testOutputHelper.WriteLine()
.This PR removes the extra newline.
Related issue: https://github.com/serilog/serilog-sinks-debug/issues/3