* Output an error message.
(label: string, text?: string)
| 153 | * Output an error message. |
| 154 | */ |
| 155 | outputError(label: string, text?: string): void { |
| 156 | if (this.disabled) return |
| 157 | const message = text ? `${label} ${text}\n` : `${label}\n` |
| 158 | this.stderr.write(message) |
| 159 | } |
| 160 | |
| 161 | /** |
| 162 | * Write raw text to stdout (for streaming). |