We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We need to have some basic mechanism to easily debug when a problem with package using Node-API occurs.
To do that I propose we add simple logging mechanism to napi_sym:
napi_sym
deno/cli/napi/sym/lib.rs
Lines 15 to 36 in 35e5159
We should log when the function enters: napi_<function_name> and then when it exits: napi_<function_name> - <napi_status>.
napi_<function_name>
napi_<function_name> - <napi_status>
It's probably worth to add a simple counter so we can more easily trace threadsafe function calls.
To enable tracing I propose we add DENO_NAPI_TRACING=true env var.
DENO_NAPI_TRACING=true
The text was updated successfully, but these errors were encountered:
library
devsnek
No branches or pull requests
We need to have some basic mechanism to easily debug when a problem with package using Node-API occurs.
To do that I propose we add simple logging mechanism to
napi_sym
:deno/cli/napi/sym/lib.rs
Lines 15 to 36 in 35e5159
We should log when the function enters:
napi_<function_name>
and then when it exits:
napi_<function_name> - <napi_status>
.It's probably worth to add a simple counter so we can more easily trace threadsafe function calls.
To enable tracing I propose we add
DENO_NAPI_TRACING=true
env var.The text was updated successfully, but these errors were encountered: