UNPKG

658 BSource Map (JSON)View Raw
1{"version":3,"sources":["../src/logging.js"],"names":[],"mappings":";;;;AAEA,IAAI,QAAQ,KAAZ;;AAEA,OAAO,OAAP,GAAiB;AACf,OAAK;AAAA;;AAAA,WAAa,QAAQ,qBAAQ,GAAR,2BAAR,GAA+B,SAA5C;AAAA,GADU;AAEf,YAAU;AAAA;;AAAA,WAAa,QAAQ,sBAAQ,KAAR,4BAAR,GAAiC,SAA9C;AAAA,GAFK;AAGf,eAHe,2BAGW;AAAA,QAAZ,GAAY,yDAAN,IAAM;AAAE,YAAQ,GAAR;AAAa;AAH1B,CAAjB","file":"logging.js","sourcesContent":["// Logging moved to its own module to avoid circular imports\n\nlet debug = false\n\nmodule.exports = {\n log: (...args) => debug ? console.log(...args) : undefined,\n logError: (...args) => debug ? console.error(...args) : undefined,\n enableLogging(deb = true) { debug = deb },\n}\n"]}
\No newline at end of file