-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: util.debuglog callback #33856
doc: util.debuglog callback #33856
Conversation
API came from #32260 |
I don't think it's really worth documenting this as it's purely an (internal) optimization. The callback isn't for determining whether debugging is enabled, in fact the argument passed to the callback is always a function. The callback is used to get a reference to a more optimized (by V8) debug function. |
@mscdex it is exposed publicly so it seems like it should be documented. will fixup the docs though |
@bmeck There are still a two or three things flagged in the GitHub interface that look like they are worth addressing. (Can't assign the new value to |
@targos those should be fixed now, thanks |
PR-URL: #33856 Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in 16f3b6a |
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.
LGTM
PR-URL: #33856 Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #33856 Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #33856 Reviewed-By: James M Snell <jasnell@gmail.com>
Checklist