We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b55eff4 commit 00eb2e1Copy full SHA for 00eb2e1
shell-config.js
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (C) 2018 Apple Inc. All rights reserved.
+ * Copyright (C) 2018-2025 Apple Inc. All rights reserved.
3
*
4
* Redistribution and use in source and binary forms, with or without
5
* modification, are permitted provided that the following conditions
@@ -27,7 +27,7 @@ const isInBrowser = false;
27
if (typeof console == "undefined")
28
console = {};
29
30
-console.debug ??= (...args) => console.log("Debug:", ...args);
+console.debug ??= (...args) => printErr("Debug: " + args.join(" "));
31
console.log ??= (...args) => print(args.join(" "));
32
console.warn ??= (...args) => printErr("Warn: " + args.join(" "));
33
console.error ??= (...args) => printErr("Error: " + args.join(" "));
0 commit comments