UNPKG

468 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var logger_1 = require("./utils/logger");
4function debugLog(message) {
5 var meta = [];
6 for (var _i = 1; _i < arguments.length; _i++) {
7 meta[_i - 1] = arguments[_i];
8 }
9 var _a;
10 if (process.env.DEBUG !== undefined) {
11 (_a = logger_1.getLogger()).info.apply(_a, [message].concat(meta));
12 }
13}
14exports.debugLog = debugLog;
15//# sourceMappingURL=debugging.js.map
\No newline at end of file