Skip to content

Commit d7ec0c1

Browse files
committed
Add padding and Remove one newline indicating Exception
1 parent caf7cb5 commit d7ec0c1

File tree

1 file changed

+2
-2
lines changed
  • Flow.Launcher.Infrastructure/Logger

1 file changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/Logger/Log.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ static Log()
3131

3232
const string layout =
3333
@"${date:format=HH\:mm\:ss.ffffK} - " +
34-
@"${level:uppercase=true} - ${logger} - ${message:l}" +
35-
@"${onexception:${newline}${newline}" +
34+
@"${level:uppercase=true:padding=-5} - ${logger} - ${message:l}" +
35+
@"${onexception:${newline}" +
3636
@"EXCEPTION OCCURS\: ${exception:format=tostring}${newline}}";
3737

3838
var fileTarget = new FileTarget

0 commit comments

Comments
 (0)