function EventLogger(fileOperationManager) {
  this.events = [];
  this.numberOfBeginEvents = 0;
  this.numberOfErrorEvents = 0;
  this.numberOfSuccessEvents = 0;
  fileOperationManager.addEventListener('copy-progress',
      this.onCopyProgress_.bind(this));
}
/**
 * Logs events of file operation manager.
 * @param {!FileOperationManager} fileOperationManager A target file operation
 *     manager.
 * @constructor
 * @struct
 */
Logs events of file operation manager.
@param {!FileOperationManager} fileOperationManager A target file operation
manager.
@constructor
@struct
Logs events of file operation manager . @param { !FileOperationManager } fileOperationManager A target file operation manager . @constructor @struct
function EventLogger(fileOperationManager) {
  this.events = [];
  this.numberOfBeginEvents = 0;
  this.numberOfErrorEvents = 0;
  this.numberOfSuccessEvents = 0;
  fileOperationManager.addEventListener('copy-progress',
      this.onCopyProgress_.bind(this));
}
function EventLogger ( fileOperationManager ) { this . events = [ ] ; this . numberOfBeginEvents = 0 ; this . numberOfErrorEvents = 0 ; this . numberOfSuccessEvents = 0 ; fileOperationManager . addEventListener ( 'copy-progress' , this . onCopyProgress_ . bind ( this ) ) ; }
Logs events of file operation manager.
Logs events of file operation manager .