timeEnd(startTime, message, metadata = {}, metadataStyles, level = levels.DEBUG, options) {
    const now = Date.now();

    const diffTime = now - startTime;

    if (diffTime < 1000) {
      metadata.readableTime = `${diffTime}ms`;
    } else {
      const seconds = diffTime > 1000 && Math.floor(diffTime / 1000);

      metadata.readableTime = `${seconds ? `${seconds}s and ` : ''}${diffTime - seconds * 1000}ms`;
    }

    metadata.timeMs = diffTime;
    this.log(message, metadata, level, Object.assign({}, options, { metadataStyles }));
  }
/**
   * Finds difference between when this method
   * was called and when the respective time method
   * was called, then logs out the difference
   * and deletes the original record
   */
Finds difference between when this method
was called and when the respective time method
was called, then logs out the difference
and deletes the original record
Finds difference between when this method was called and when the respective time method was called then logs out the difference and deletes the original record
timeEnd(startTime, message, metadata = {}, metadataStyles, level = levels.DEBUG, options) {
    const now = Date.now();
    const diffTime = now - startTime;
    if (diffTime < 1000) {
      metadata.readableTime = `${diffTime}ms`;
    } else {
      const seconds = diffTime > 1000 && Math.floor(diffTime / 1000);
      metadata.readableTime = `${seconds ? `${seconds}s and ` : ''}${diffTime - seconds * 1000}ms`;
    }
    metadata.timeMs = diffTime;
    this.log(message, metadata, level, Object.assign({}, options, { metadataStyles }));
  }
timeEnd ( startTime , message , metadata = { } , metadataStyles , level = levels . DEBUG , options ) { const now = Date . now ( ) ; const diffTime = now - startTime ; if ( diffTime < 1000 ) { metadata . readableTime = ` ${ diffTime } ` ; } else { const seconds = diffTime > 1000 && Math . floor ( diffTime / 1000 ) ; metadata . readableTime = ` ${ seconds ? ` ${ seconds } ` : '' } ${ diffTime - seconds * 1000 } ` ; } metadata . timeMs = diffTime ; this . log ( message , metadata , level , Object . assign ( { } , options , { metadataStyles } ) ) ; }
Finds difference between when this method
 was called and when the respective time method
 was called, then logs out the difference
 and deletes the original record
Finds difference between when this method was called and when the respective time method was called then logs out the difference and deletes the original record