19 lines
2.7 KiB
JavaScript
19 lines
2.7 KiB
JavaScript
|
/// <reference path="./typings/main.d.ts" />
|
||
|
exports.log = function (message) {
|
||
|
console.log('%c Log: %c ' + message, "background:#42A5F5;color:#ffffff", "color:#42A5F5;");
|
||
|
};
|
||
|
exports.info = function (message) {
|
||
|
console.log('%c Info: %c ' + message, 'background:#EC407A;color:#ffffff;', 'color:#EC407A;');
|
||
|
};
|
||
|
exports.ok = function (message) {
|
||
|
console.log('%c OK: %c ' + message, "background:#000000;color:#8BC34A;", "color:#000000;");
|
||
|
};
|
||
|
exports.success = function (message) {
|
||
|
console.log('%c Success: %c ' + message, "background:#8BC34A;color:#ffffff;", "color:#8BC34A;");
|
||
|
};
|
||
|
exports.warn = function (message) {
|
||
|
console.log('%c Warn: %c ' + message, "background:#000000;color:#FB8C00;", "color:#000000;");
|
||
|
};
|
||
|
|
||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5icm93c2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUVqQyxXQUFHLEdBQUcsVUFBUyxPQUFPO0lBQzdCLE9BQU8sQ0FBQyxHQUFHLENBQUMsYUFBYSxHQUFHLE9BQU8sRUFBQyxrQ0FBa0MsRUFBQyxnQkFBZ0IsQ0FBQyxDQUFDO0FBQzdGLENBQUMsQ0FBQztBQUNTLFlBQUksR0FBRyxVQUFTLE9BQU87SUFDOUIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxjQUFjLEdBQUcsT0FBTyxFQUFDLG1DQUFtQyxFQUFDLGdCQUFnQixDQUFDLENBQUM7QUFDL0YsQ0FBQyxDQUFDO0FBQ1MsVUFBRSxHQUFHLFVBQVMsT0FBTztJQUM1QixPQUFPLENBQUMsR0FBRyxDQUFDLFlBQVksR0FBRyxPQUFPLEVBQUMsbUNBQW1DLEVBQUMsZ0JBQWdCLENBQUMsQ0FBQztBQ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