mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-06 08:45:32 +00:00
Fixed message formatting on file targets
This commit is contained in:
@@ -38,7 +38,7 @@ namespace LogExporter.Strategy
|
||||
|
||||
public FileExportStrategy(string filePath)
|
||||
{
|
||||
_sender = new LoggerConfiguration().WriteTo.File(filePath, outputTemplate:"{Message}{Newline}").CreateLogger();
|
||||
_sender = new LoggerConfiguration().WriteTo.File(filePath, outputTemplate: "{Message:lj}{Newline}").CreateLogger();
|
||||
}
|
||||
|
||||
#endregion constructor
|
||||
|
||||
Reference in New Issue
Block a user