diff --git a/bot.js b/bot.js index e69de29..46ad075 100644 --- a/bot.js +++ b/bot.js @@ -0,0 +1,4 @@ +const logger = require('./src/util/log/log'); +const client = {test: 'e', config: {logLevel: 1}}; +const log = logger(client); +log(); \ No newline at end of file diff --git a/src/util/log/log.js b/src/util/log/log.js index 7ab5613..b13195d 100644 --- a/src/util/log/log.js +++ b/src/util/log/log.js @@ -1,5 +1,5 @@ +const getLevel = require('./getlevel'); - -module.exports = (message, level, source, color) => { - +module.exports = client => (message, level, source, color) => { + }; \ No newline at end of file