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

Function getTimeForLogging

src/platform/logging/util.ts:52–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 return `Return Value: ${valueString}`;
51}
52export function getTimeForLogging(): string {
53 const date = new Date();
54 const hours = String(date.getHours()).padStart(2, '0');
55 const minutes = String(date.getMinutes()).padStart(2, '0');
56 const seconds = String(date.getSeconds()).padStart(2, '0');
57 const millis = String(date.getMilliseconds()).padStart(3, '0');
58 return `${hours}:${minutes}:${seconds}.${millis}`;
59}

Callers 2

formatMethod · 0.90
formatMessageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected