diff options
author | vnugent <public@vaughnnugent.com> | 2023-07-28 18:11:14 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-07-28 18:11:14 -0400 |
commit | effb0538dbe26553992b883472df5bba4f46a4d3 (patch) | |
tree | bed440536286453a7fa49a5ef2185307859067e1 /plugins/SessionProvider/src/SessionProviderEntry.cs | |
parent | e484f5478eee916c500a730cceb6cf448c959ce7 (diff) |
Extensions, package, and api updates
Diffstat (limited to 'plugins/SessionProvider/src/SessionProviderEntry.cs')
-rw-r--r-- | plugins/SessionProvider/src/SessionProviderEntry.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/SessionProvider/src/SessionProviderEntry.cs b/plugins/SessionProvider/src/SessionProviderEntry.cs index acd8bcc..fc60eb4 100644 --- a/plugins/SessionProvider/src/SessionProviderEntry.cs +++ b/plugins/SessionProvider/src/SessionProviderEntry.cs @@ -89,12 +89,12 @@ namespace VNLib.Plugins.Essentials.Sessions try { //Create localized log - LocalizedLogProvider log = new(Log, $"{Path.GetFileName(asm)}"); + ILogProvider scopded = Log.CreateScope(Path.GetFileName(asm)); RuntimeSessionProvider p = new(prov); //Call load method - p.Load(this, log); + p.Load(this, scopded); //Add to list providers.Add(p); @@ -148,6 +148,7 @@ namespace VNLib.Plugins.Essentials.Sessions private sealed class SessionProvider : VnDisposeable, ISessionProvider, IDisposable { + //Default to an empty array for default support even if no runtime providers are loaded private RuntimeSessionProvider[] ProviderArray = Array.Empty<RuntimeSessionProvider>(); public SessionProvider(RuntimeSessionProvider[] loaded) |