start actual logging

v2
Kit Kasune 2 years ago
parent 47f113efc6
commit d7efeb7b16
  1. 4
      bot.js
  2. 4
      src/util/log/log.js

@ -0,0 +1,4 @@
const logger = require('./src/util/log/log');
const client = {test: 'e', config: {logLevel: 1}};
const log = logger(client);
log();

@ -1,5 +1,5 @@
const getLevel = require('./getlevel');
module.exports = client => (message, level, source, color) => {
module.exports = (message, level, source, color) => {
}; };
Loading…
Cancel
Save