mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
16 lines
288 B
JavaScript
16 lines
288 B
JavaScript
var config = require("./config");
|
|
|
|
var exp = {};
|
|
|
|
function debug() {
|
|
if (config.debug_enabled) {
|
|
console.log(Array.prototype.slice.call(arguments).join(" "));
|
|
}
|
|
}
|
|
|
|
exp.log = console.log;
|
|
exp.warn = console.warn;
|
|
exp.error = console.error;
|
|
exp.debug = debug;
|
|
|
|
module.exports = exp; |