MCPcopy Index your code
hub / github.com/microsoft/vscode / safeSendConsoleMessage

Function safeSendConsoleMessage

src/bootstrap-fork.ts:95–97  ·  view source on GitHub ↗
(severity: 'log' | 'warn' | 'error', args: string)

Source from the content-addressed store, hash-verified

93 }
94
95 function safeSendConsoleMessage(severity: 'log' | 'warn' | 'error', args: string): void {
96 safeSend({ type: '__$console', severity, arguments: args });
97 }
98
99 /**
100 * Wraps a console message so that it is transmitted to the renderer.

Callers 1

wrapConsoleMethodFunction · 0.85

Calls 1

safeSendFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…