Skip to main content

log_stdio_spawn_context

Function log_stdio_spawn_context 

Source
pub fn log_stdio_spawn_context(
    tag: &str,
    mcp_id: &str,
    env: &Option<HashMap<String, String>>,
)
Expand description

输出 stdio 子进程启动前的诊断日志(debug 级别)

包含:PATH 摘要、镜像变量、config env keys 列表。 业务代码只需在 spawn 前调用此函数。