Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldsFromCtx ¶
FieldsFromCtx write context meta data
func NewLogger ¶
func NewLogger(hasReq, hasRes bool) estransport.Logger
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) LogRoundTrip ¶
func (*Logger) RequestBodyEnabled ¶
RequestBodyEnabled makes the client pass a copy of request body to the logger.
func (*Logger) ResponseBodyEnabled ¶
ResponseBodyEnabled makes the client pass a copy of response body to the logger.
Click to show internal directories.
Click to hide internal directories.