mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00: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