docs: function AnalyticsEventEmitter(logger, utils, CONSTANT, onErrorCallback, optionalArguments, serviceName) {
    'use strict';
  
    this.logger = logger || {};
    this.utils = utils || {};
    this.CONSTANT = CONSTANT || {};
  
    optionalArguments = optionalArguments || {};
  
    this.settings = optionalArguments.settings;
    this.reportEventDelay = optionalArguments.reportEventInterval;
    
    if(serviceName) {
      this.networkRequestServiceName = serviceName;
    }
  
    // Register onErrorCallback callback
    this.on('error', onErrorCallback || function (err) {
      this.logger.log('Emitted an error event: ' + err);
    });
  }