Documentation ¶
Index ¶
- func MakeReqAndResError(line string, compName string, addr string, cost time.Duration, req string, ...) string
- func MakeReqAndResInfo(line string, compName string, addr string, cost time.Duration, req interface{}, ...) string
- func MakeReqResError(compName string, addr string, cost time.Duration, req string, err string) string
- func MakeReqResErrorV2(callerSkip int, compName string, addr string, cost time.Duration, req string, ...) string
- func MakeReqResInfo(compName string, addr string, cost time.Duration, req interface{}, ...) string
- func MakeReqResInfoV2(callerSkip int, compName string, addr string, cost time.Duration, ...) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeReqAndResError ¶
func MakeReqAndResError(line string, compName string, addr string, cost time.Duration, req string, err string) string
MakeReqAndResError 以error级别打印行号、配置名、目标地址、耗时、请求数据、响应数据
func MakeReqAndResInfo ¶
func MakeReqAndResInfo(line string, compName string, addr string, cost time.Duration, req interface{}, reply interface{}) string
MakeReqAndResInfo 以info级别打印行号、配置名、目标地址、耗时、请求数据、响应数据
func MakeReqResError ¶
func MakeReqResError(compName string, addr string, cost time.Duration, req string, err string) string
MakeReqResError ... Deprecated: MakeReqResError will be removed in v1.2
func MakeReqResErrorV2 ¶
func MakeReqResErrorV2(callerSkip int, compName string, addr string, cost time.Duration, req string, err string) string
MakeReqResErrorV2 以error级别打印行号、配置名、目标地址、耗时、请求数据、响应数据 Deprecated: MakeReqResErrorV2 will be removed in v1.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.