* Starts capturing the writes to process.stdout
()
| 39 | * Starts capturing the writes to process.stdout |
| 40 | */ |
| 41 | startCapture() { |
| 42 | // eslint-disable-next-line @typescript-eslint/unbound-method |
| 43 | this._orig_stdout_write = process.stdout.write |
| 44 | // @ts-ignore |
| 45 | process.stdout.write = this._writeCapture.bind(this) |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Stops capturing the writes to process.stdout. |