diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-18 12:25:57 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-28 14:46:23 +0800 |
commit | 2b24ffae2240163a74ae11e49ee198e98abb07dc (patch) | |
tree | f6abfd48eba3b21e722dd96e0ede245d50d28035 /node.gyp | |
parent | 31b3dd28429df7ea7ebc84bdfaf8d9eb9e417b41 (diff) | |
download | node-new-2b24ffae2240163a74ae11e49ee198e98abb07dc.tar.gz |
lib: print to stdout/stderr directly instead of using console
This patch adds an internal function that prints to stdout or
stderr by directly writing to the known file descriptor, and
uses it internally in common cases to avoid the overhead
of the console implementation.
PR-URL: https://github.com/nodejs/node/pull/27320
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -184,6 +184,7 @@ 'lib/internal/url.js', 'lib/internal/util.js', 'lib/internal/util/comparisons.js', + 'lib/internal/util/print.js', 'lib/internal/util/debuglog.js', 'lib/internal/util/inspect.js', 'lib/internal/util/inspector.js', |