25 lines
1.1 KiB
JavaScript
25 lines
1.1 KiB
JavaScript
/// <reference path="./index.ts" />
|
|
var BeautylogBrowser;
|
|
(function (BeautylogBrowser) {
|
|
function init() {
|
|
var beautylogBrowser = {};
|
|
beautylogBrowser.log = function (message) {
|
|
console.log('%c Log: %c ' + message, "background:#42A5F5;color:#ffffff", "color:#42A5F5;");
|
|
};
|
|
beautylogBrowser.info = function (message) {
|
|
console.log('%c Info: %c ' + message, 'background:#EC407A;color:#ffffff;', 'color:#EC407A;');
|
|
};
|
|
beautylogBrowser.ok = function (message) {
|
|
console.log('%c OK: %c ' + message, "background:#000000;color:#8BC34A;", "color:#000000;");
|
|
};
|
|
beautylogBrowser.success = function (message) {
|
|
console.log('%c Success: %c ' + message, "background:#8BC34A;color:#ffffff;", "color:#8BC34A;");
|
|
};
|
|
beautylogBrowser.warn = function (message) {
|
|
console.log('%c Warn: %c ' + message, "background:#000000;color:#FB8C00;", "color:#000000;");
|
|
};
|
|
return beautylogBrowser;
|
|
}
|
|
BeautylogBrowser.init = init;
|
|
})(BeautylogBrowser || (BeautylogBrowser = {}));
|
|
//# sourceMappingURL=beautylog.browser.js.map
|