declarativ service for registering console logger