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

@param error  the error.
@param custom the extra information.