Unverified Commit 2b24ffae authored by Joyee Cheung's avatar Joyee Cheung
Browse files

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: default avatarJames M Snell <jasnell@gmail.com>
parent 31b3dd28
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment