Another module was using a class named "LogService" thus probably conflicting with the one described above. Removing the class solved the issue.