MCPcopy Create free account
hub / github.com/angular/angular / nowString

Function nowString

vscode-ng-language-service/server/src/logger.ts:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65function noop(_?: {} | null | undefined): void {} // tslint:disable-line no-empty
66
67function nowString() {
68 // E.g. "12:34:56.789"
69 const d = new Date();
70 return `${d.getHours()}:${d.getMinutes()}:${d.getSeconds()}.${d.getMilliseconds()}`;
71}
72
73class Logger implements ts.server.Logger {
74 private readonly fd: number;

Callers 1

msgMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected