const DEBUG = (function () { const timestamp = function () {}; timestamp.toString = () => "[" + new Date().toLocaleString() + "]"; return { log: console.log.bind(console, "%s", timestamp) }; })(); module.exports = { DEBUG, };