logOnlyFirstTime_(eventCode) {
    if (!this.firstEventLogged_.has(eventCode)) {
      this.log_(eventCode);
      this.firstEventLogged_.add(eventCode);
    }
  }
/**
   * Logs the given event code. Subsequent calls of this method with the same
   * event code have no effect on the this PDFMetrics instance.
   *
   * @param {number} eventCode event code to log.
   * @private
   */
Logs the given event code. Subsequent calls of this method with the same
event code have no effect on the this PDFMetrics instance.

@param {number} eventCode event code to log.
@private
Logs the given event code . Subsequent calls of this method with the same event code have no effect on the this PDFMetrics instance . @param { number } eventCode event code to log . @private
logOnlyFirstTime_(eventCode) {
    if (!this.firstEventLogged_.has(eventCode)) {
      this.log_(eventCode);
      this.firstEventLogged_.add(eventCode);
    }
  }
logOnlyFirstTime_ ( eventCode ) { if ( ! this . firstEventLogged_ . has ( eventCode ) ) { this . log_ ( eventCode ) ; this . firstEventLogged_ . add ( eventCode ) ; } }
Logs the given event code.
Logs the given event code .