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

Function log

packages/effect/src/Console.ts:535–540  ·  view source on GitHub ↗
(...args: ReadonlyArray<any>)

Source from the content-addressed store, hash-verified

533 * @since 2.0.0
534 */
535export const log = (...args: ReadonlyArray<any>): Effect.Effect<void> =>
536 consoleWith((console) =>
537 effect.sync(() => {
538 console.log(...args)
539 })
540 )
541
542/**
543 * Displays tabular data as a formatted table in the console, optionally limited to selected properties.

Callers 1

effect.tsFile · 0.85

Calls 3

consoleWithFunction · 0.85
logMethod · 0.65
syncMethod · 0.45

Tested by

no test coverage detected