Right now, the logger extension doesn't have any affect on the hocuspocus instances debugger property. I'm not sure if it was intended to work this way, but I feel that it would make much more sense for the logger to be accessible in other extensions such that we are able to control how logs are handled in pre-built extensions, i.e. redis and have a generic way of exposing a global logger to all extensions.
I've also added some other common methods such as debug and info, which most common loggers would expose.
Right now, the logger extension doesn't have any affect on the hocuspocus instances debugger property. I'm not sure if it was intended to work this way, but I feel that it would make much more sense for the logger to be accessible in other extensions such that we are able to control how logs are handled in pre-built extensions, i.e. redis and have a generic way of exposing a global logger to all extensions.
I've also added some other common methods such as
debug
andinfo
, which most common loggers would expose.