We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80e1b43 commit 1d68464Copy full SHA for 1d68464
src/debug.js
@@ -25,6 +25,12 @@ function dump(...data) {
25
emit(data);
26
}
27
28
+function log(...data) {
29
+ pos('log', '38;5;243');
30
+ // eslint-disable-next-line no-console
31
+ console.log.apply(this, data);
32
+}
33
+
34
function halt(...data) {
35
pos('halt');
36
@@ -94,12 +100,13 @@ function error(...data) {
94
100
95
101
96
102
module.exports = {
103
+ log,
97
104
pos,
98
105
dump,
99
106
halt,
- stack,
107
jump,
- warning,
108
+ stack,
109
error,
- pause
110
+ pause,
111
+ warning,
112
};
0 commit comments