Use scoped loggers

This enables finer control over logging for applications using the plugin