constructor(opts = {}) {
    // set this option to have winston handle uncaught exceptions
    // See: https://github.com/winstonjs/winston#handling-uncaught-exceptions-with-winston
    opts.handleExceptions = true
    super(opts)
    this.name = 'newrelic'
    this.agent = opts.agent
    this.config = opts.agent.config
  }
Transport used to prepare a log line and add to the new relic agent
log aggregator.

Note*: This copies the log line so no other transports will get the
mutated data.