Provide method for setting the level of error reporting