code: function wrapRedact (logContext, redactors) {
    logContext.redactors = redactors.map(redactor => {
      if (typeof redactor === 'string') return stringRedactor(redactor)
      else if (redactor instanceof RegExp) return regexRedactor(redactor)
      else if (typeof redactor === 'function') return redactor
      else {
        throw new Error(`Redactor type not supported: ${redactor}`)
      }
    })
    return (value) => logContext.redactors.reduce((val, redactor) => redactor(val), value)
  }
docs: Redaction