For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/logs/functions/createStdoutSink.md.
  • 简体中文
  • Function: createStdoutSink()

    function createStdoutSink(opts?: StdoutSinkOptions): Sink;

    Defined in: logs/sink.ts:29

    创建 stdout 日志 sink(可选颜色与 error 路由 stderr)。

    Parameters

    ParameterType
    optsStdoutSinkOptions

    Returns

    Sink