From 660f6a16480e94564c0037328688735a779737e6 Mon Sep 17 00:00:00 2001 From: glax Date: Wed, 20 Sep 2023 13:28:09 +0200 Subject: [PATCH] Logmessages for creation of library and notification Connector --- Tranga/LibraryConnectors/LibraryConnector.cs | 1 + Tranga/NotificationConnectors/NotificationConnector.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Tranga/LibraryConnectors/LibraryConnector.cs b/Tranga/LibraryConnectors/LibraryConnector.cs index cbf4446..5da0131 100644 --- a/Tranga/LibraryConnectors/LibraryConnector.cs +++ b/Tranga/LibraryConnectors/LibraryConnector.cs @@ -21,6 +21,7 @@ public abstract class LibraryConnector : GlobalBase protected LibraryConnector(GlobalBase clone, string baseUrl, string auth, LibraryType libraryType) : base(clone) { + Log($"Creating libraryConnector {Enum.GetName(libraryType)}"); Regex urlRex = new(@"https?:\/\/[0-9A-z\.]*"); if (!urlRex.IsMatch(baseUrl)) throw new ArgumentException("Base url does not match pattern"); diff --git a/Tranga/NotificationConnectors/NotificationConnector.cs b/Tranga/NotificationConnectors/NotificationConnector.cs index 7734371..c497657 100644 --- a/Tranga/NotificationConnectors/NotificationConnector.cs +++ b/Tranga/NotificationConnectors/NotificationConnector.cs @@ -6,6 +6,7 @@ public abstract class NotificationConnector : GlobalBase protected NotificationConnector(GlobalBase clone, NotificationConnectorType notificationConnectorType) : base(clone) { + Log($"Creating notificationConnector {Enum.GetName(notificationConnectorType)}"); this.notificationConnectorType = notificationConnectorType; }