Documentation ¶
Index ¶
- func InitLogger() error
- func LogApiInfo(ctx *gin.Context, err int8, result string)
- func LogExtInfo(api string, uri string, param string, response string, status int, ...)
- func LogJobInfo(content string, err any)
- func LogNotifyInfo(biz string, param string, result any)
- func LogSysInfo(content string, err any)
- func LogWssInfo(addr string, userId uint64, message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogExtInfo ¶
func LogExtInfo(api string, uri string, param string, response string, status int, dur time.Duration)
LogExtInfo 记录请求第三方接口日志
func LogNotifyInfo ¶
LogNotifyInfo 记录回调接口日志
func LogWssInfo ¶
LogWssInfo 记录Websocket日志
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.