Skip to content

Commit 6732faa

Browse files
committed
fix(logger): expand the arguments of function
1 parent dfb26d4 commit 6732faa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/logger.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ export default {
22
info(...args) {
33
// The blow codes just for development
44
if (__DEVELOPMENT__) {
5-
console.group(`Logger.info:`, args);
5+
console.group(`Logger.info:`, ...args);
66
console.groupEnd();
77
}
88
},
99

1010
error(...args) {
11-
console.error(args);
11+
console.error(...args);
1212
},
1313
};

0 commit comments

Comments
 (0)