Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseEndpointLogger ¶
func BaseEndpointLogger(logger log.Logger) endpoint.Middleware
BaseEndpointLogger returns an endpoint middleware that logs the duration of each invocation, and the resulting error, if any.
func ZapEndpointLogger ¶
func ZapEndpointLogger(kv *KV) endpoint.Middleware
ZapEndpointLogger - configures a endpoint logger based on zap logger
Types ¶
Click to show internal directories.
Click to hide internal directories.