Skip to main content
init
tdm_
server_
rust
0.1.0
init
Sections
参数
In tdm_
server_
rust::
utils::
error_
log
tdm_server_rust
::
utils
::
error_log
Function
init
Copy item path
Source
pub fn init(error_log_path:
PathBuf
)
Expand description
初始化错误日志路径
可重复调用,仅首次生效。若路径的父目录不存在会自动创建。
§
参数
error_log_path
: error.log 文件的完整路径