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

Function getOutputChannelLogger

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

Source from the content-addressed store, hash-verified

131let outputChannelLogger: Logger | undefined;
132
133export function getOutputChannelLogger(): Logger {
134 if (!outputChannelLogger) {
135 outputChannelLogger = new Logger(message => getOutputChannel().append(message));
136 }
137 return outputChannelLogger;
138}
139
140export function log(output: string): void {
141 getOutputChannel().appendLine(`${output}`);

Callers 15

spawnChildProcessFunction · 0.90
spawnChildProcessImplFunction · 0.90
allowExecutionFunction · 0.90
checkDistroFunction · 0.90
expandStringFunction · 0.90
expandStringImplFunction · 0.90
onDataMethod · 0.90
getDotconfigDefinesMethod · 0.90
onDidChangeSettingsMethod · 0.90

Calls 2

getOutputChannelFunction · 0.85
appendMethod · 0.65

Tested by

no test coverage detected