exitLog (msg, type = 'log') {
    this.generator.exitLogs.push({ id: this.id, msg, type })
  }
Add a message to be printed when the generator exits (after any other standard messages).

@param {} msg String or value to print after the generation is completed
@param {('log'|'info'|'done'|'warn'|'error')} [type='log'] Type of message