-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Would like negative version of AddCaller #702
Comments
This seems like a reasonable ask. My preference would have been for
Unfortunately, it's too late to change that API so adding a new option makes As for the name, I would prefer AddCallerDisable because of godoc |
I have no real stake in the name-- except to say that, for discoverability-- I had assumed there would be such an option after discovering |
If I have a logger and I need to derive a child logger which has the caller disabled, there doesn't seem to be a way to do it.
I had hoped to do something like:
The text was updated successfully, but these errors were encountered: