Closed Haiyang-Sun closed 5 years ago
J$.nativeLog(msg)
console.log
Related to https://github.com/Haiyang-Sun/nodeprof.js/issues/12
I think the NodeProf log levels can be useful so I added them in a patch.
Thanks a lot for the patch! I'm merging the changes.
J$.nativeLog(msg)
;J$.nativeLog(msg)
instead ofconsole.log
in the analysis can avoid recursion caused by instrumenting some internal libraries or builtin used byconsole.log
.