公告板
版本库
filestore
活动
搜索
登录
main
/
gp-server
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
下单/撤单通信方式修改/G撤修改
Administrator
2024-04-26
c4861d2429c2bf3a3f11309ad879b549e62e722d
[gp-server.git]
/
test
/
test_log.py
1
2
3
4
5
6
7
8
from log_module.async_log_util import huaxin_l2_log
from log_module.log import logger_local_huaxin_l2_error
if __name__ == "__main__":
use_time = 0.02
temp_list = ["123123"]
huaxin_l2_log.info(logger_local_huaxin_l2_error, f"耗时:{use_time}s 结束数据:{temp_list[-1]}")
huaxin_l2_log.run_sync()