Replacing error-logger by its dependency