fix: only show time in log line

This commit is contained in:
goat 2021-01-11 21:04:11 +01:00
parent f1303595a0
commit a5d8d86006

View file

@ -59,7 +59,7 @@ namespace Dalamud {
#endif #endif
var newLogger = new LoggerConfiguration() var newLogger = new LoggerConfiguration()
.WriteTo.Async(a => a.File(logPath)) .WriteTo.Async(a => a.File(logPath, outputTemplate: "{Timestamp:HH:mm:ss.fff}[{Level:u3}] {Message:lj}{NewLine}{Exception}"))
.WriteTo.EventSink() .WriteTo.EventSink()
.MinimumLevel.ControlledBy(levelSwitch) .MinimumLevel.ControlledBy(levelSwitch)
.CreateLogger(); .CreateLogger();