Skip to main content

Module log

Module log 

Source
Expand description

Stable API — 日志初始化入口(stderr fmt / JSON / audit-jsonl 三种模式)。 futu-opend / futu-mcp / examples 用。

Structs§

LocalRfc3339Timer
全局人类可读日志时间戳:使用系统本地时区并输出 RFC3339 offset。

Functions§

init_json_logging
Stable API — 初始化 JSON 格式日志(默认 info 级别)。
init_json_logging_with_level
Stable API — 初始化 JSON 格式日志(生产环境 / 日志聚合用)。
init_logging
Stable API — 初始化日志系统(默认 info 级别)。examples / 测试程序 常用入口。
init_logging_with_audit
Stable API — 初始化日志 + 可选的 audit JSONL 文件。
init_logging_with_level
Stable API — 初始化日志系统(stderr fmt layer)。
is_runtime_reload_available
v1.4.106 codex 1110 F7 [P2] — query 当前 reload handle 是否已 install。 handler 用来给用户 helpful error message。
set_runtime_log_level
v1.4.106 codex 1110 F7 [P2] Stable API — 运行时修改 tracing filter level。