Skip to content

Commit

Permalink
chore(logs): pass them as array
Browse files Browse the repository at this point in the history
  • Loading branch information
yossi-eynav committed Feb 19, 2024
1 parent 523edd7 commit 5f9ade1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/api/lib/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ const logger = winston.createLogger({

module.exports = {
debug: (...args) => {
logger.debug(...args);
logger.debug(args);
},
info: (...args) => {
logger.info(...args);
logger.info(args);
},
error: (...args) => {
logger.error(...args);
logger.error(args);
},
warn: (...args) => {
logger.warn(...args);
logger.warn(args);
}
};

0 comments on commit 5f9ade1

Please sign in to comment.