mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
CherryPick Adjust Logging Layout
This commit is contained in:
parent
486048c884
commit
caf7cb5188
1 changed files with 5 additions and 1 deletions
|
|
@ -29,7 +29,11 @@ namespace Flow.Launcher.Infrastructure.Logger
|
|||
|
||||
var configuration = new LoggingConfiguration();
|
||||
|
||||
const string layout = @"${logger}->${time}|${level}|${message}|${onexception:inner=${logger}->${date:format=HH\:mm\:ss}|${level}|${message}|${newline}${exception:format=toString}${newline}";
|
||||
const string layout =
|
||||
@"${date:format=HH\:mm\:ss.ffffK} - " +
|
||||
@"${level:uppercase=true} - ${logger} - ${message:l}" +
|
||||
@"${onexception:${newline}${newline}" +
|
||||
@"EXCEPTION OCCURS\: ${exception:format=tostring}${newline}}";
|
||||
|
||||
var fileTarget = new FileTarget
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue