oapi-sdk-go icon indicating copy to clipboard operation
oapi-sdk-go copied to clipboard

日志打印错误

Open chen-zhuohan opened this issue 6 months ago • 0 comments

/Users/bytedance/go/pkg/mod/github.com/larksuite/oapi-sdk-go/[email protected]/ws/client.go:415

错误代码:

	c.logger.Debug(ctx, c.fmtLog("receive message, message_type: %s, message_id: %s, trace_id: %s, payload: %s",
		type_, msgID, traceID, pl))

正确代码:

	c.logger.Debug(ctx, c.fmtLog("receive message, message_type: %s, message_id: %s, trace_id: %s, payload: %s",
		type_, msgID, traceID, pl)...)

少了最后三个点

chen-zhuohan avatar Apr 12 '25 04:04 chen-zhuohan