MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / getOutputChannel

Function getOutputChannel

Extension/src/logger.ts:91–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89export let sshChannel: vscode.OutputChannel | undefined;
90
91export 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
103export function getDiagnosticsChannel(): vscode.OutputChannel {
104 if (!diagnosticsChannel) {

Callers 5

showOutputChannelFunction · 0.85
getOutputChannelLoggerFunction · 0.85
logFunction · 0.85

Calls 2

getLoggingLevelFunction · 0.90
appendLineMethod · 0.80

Tested by

no test coverage detected