Configure log4net loggers

This commit is contained in:
2025-09-05 15:31:06 +02:00
parent 62090d1677
commit 8439b8b2ab
3 changed files with 26 additions and 3 deletions

View File

@@ -41,9 +41,9 @@ public static class Tranga
internal static readonly RemoveOldNotificationsWorker RemoveOldNotificationsWorker = new();
internal static readonly UpdateCoversWorker UpdateCoversWorker = new();
internal static void StartLogger()
internal static void StartLogger(FileInfo loggerConfigFile)
{
BasicConfigurator.Configure();
XmlConfigurator.ConfigureAndWatch(loggerConfigFile);
Log.Info("Logger Configured.");
Log.Info(TRANGA);
}