日志记录 | Logging
本指南描述如何在Curio中更新日志记录首选项。
Logging
日志记录
Log file configuration
日志文件配置
Redirect Go logs to a file
将Go日志重定向到文件
export GOLOG_OUTPUT=FILE >> ~/.bashrc
export GOLOG_FILE="$HOME/curio.log" >> ~/.bashrc && source ~/.bashrcRedirect Rust logs to a standard output
将Rust日志重定向到标准输出
Change logging verbosity
更改日志记录详细程度
Last updated