instrument

Attribute Macro instrument 

Source
#[instrument]
Expand description
函数仪表化属性。
Function instrumentation attribute.
自动追踪函数的进入和退出,并记录参数信息。
Automatically traces function entry and exit, and logs argument information.