Please sign in to comment.
process: set the trace category update handler during bootstrap
Set the trace category update handler during bootstrap, but delay the initial invocation of it until pre-execution. In addition, do not serialize the `node.async_hooks` category state when loading the trace_event binding during bootstrap, since it depends on run time states (e.g. CLI flags). Instead, use the `isTraceCategoryEnabled` v8 intrinsics to query that value during pre-execution. PR-URL: #26605 Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Anna Henningsen <email@example.com>
- Loading branch information...
Showing with 27 additions and 33 deletions.