integrate Log code to improve the reuse of the code
integrate Log code to improve the reuse of the code

Signed-off-by: Helen-Xie <af18c786fc912eccf6134fb6fc3d7f454082055a@zju.edu.cn>

feiskyer/cri-tools,feiskyer/cri-tools,Helen-Xie/cri-tools,Helen-Xie/cri-tools,Helen-Xie/cri-tools,xlgao-zju/cri-tools,feiskyer/cri-tools,xlgao-zju/cri-tools,xlgao-zju/cri-tools