inject logger into service