Codebase list golang-github-go-kit-kit / 9fd144b
Merge pull request #785 from michurin/master Fix logging Bas van Beek authored 5 years ago GitHub committed 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
141141
142142 rpcMethod, ok := ctx.Value(kitgrpc.ContextKeyRequestMethod).(string)
143143 if !ok {
144 config.logger.Log("unable to retrieve method name: missing gRPC interceptor hook")
144 config.logger.Log("err", "unable to retrieve method name: missing gRPC interceptor hook")
145145 } else {
146146 tags["grpc.method"] = rpcMethod
147147 }