Always create and use MemoryLogger

This commit is contained in:
2023-05-21 02:10:32 +02:00
parent 554f6b4acc
commit fe52d2c3b5
2 changed files with 10 additions and 6 deletions

View File

@ -14,7 +14,7 @@ public static class Tranga_Cli
{
public static void Main(string[] args)
{
Logger logger = new(new[] { Logger.LoggerType.FileLogger, Logger.LoggerType.MemoryLogger }, null, null,
Logger logger = new(new[] { Logger.LoggerType.FileLogger }, null, null,
Path.Join(Directory.GetCurrentDirectory(), $"log-{DateTime.Now:dd-M-yyyy-HH-mm-ss}.txt"));
logger.WriteLine("Tranga_CLI", "Loading Settings.");