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 d813715 commit d64cc80Copy full SHA for d64cc80
js/core/src/logging.ts
@@ -32,16 +32,16 @@ class Logger {
32
return LOG_LEVELS.indexOf(this.level) <= LOG_LEVELS.indexOf(targetLevel);
33
},
34
debug(...args: any) {
35
- this.shouldLog('debug') && console.debug(args);
+ this.shouldLog('debug') && console.debug(...args);
36
37
info(...args: any) {
38
- this.shouldLog('info') && console.info(args);
+ this.shouldLog('info') && console.info(...args);
39
40
warn(...args: any) {
41
- this.shouldLog('warn') && console.warn(args);
+ this.shouldLog('warn') && console.warn(...args);
42
43
error(...args: any) {
44
- this.shouldLog('error') && console.error(args);
+ this.shouldLog('error') && console.error(...args);
45
46
level: 'info',
47
};
0 commit comments