MCPcopy Create free account
hub / github.com/Effect-TS/effect / render

Function render

packages/effect/src/internal/logSpan.ts:17–20  ·  view source on GitHub ↗
(now: number)

Source from the content-addressed store, hash-verified

15
16/** @internal */
17export const render = (now: number) => (self: LogSpan.LogSpan): string => {
18 const label = formatLabel(self.label)
19 return `${label}=${now - self.startTime}ms`
20}

Callers 2

prettyLoggerTtyFunction · 0.70
prettyLoggerBrowserFunction · 0.70

Calls 1

formatLabelFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…