chore: now using the rotating log files

This commit is contained in:
2025-08-09 19:52:42 +03:00
parent 89e6ed0687
commit 6bee6f44c4
2 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,4 @@
using System;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Graphics;
using Engine.Core;
using Engine.Core.Debug;
@@ -13,7 +11,7 @@ Universe universe = new();
ISerializer serializer = new YamlSerializer();
ILogger logger = new FileLogger($"Logs/{DateTime.UtcNow:yyyy-MM-dd_HH-mm-ss-ffffff}.log");
ILogger logger = new RotatingFileLogger("Logs", "MyGame");
#if DEBUG
logger = new LoggerWrapper(logger, new ConsoleLogger());