MCPcopy
hub / github.com/prisma/prisma / formatTimestamp

Method formatTimestamp

packages/query-plan-executor/src/log/format.ts:103–108  ·  view source on GitHub ↗
(timestamp: Temporal.Instant)

Source from the content-addressed store, hash-verified

101 }
102
103 private static formatTimestamp(timestamp: Temporal.Instant): Fragment {
104 return {
105 fmt: '%c%s%c',
106 params: ['color: gray', timestamp.toString(), 'color: initial'],
107 }
108 }
109
110 private static formatMessage(message: string): Fragment {
111 return { fmt: '%s', params: [message] }

Callers 1

formatMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected