MCPcopy Index your code
hub / github.com/Effect-TS/effect / pusher

Function pusher

packages/effect/test/Logger.test.ts:39–41  ·  view source on GitHub ↗
(level: string)

Source from the content-addressed store, hash-verified

37 const c = yield* Effect.console
38 const logs: Array<{ level: string; value: unknown }> = []
39 const pusher = (level: string) => (value: unknown) => {
40 logs.push({ level, value })
41 }
42 const newConsole: typeof c = {
43 ...c,
44 unsafe: {

Callers 1

Logger.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected