Add plugin factory initialization logs

This commit is contained in:
Thorsten Sommer 2025-06-02 15:29:35 +02:00
parent 49d6b8cf60
commit 3cf3f2d817
No known key found for this signature in database
GPG Key ID: B0B7E2FC074BF1F5

View File

@ -27,6 +27,7 @@ public static partial class PluginFactory
if(IS_INITIALIZED) if(IS_INITIALIZED)
return false; return false;
LOG.LogInformation("Initializing plugin factory...");
DATA_DIR = SettingsManager.DataDirectory!; DATA_DIR = SettingsManager.DataDirectory!;
PLUGINS_ROOT = Path.Join(DATA_DIR, "plugins"); PLUGINS_ROOT = Path.Join(DATA_DIR, "plugins");
INTERNAL_PLUGINS_ROOT = Path.Join(PLUGINS_ROOT, ".internal"); INTERNAL_PLUGINS_ROOT = Path.Join(PLUGINS_ROOT, ".internal");
@ -37,7 +38,7 @@ public static partial class PluginFactory
HOT_RELOAD_WATCHER = new(PLUGINS_ROOT); HOT_RELOAD_WATCHER = new(PLUGINS_ROOT);
IS_INITIALIZED = true; IS_INITIALIZED = true;
LOG.LogInformation("Plugin factory initialized successfully.");
return true; return true;
} }