Package: effect
Module: Console
Writes the current stack trace to the console to show how the current point in the code was reached.
Example (Writing stack traces)
import { Console, Effect } from "effect"
const program = Effect.gen(function*() {
yield* Console.trace("Debug trace point")
yield* Console.trace("Function call:", { functionName: "processData" })
})
Signature
declare const trace: (...args: ReadonlyArray<any>) => Effect.Effect<void>
Since v2.0.0