Skip to content

Commit

Permalink
fix(logger): expand the arguments of function
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Dec 23, 2020
1 parent dfb26d4 commit 6732faa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ export default {
info(...args) {
// The blow codes just for development
if (__DEVELOPMENT__) {
console.group(`Logger.info:`, args);
console.group(`Logger.info:`, ...args);
console.groupEnd();
}
},

error(...args) {
console.error(args);
console.error(...args);
},
};

0 comments on commit 6732faa

Please sign in to comment.