mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-10 11:58:19 +02:00
Configure log4net loggers
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user