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

Function logKey

packages/effect/src/ui/Query.ts:2783–2791  ·  view source on GitHub ↗
(value: unknown, key: string)

Source from the content-addressed store, hash-verified

2781 }
2782 }
2783 const logKey = (value: unknown, key: string): string => {
2784 const encode = encodeLogArgs()
2785 if (encode === undefined) return key
2786 try {
2787 return canonical(encode(value))
2788 } catch {
2789 return "\"~unserialisable\""
2790 }
2791 }
2792 return {
2793 name,
2794 args,

Callers 4

listCheckPageFunction · 0.85
stepFunction · 0.85
Query.tsFile · 0.85
eventFunction · 0.85

Calls 2

encodeFunction · 0.70
canonicalFunction · 0.50

Tested by

no test coverage detected