You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
discordbot.js/lib/datahandler.js

14 lines
340 B
JavaScript

/* Module definition */
/* Variable Definition */
let logger = require('winston');
/* Function Definition */
// TODO: Class that handles file-data for a server, functions to get/set data for specific server id
/**
* Getting the logger
* @param {Object} newLogger
*/
exports.getLogger = function (newLogger) {
logger = newLogger;
};