inject logger