http2: improve JS-side debug logging · nodejs/node@00f6846 · GitHub
Skip to content

Commit 00f6846

Browse files
addaleaxBethGriggs
authored andcommitted
http2: improve JS-side debug logging
DRY up the `debug()` calls, and in particular, avoid building template strings before we know whether we need to. Backport-PR-URL: #29124 PR-URL: #29122 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 6d42737 commit 00f6846

1 file changed

Lines changed: 61 additions & 54 deletions

File tree

lib/internal/http2/core.js

Lines changed: 61 additions & 54 deletions

0 commit comments

Comments
 (0)