docs/core/glog-handler #255
Replies: 1 comment
-
|
需要glog.SetDefaultHandler(glog.HandlerJson) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
docs/core/glog-handler
文章介绍了从v2.0版本开始,GoFrame框架的glog组件新增的可自定义日志处理的Handler特性。开发者可以通过Handler实现日志输出的自定义内容,例如将日志转为Json格式输出或者输出至第三方服务如Graylog。详细示例展示了如何在GoFrame框架中使用Handler进行日志处理。
https://goframe.org/docs/core/glog-handler
Beta Was this translation helpful? Give feedback.
All reactions