Merge pull request #785 from michurin/master
Fix logging
Bas van Beek authored 5 years ago
GitHub committed 5 years ago
141 | 141 | |
142 | 142 | rpcMethod, ok := ctx.Value(kitgrpc.ContextKeyRequestMethod).(string) |
143 | 143 | 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") | |
145 | 145 | } else { |
146 | 146 | tags["grpc.method"] = rpcMethod |
147 | 147 | } |