mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
fix(runtime): JS debug log to stderr (#19217)
Debug logs should all go to stderr.
This commit is contained in:
parent
5c349039b8
commit
ffa020f43a
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue