mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Logging - Changed file extesion of log files from .txt to .log
This commit is contained in:
1 parent
a2df88bab9
commit
7000110dcb
1 file changed
+1
-1
@@ -13,7 +13,7 @@ namespace Artemis.Core.Ninject
|
||||
private static readonly ILogger Logger = new LoggerConfiguration()
|
||||
.Enrich.FromLogContext()
|
||||
.Enrich.WithDemystifiedStackTraces()
|
||||
.WriteTo.File(Constants.DataFolder + "logs/Artemis log-.txt",
|
||||
.WriteTo.File(Constants.DataFolder + "logs/Artemis log-.log",
|
||||
rollingInterval: RollingInterval.Day,
|
||||
outputTemplate: "{Timestamp:yyyy-MM-dd HH:mm:ss.fff} [{Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}")
|
||||
.WriteTo.Debug()
|
||||
|
||||
Reference in new issue
Block a user