MCPcopy Create free account
hub / github.com/tiann/hapi / localTimezoneTimestamp

Method localTimezoneTimestamp

cli/src/ui/logger.ts:63–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 // Use local timezone for simplicity of locating the logs,
62 // in practice you will not need absolute timestamps
63 localTimezoneTimestamp(): string {
64 return createTimestampForLogEntry()
65 }
66
67 debug(message: string, ...args: unknown[]): void {
68 this.logToFile(`[${this.localTimezoneTimestamp()}]`, message, ...args)

Callers 3

debugMethod · 0.95
debugLargeJsonMethod · 0.95
logToFileMethod · 0.95

Calls 1

Tested by

no test coverage detected