chentianbao

Results 1 issues of chentianbao

**Is your feature request related to a problem? Please describe.** 不是 **Describe the solution you'd like** 目前logger接口不能自定义kv,这个在日志查询中会非常不方便,并且像es也需要带@timestamp的字段,而logger默认时间戳是ts字段,没法自定义名称或者新增个@timestamp字段,希望可以参考kratos框架的Logger实现自定义kv字段: https://go-kratos.dev/docs/component/log/ ![image](https://github.com/user-attachments/assets/04dbb9b6-d0e2-4538-b07b-001815542c5c) ![image](https://github.com/user-attachments/assets/1a788000-ecd4-429f-ab67-5b49143e77e8) ![image](https://github.com/user-attachments/assets/e9043f27-08df-42d9-bd33-1af6f2fc38f4) 最终Logger可以优化成类似这种形式: type Logger interface { Trace(msg string, keyvals ...interface{})...