Comparing version 5.0.0 to 5.0.1
@@ -0,1 +1,3 @@ | ||
export declare let isOraActive: boolean; | ||
export declare let activeOra: Ora; | ||
export declare class Ora { | ||
@@ -2,0 +4,0 @@ private _oraObject; |
"use strict"; | ||
/// <reference path="./typings/main.d.ts" /> | ||
var plugins = require("./beautylog.plugins"); | ||
var log = require("./beautylog.log"); | ||
var beautylog_log_helpers_1 = require("./beautylog.log.helpers"); | ||
exports.isOraActive = false; // when an Ora is active (e.g. start()) this is true; | ||
var Ora = (function () { | ||
@@ -24,2 +25,4 @@ function Ora(textArg, colorArg, startArg) { | ||
this._oraObject.color = colorArg; | ||
exports.activeOra = this; | ||
exports.isOraActive = true; | ||
this._oraObject.start(); | ||
@@ -31,6 +34,8 @@ }; | ||
this._oraObject.clear(); | ||
exports.activeOra = undefined; | ||
exports.isOraActive = false; | ||
}; | ||
Ora.prototype.endOk = function (textArg) { | ||
this.end(); | ||
log.ok(textArg); | ||
beautylog_log_helpers_1.logNode(textArg, "ok"); | ||
}; | ||
@@ -40,3 +45,3 @@ ; | ||
this.end(); | ||
log.error(textArg); | ||
beautylog_log_helpers_1.logNode(textArg, "error"); | ||
}; | ||
@@ -50,3 +55,3 @@ ; | ||
this.stop(); | ||
log.log(logText, logType); | ||
beautylog_log_helpers_1.logNode(logText, logType); | ||
this.start(); | ||
@@ -58,2 +63,2 @@ }; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5jbGFzc2VzLm9yYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsNENBQTRDO0FBQzVDLElBQVksT0FBTyxXQUFNLHFCQUFxQixDQUFDLENBQUE7QUFDL0MsSUFBWSxHQUFHLFdBQU0saUJBQWlCLENBQUMsQ0FBQTtBQUV2QztJQUdJLGFBQVksT0FBYyxFQUFDLFFBQWUsRUFBQyxRQUF3QjtRQUF4Qix3QkFBd0IsR0FBeEIsZ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gICBzdGFydCh0ZXh0QXJnPzpzdHJpbmcsY29sb3JBcmc/OnN0cmluZyl7XG4gICAgICAgIGlmKHRleHRBcmcpIHRoaXMuX29yYU9iamVjdC50ZXh0ID0gdGV4dEFyZztcbiAgICAgICAgaWYoY29sb3JBcmcpIHRoaXMuX29yYU9iamVjdC5jb2xvciA9IGNvbG9yQXJnO1xuICAgICAgICBhY3RpdmVPcmEgPSB0aGlzO1xuICAgICAgICBpc09yYUFjdGl2ZSA9IHRydWU7XG4gICAgICAgIHRoaXMuX29yYU9iamVjdC5zdGFydCgpO1xuICAgIH07XG4gICAgZW5kKCl7XG4gICAgICAgIHRoaXMuX29yYU9iamVjdC5zdG9wKCk7XG4gICAgICAgIHRoaXMuX29yYU9iamVjdC5jbGVhcigpO1xuICAgICAgICBhY3RpdmVPcmEgPSB1bmRlZmluZWQ7XG4gICAgICAgIGlzT3JhQWN0aXZlID0gZmFsc2U7XG4gICAgfVxuICAgIGVuZE9rKHRleHRBcmcpe1xuICAgICAgICB0aGlzLmVuZCgpO1xuICAgICAgICBsb2dOb2RlKHRleHRBcmcsXCJva1wiKTtcbiAgICB9O1xuICAgIGVuZEVycm9yKHRleHRBcmcpe1xuICAgICAgICB0aGlzLmVuZCgpO1xuICAgICAgICBsb2dOb2RlKHRleHRBcmcsXCJlcnJvclwiKTtcbiAgICB9O1xuICAgIHN0b3AoKXsgLy8gYWxpYXMgZm9yIGVuZFxuICAgICAgICB0aGlzLmVuZCgpO1xuICAgIH1cbiAgICBcbiAgICAvLyBsb2cgbWV0aG9kcyB0aGF0IHBsYXkgbmljZSB3aXRoIG9yYVxuICAgIGxvZyhsb2dUZXh0OnN0cmluZyxsb2dUeXBlOnN0cmluZyl7XG4gICAgICAgIHRoaXMuc3RvcCgpO1xuICAgICAgICBsb2dOb2RlKGxvZ1RleHQsbG9nVHlwZSk7XG4gICAgICAgIHRoaXMuc3RhcnQoKTtcbiAgICB9XG59Il19 |
@@ -8,1 +8,2 @@ /** | ||
export declare let log: (logText?: string, logType?: string) => void; | ||
export declare let logNode: (logText: string, logType: string) => boolean; |
/// <reference path="./typings/main.d.ts" /> | ||
"use strict"; | ||
var plugins = require("./beautylog.plugins"); | ||
var beautylog_classes_ora_1 = require("./beautylog.classes.ora"); | ||
var localBl = { | ||
@@ -24,3 +25,8 @@ dirPrefix: plugins.clc.bgXterm(39).xterm(231).bold(' DIR ') + ' ', | ||
case "node": | ||
logNode(logText, logType); | ||
if (beautylog_classes_ora_1.isOraActive) { | ||
beautylog_classes_ora_1.activeOra.log(logText, logType); | ||
} | ||
else { | ||
exports.logNode(logText, logType); | ||
} | ||
break; | ||
@@ -35,3 +41,3 @@ case "browser": | ||
}; | ||
var logNode = function (logText, logType) { | ||
exports.logNode = function (logText, logType) { | ||
try { | ||
@@ -108,2 +114,2 @@ switch (logType) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5sb2cuaGVscGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FBNEM7O0FBRTVDLElBQU8sT0FBTyxXQUFXLHFCQUFxQixDQUFDLENBQUM7QUFFaEQsSUFBSSxPQUFPLEdBQUc7SUFDVixTQUFTLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsRUFBRSxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxHQUFHO0lBQ2pFLFdBQVcsRUFBRSxVQUFVLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxJQUFJLEdBQUcsR0FBRztJQUM5QyxVQUFVLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsR0FBRyxH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3lhbi5ib2xkO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnb2snOlxuICAgICAgICAgICAgICAgIGxvZ1RleHQgPSBsb2NhbEJsLm9rUHJlZml4ICsgbG9nVGV4dC5ib2xkO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnc3VjY2Vzcyc6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwuc3VjY2Vzc1ByZWZpeCArIGxvZ1RleHQuZ3JlZW4uYm9sZDtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ3dhcm4nOlxuICAgICAgICAgICAgICAgIGxvZ1RleHQgPSBsb2NhbEJsLndhcm5QcmVmaXggKyBsb2dUZXh0LmJvbGQ7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdsb2cnOlxuICAgICAgICAgICAgICAgIGxvZ1RleHQgPSBsb2NhbEJsLm5vcm1hbFByZWZpeCArIGxvZ1RleHQuYmx1ZS5ib2xkO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBsb2dUZXh0LmJsdWUuYm9sZDtcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygoJ3Vua25vd24gbG9nVHlwZSBmb3IgXCInICsgbG9nVGV4dCArICdcIicpLnJlZC5ib2xkKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgICAgICBjb25zb2xlLmxvZyhsb2dUZXh0KTtcbiAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgfVxuICAgIGNhdGNoIChlcnJvcikge1xuICAgICAgICBjb25zb2xlLmxvZyhsb2NhbEJsLmVycm9yUHJlZml4ICsgJ1lvdSBzZWVtIHRvIGhhdmUgdHJpZWQgbG9nZ2luZyBzb21ldGhpbmcgc3RyYW5nZScucmVkLmJvbGQgKyBlcnJvcik7XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG59XG5cbmxldCBsb2dCcm93c2VyID0gZnVuY3Rpb24obG9nVGV4dCxsb2dUeXBlKXtcbiAgICBzd2l0Y2ggKGxvZ1R5cGUpIHtcbiAgICAgICAgICAgIGNhc2UgJ2Rpcic6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwuZGlyUHJlZml4ICsgcGx1Z2lucy5jbGMueHRlcm0oMjYpKGxvZ1RleHQpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnZXJyb3InOlxuICAgICAgICAgICAgICAgIGxvZ1RleHQgPSBsb2NhbEJsLmVycm9yUHJlZml4ICsgbG9nVGV4dC5yZWQuYm9sZDtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ2luZm8nOlxuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCclYyBJbmZvOiAlYyAnICsgbG9nVGV4dCwnYmFja2dyb3VuZDojRUM0MDdBO2NvbG9yOiNmZmZmZmY7JywnY29sb3I6I0VDNDA3QTsnKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ25vcm1hbCc6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwubm9ybWFsUHJlZml4ICsgbG9nVGV4dC5jeWFuLmJvbGQ7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdvayc6XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coJyVjIE9LOiAlYyAnICsgbG9nVGV4dCxcImJhY2tncm91bmQ6IzAwMDAwMDtjb2xvcjojOEJDMzRBO1wiLFwiY29sb3I6IzAwMDAwMDtcIik7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdzdWNjZXNzJzpcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnJWMgU3VjY2VzczogJWMgJyArIGxvZ1RleHQsXCJiYWNrZ3JvdW5kOiM4QkMzNEE7Y29sb3I6I2ZmZmZmZjtcIixcImNvbG9yOiM4QkMzNEE7XCIpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnd2Fybic6XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coJyVjIFdhcm46ICVjICcgKyBsb2dUZXh0LFwiYmFja2dyb3VuZDojMDAwMDAwO2NvbG9yOiNGQjhDMDA7XCIsXCJjb2xvcjojMDAwMDAwO1wiKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ2xvZyc6XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coJyVjIExvZzogJWMgJyArIGxvZ1RleHQsXCJiYWNrZ3JvdW5kOiM0MkE1RjU7Y29sb3I6I2ZmZmZmZlwiLFwiY29sb3I6IzQyQTVGNTtcIik7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCd1bmtub3duIGxvZ1R5cGUgZm9yIFwiJyArIGxvZ1RleHQgKyAnXCInKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxufTsiXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5sb2cuaGVscGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FBNEM7O0FBRTVDLElBQU8sT0FBTyxXQUFXLHFCQUFxQixDQUFDLENBQUM7QUFDaEQsc0NBQW9DLHlCQUF5QixDQUFDLENBQUE7QUFFOUQsSUFBSSxPQUFPLEdBQUc7SUFDVixTQUFTLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsRUFBRSxDQUFD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YWs7XG59XG59O1xuXG5leHBvcnQgbGV0IGxvZ05vZGUgPSBmdW5jdGlvbihsb2dUZXh0OnN0cmluZyxsb2dUeXBlOnN0cmluZyl7XG4gICAgdHJ5IHtcbiAgICAgICAgc3dpdGNoIChsb2dUeXBlKSB7XG4gICAgICAgICAgICBjYXNlICdkaXInOlxuICAgICAgICAgICAgICAgIGxvZ1RleHQgPSBsb2NhbEJsLmRpclByZWZpeCArIHBsdWdpbnMuY2xjLnh0ZXJtKDI2KShsb2dUZXh0KTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ2Vycm9yJzpcbiAgICAgICAgICAgICAgICBsb2dUZXh0ID0gbG9jYWxCbC5lcnJvclByZWZpeCArIGxvZ1RleHQucmVkLmJvbGQ7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdpbmZvJzpcbiAgICAgICAgICAgICAgICBsb2dUZXh0ID0gbG9jYWxCbC5pbmZvUHJlZml4ICsgcGx1Z2lucy5jbGMueHRlcm0oMTk4KShsb2dUZXh0KTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ25vcm1hbCc6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwubm9ybWFsUHJlZml4ICsgbG9nVGV4dC5jeWFuLmJvbGQ7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdvayc6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwub2tQcmVmaXggKyBsb2dUZXh0LmJvbGQ7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdzdWNjZXNzJzpcbiAgICAgICAgICAgICAgICBsb2dUZXh0ID0gbG9jYWxCbC5zdWNjZXNzUHJlZml4ICsgbG9nVGV4dC5ncmVlbi5ib2xkO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnd2Fybic6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwud2FyblByZWZpeCArIGxvZ1RleHQuYm9sZDtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ2xvZyc6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwubm9ybWFsUHJlZml4ICsgbG9nVGV4dC5ibHVlLmJvbGQ7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgIGxvZ1RleHQuYmx1ZS5ib2xkO1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCgndW5rbm93biBsb2dUeXBlIGZvciBcIicgKyBsb2dUZXh0ICsgJ1wiJykucmVkLmJvbGQpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIGNvbnNvbGUubG9nKGxvZ1RleHQpO1xuICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9XG4gICAgY2F0Y2ggKGVycm9yKSB7XG4gICAgICAgIGNvbnNvbGUubG9nKGxvY2FsQmwuZXJyb3JQcmVmaXggKyAnWW91IHNlZW0gdG8gaGF2ZSB0cmllZCBsb2dnaW5nIHNvbWV0aGluZyBzdHJhbmdlJy5yZWQuYm9sZCArIGVycm9yKTtcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cbn1cblxubGV0IGxvZ0Jyb3dzZXIgPSBmdW5jdGlvbihsb2dUZXh0LGxvZ1R5cGUpe1xuICAgIHN3aXRjaCAobG9nVHlwZSkge1xuICAgICAgICAgICAgY2FzZSAnZGlyJzpcbiAgICAgICAgICAgICAgICBsb2dUZXh0ID0gbG9jYWxCbC5kaXJQcmVmaXggKyBwbHVnaW5zLmNsYy54dGVybSgyNikobG9nVGV4dCk7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdlcnJvcic6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwuZXJyb3JQcmVmaXggKyBsb2dUZXh0LnJlZC5ib2xkO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnaW5mbyc6XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coJyVjIEluZm86ICVjICcgKyBsb2dUZXh0LCdiYWNrZ3JvdW5kOiNFQzQwN0E7Y29sb3I6I2ZmZmZmZjsnLCdjb2xvcjojRUM0MDdBOycpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnbm9ybWFsJzpcbiAgICAgICAgICAgICAgICBsb2dUZXh0ID0gbG9jYWxCbC5ub3JtYWxQcmVmaXggKyBsb2dUZXh0LmN5YW4uYm9sZDtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ29rJzpcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnJWMgT0s6ICVjICcgKyBsb2dUZXh0LFwiYmFja2dyb3VuZDojMDAwMDAwO2NvbG9yOiM4QkMzNEE7XCIsXCJjb2xvcjojMDAwMDAwO1wiKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ3N1Y2Nlc3MnOlxuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCclYyBTdWNjZXNzOiAlYyAnICsgbG9nVGV4dCxcImJhY2tncm91bmQ6IzhCQzM0QTtjb2xvcjojZmZmZmZmO1wiLFwiY29sb3I6IzhCQzM0QTtcIik7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICd3YXJuJzpcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnJWMgV2FybjogJWMgJyArIGxvZ1RleHQsXCJiYWNrZ3JvdW5kOiMwMDAwMDA7Y29sb3I6I0ZCOEMwMDtcIixcImNvbG9yOiMwMDAwMDA7XCIpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnbG9nJzpcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnJWMgTG9nOiAlYyAnICsgbG9nVGV4dCxcImJhY2tncm91bmQ6IzQyQTVGNTtjb2xvcjojZmZmZmZmXCIsXCJjb2xvcjojNDJBNUY1O1wiKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ3Vua25vd24gbG9nVHlwZSBmb3IgXCInICsgbG9nVGV4dCArICdcIicpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG59OyJdfQ== |
{ | ||
"name": "beautylog", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "beautiful logging, TypeScript ready", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
51274
646