-
Notifications
You must be signed in to change notification settings - Fork 890
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
Do not require extensible Logger.Enabled parameters list #4221
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we remove similar language for metrics and traces also?
There are currently no required parameters for this API. Parameters can be added in the future, therefore, the API MUST be structured in a way for parameters to be added.
I'd like to clarify that my approval is based on my understanding that it's always ok to add parameters to functions at the spec level EDIT and I think it's fine for Go to take the "performant route" for them, and if parameters are added in the future they can introduce a second function (with a new name) which accepts the new set of parameters. |
Address #4203 (comment)
Side note: based on #4220 (comment) it seems that the current list of parameters is OK