New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete grpclog's Debugf function #7154
Comments
Upon further consideration, I don't think this was a good suggestion. |
The alternative would be to eliminate prefixlogger |
Yes, that's what I was thinking, too. We could add this method -- worst case, the |
grpc-go/internal/grpclog/prefixLogger.go
Line 65 in 9cf408e
If a parameter passed to these functions is expensive to evaluate, that expense is borne regardless of whether verbosity would output the message .
All usages should be audited, and we should write another function that allows the arguments to be processed lazily (i.e. pass in closures).
The text was updated successfully, but these errors were encountered: