Skip to content

Commit d64cc80

Browse files
authored
unwrap logs (#91)
1 parent d813715 commit d64cc80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/core/src/logging.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ class Logger {
3232
return LOG_LEVELS.indexOf(this.level) <= LOG_LEVELS.indexOf(targetLevel);
3333
},
3434
debug(...args: any) {
35-
this.shouldLog('debug') && console.debug(args);
35+
this.shouldLog('debug') && console.debug(...args);
3636
},
3737
info(...args: any) {
38-
this.shouldLog('info') && console.info(args);
38+
this.shouldLog('info') && console.info(...args);
3939
},
4040
warn(...args: any) {
41-
this.shouldLog('warn') && console.warn(args);
41+
this.shouldLog('warn') && console.warn(...args);
4242
},
4343
error(...args: any) {
44-
this.shouldLog('error') && console.error(args);
44+
this.shouldLog('error') && console.error(...args);
4545
},
4646
level: 'info',
4747
};

0 commit comments

Comments
 (0)