code: void logSnapshot(CallInfo callInfo, DataSet data) {
      if (isEnabled(Option.LOG_SNAPSHOTS)) {
        log.write(callInfo, data);
      }
    }
docs: Log query result.
  @param callInfo Call info.
  @param data Data set.