code: 完善日志