effect-io-ai

Package: effect
Module: Console

Console.info

Writes an informational message to the console, typically displayed with info styling by the active console implementation.

Example (Writing informational messages)

import { Console, Effect } from "effect"

const program = Effect.gen(function*() {
  yield* Console.info("Application started successfully")
  yield* Console.info("Server configuration:", {
    port: 3000,
    env: "development"
  })
})

Signature

declare const info: (...args: ReadonlyArray<any>) => Effect.Effect<void>

Source

Since v2.0.0