diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-05-22 14:17:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 18:17:31 +0000 |
commit | ffa020f43a2a0d04fade562b2f82cd1a39913780 (patch) | |
tree | 40bb3bcf7442ff0d737a6543c66adbc1b4966341 | |
parent | 5c349039b8257fe6a5d8aa2fda91d54f3358bd7a (diff) |
fix(runtime): JS debug log to stderr (#19217)
Debug logs should all go to stderr.
-rw-r--r-- | runtime/js/06_util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/06_util.js b/runtime/js/06_util.js index db4564e32..e04ae7bd7 100644 --- a/runtime/js/06_util.js +++ b/runtime/js/06_util.js @@ -19,7 +19,7 @@ function log(...args) { if (logDebug) { // if we destructure `console` off `globalThis` too early, we don't bind to // the right console, therefore we don't log anything out. - globalThis.console.log( + globalThis.console.error( `DEBUG ${logSource} -`, ...new SafeArrayIterator(args), ); |