timeEnd(startTime, message, metadata = {}, metadataStyles, level = levels.DEBUG, options) {
    let _startTimeType = t.number();

    let _messageType19 = t.string();

    let _metadataType21 = t.object();

    let _metadataStylesType20 = t.nullable(t.object());

    let _levelType4 = t.number();

    let _optionsType2 = t.nullable(t.object());

    t.param('startTime', _startTimeType).assert(startTime);
    t.param('message', _messageType19).assert(message);
    t.param('metadata', _metadataType21).assert(metadata);
    t.param('metadataStyles', _metadataStylesType20).assert(metadataStyles);
    t.param('level', _levelType4).assert(level);
    t.param('options', _optionsType2).assert(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) {
    let _startTimeType = t.number();
    let _messageType19 = t.string();
    let _metadataType21 = t.object();
    let _metadataStylesType20 = t.nullable(t.object());
    let _levelType4 = t.number();
    let _optionsType2 = t.nullable(t.object());
    t.param('startTime', _startTimeType).assert(startTime);
    t.param('message', _messageType19).assert(message);
    t.param('metadata', _metadataType21).assert(metadata);
    t.param('metadataStyles', _metadataStylesType20).assert(metadataStyles);
    t.param('level', _levelType4).assert(level);
    t.param('options', _optionsType2).assert(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 ) { let _startTimeType = t . number ( ) ; let _messageType19 = t . string ( ) ; let _metadataType21 = t . object ( ) ; let _metadataStylesType20 = t . nullable ( t . object ( ) ) ; let _levelType4 = t . number ( ) ; let _optionsType2 = t . nullable ( t . object ( ) ) ; t . param ( 'startTime' , _startTimeType ) . assert ( startTime ) ; t . param ( 'message' , _messageType19 ) . assert ( message ) ; t . param ( 'metadata' , _metadataType21 ) . assert ( metadata ) ; t . param ( 'metadataStyles' , _metadataStylesType20 ) . assert ( metadataStyles ) ; t . param ( 'level' , _levelType4 ) . assert ( level ) ; t . param ( 'options' , _optionsType2 ) . assert ( 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