()
| 89 | export let sshChannel: vscode.OutputChannel | undefined; |
| 90 | |
| 91 | export function getOutputChannel(): vscode.OutputChannel { |
| 92 | if (!outputChannel) { |
| 93 | outputChannel = vscode.window.createOutputChannel(CppSourceStr); |
| 94 | // Do not use CppSettings to avoid circular require() |
| 95 | const loggingLevel = getLoggingLevel(); |
| 96 | if (loggingLevel > 1) { |
| 97 | outputChannel.appendLine(`loggingLevel: ${loggingLevel}`); |
| 98 | } |
| 99 | } |
| 100 | return outputChannel; |
| 101 | } |
| 102 | |
| 103 | export function getDiagnosticsChannel(): vscode.OutputChannel { |
| 104 | if (!diagnosticsChannel) { |
no test coverage detected