code: public void critical(Throwable error, Map<String, Object> custom) {
      critical(error, custom, null);
    }
docs: Record a critical error with extra information attached.
  
  @param error  the error.
  @param custom the extra information.