Fix logging in plugins
Currently logging in plugins is broken. The reason is both our Logger and spdlog logger are singletons - We need to pass our logger (and maybe a 'context' overall in case we need to pass other things in future) into a shared library plugin when we load it. Inside the shared library we need to register the logger (and spdlog logger) so the library doesn't create its own duplicate one.