(text: string, command: Command)
| 271 | } |
| 272 | |
| 273 | logCommandText(text: string, command: Command) { |
| 274 | if (this.hide.includes(String(command.index)) || this.hide.includes(command.name)) { |
| 275 | return; |
| 276 | } |
| 277 | |
| 278 | const prefix = this.colorText(command, this.getPrefix(command)); |
| 279 | return this.log(prefix + (prefix ? ' ' : ''), text, command); |
| 280 | } |
| 281 | |
| 282 | /** |
| 283 | * Logs a global event (e.g. sending signals to processes). |
no test coverage detected