From 0aae825b03a69c240260060469a1ceaaca033eb1 Mon Sep 17 00:00:00 2001 From: RobinTTY Date: Mon, 14 Oct 2024 02:34:19 +0200 Subject: [PATCH] Remove outdated logger logic --- .../Utility/LoggerManager.cs | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 src/server/RobinTTY.PersonalFinanceDashboard.API/Utility/LoggerManager.cs diff --git a/src/server/RobinTTY.PersonalFinanceDashboard.API/Utility/LoggerManager.cs b/src/server/RobinTTY.PersonalFinanceDashboard.API/Utility/LoggerManager.cs deleted file mode 100644 index 80c7923..0000000 --- a/src/server/RobinTTY.PersonalFinanceDashboard.API/Utility/LoggerManager.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace RobinTTY.PersonalFinanceDashboard.API.Utility; - -// TODO: Setup logger -/// -/// Manages the global logger instance. -/// -public class LoggerManager -{ - /// - /// Sets up the logger and returns it. - /// - /// Instance of . - public static ILogger GetDefaultLogger() - { - var logger = new LoggerConfiguration() - .MinimumLevel.Debug() - .WriteTo.Console() - .WriteTo.File("logs/log.txt", rollingInterval: RollingInterval.Day) - .CreateLogger(); - - Log.Logger = logger; - return logger; - } -} \ No newline at end of file