* Show an error message in the remote console and log to file. * * @param message The message to show.
(message: string)
| 716 | * @param message The message to show. |
| 717 | */ |
| 718 | error(message: string): void { |
| 719 | if (this.logToConsole) { |
| 720 | this.connection.console.error(message); |
| 721 | } |
| 722 | this.logger.msg(message, ts.server.Msg.Err); |
| 723 | } |
| 724 | |
| 725 | /** |
| 726 | * Show a warning message in the remote console and log to file. |
no test coverage detected