MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / returnValueToLogString

Function returnValueToLogString

src/platform/logging/util.ts:48–51  ·  view source on GitHub ↗
(returnValue: unknown)

Source from the content-addressed store, hash-verified

46// Convert the given return value into a string
47// suitable to be used in a log message.
48export function returnValueToLogString(returnValue: unknown): string {
49 const valueString = valueToLogString(returnValue, 'Return value');
50 return `Return Value: ${valueString}`;
51}
52export function getTimeForLogging(): string {
53 const date = new Date();
54 const hours = String(date.getHours()).padStart(2, '0');

Callers 1

formatMessagesFunction · 0.90

Calls 1

valueToLogStringFunction · 0.85

Tested by

no test coverage detected