UNPKG

pushinka

Version:

Pushinka: Transactional, Reactive, and Asynchronous State Management

15 lines 554 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Log = (function () { function Log() { } Log.print = function (context, marker, message) { var m = " ".repeat(context.margin); console.log("\x1b[37m%s\x1b[0m \x1b[" + context.color + "m%s\x1b[0m \x1b[" + context.color + "m%s%s\x1b[0m \x1b[" + context.color + "m%s\x1b[0m", "#f", context.operation, m, marker, message); }; Log.level = 0; return Log; }()); exports.Log = Log; //# sourceMappingURL=Log.js.map