For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/reference/sdk/node/config/functions/logsDir.md.
  • English
  • Function: logsDir()

    function logsDir(runtimeRoot: string): string;

    Defined in: node/config/index.ts:354

    运行态日志输出目录路径(<runtimeRoot>/.sfmc/logs)。 各服务的持久化落盘日志统一存放在此处。

    Parameters

    ParameterTypeDescription
    runtimeRootstring运行时根目录。

    Returns

    string

    日志目录绝对路径。