error(e, title = `Log`, logError = true, allowInProd = false, report = true) {
    this.doLog(e, title, null, logError, report, true);

    if (IS_PROD && !allowInProd) {
      return;
    }

    if (!isEmpty(title)) {
      clp({
        color: 'white',
        background: 'red',
        message: title,
      });
    }

    clp({
      color: 'red',
      message: e,
    });
  }
@param e - error
@param title - Title
@param logError - should log the error to the log file
@param allowInProd - display the error in production
@param report - should report the error to crashanalytics services