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

Method appendAtLevel

Extension/src/logger.ts:31–39  ·  view source on GitHub ↗
(level: number, message: string)

Source from the content-addressed store, hash-verified

29 }
30
31 public appendAtLevel(level: number, message: string): void {
32 if (getLoggingLevel() >= level) {
33 this.writer(message);
34 if (Subscriber) {
35 Subscriber(message);
36 }
37 }
38 sendInstrumentation({ name: 'log', text: message, context: { channel: 'log', source: 'extension' }, level });
39 }
40
41 public append(message: string): void {
42 this.appendAtLevel(0, message);

Callers 4

appendMethod · 0.95
appendLineAtLevelMethod · 0.95
appendLineMethod · 0.95
spawnChildProcessImplFunction · 0.80

Calls 3

getLoggingLevelFunction · 0.90
sendInstrumentationFunction · 0.90
SubscriberInterface · 0.85

Tested by

no test coverage detected