MCPcopy Create free account
hub / github.com/TanStack/ai / makeSpyLogger

Function makeSpyLogger

packages/ai/tests/debug-logging-activities.test.ts:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13// ============================================================================
14
15const makeSpyLogger = () => ({
16 debug: vi.fn(),
17 info: vi.fn(),
18 warn: vi.fn(),
19 error: vi.fn(),
20})
21
22const logPrefixes = (
23 calls: ReadonlyArray<ReadonlyArray<unknown>>,

Calls

no outgoing calls

Tested by

no test coverage detected