Properly assign axe's error logger to console.error().