Only send errors matching PHP's error_reporting level, add a function to override this