Added mocked logger to plugin