Inject the logger into the repositories.