code: function preserveLog(name: string) {
    return function preserveLogHandler(...args: *[]) {
      suppressedLogs.push({
        args,
        type: name,
      });
    };
  }
docs: Curries a function that preserves the original console message.