mirror of
https://github.com/AlecM33/Werewolf.git
synced 2026-01-01 16:59:29 +01:00
fix logger reference error
This commit is contained in:
@@ -3,7 +3,7 @@ const globals = require('../config/globals');
|
||||
module.exports = function (logLevel = globals.LOG_LEVEL.INFO) {
|
||||
return {
|
||||
logLevel: logLevel,
|
||||
log (message = '') {
|
||||
info (message = '') {
|
||||
const now = new Date();
|
||||
console.log('LOG ', now.toGMTString(), ': ', message);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user