1 line
23 KiB
JSON
1 line
23 KiB
JSON
|
{"id":"../ts/index.ts","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/package.json","includedInParent":true,"mtime":1542069011329}],"generated":{"js":"\"use strict\";\n\nexports.__esModule = true;\n\nvar SmartlogDestinationDevtools =\n/** @class */\nfunction () {\n function SmartlogDestinationDevtools() {}\n\n SmartlogDestinationDevtools.prototype.handleLog = function (logPackageArg) {\n this.logInBrowser(logPackageArg);\n };\n\n SmartlogDestinationDevtools.prototype.logInBrowser = function (logPackage) {\n switch (logPackage.level) {\n case 'error':\n console.log(\"%c Error: %c \" + logPackage.message, 'background:#000000;color:#800000;', 'color:#000000;');\n break;\n\n case 'info':\n console.log(\"%c Info: %c \" + logPackage.message, 'background:#EC407A;color:#ffffff;', 'color:#EC407A;');\n break;\n\n case 'ok':\n console.log(\"%c OK: %c \" + logPackage.message, 'background:#000000;color:#8BC34A;', 'color:#000000;');\n break;\n\n case 'success':\n console.log(\"%c Success: %c \" + logPackage.message, 'background:#8BC34A;color:#ffffff;', 'color:#8BC34A;');\n break;\n\n case 'warn':\n console.log(\"%c Warn: %c \" + logPackage.message, 'background:#000000;color:#FB8C00;', 'color:#000000;');\n break;\n\n case 'note':\n console.log(\"%c Note: %c \" + logPackage.message, 'background:#42A5F5;color:#ffffff', 'color:#42A5F5;');\n break;\n\n default:\n console.log(\"unknown logType for \\\"\" + logPackage.message + \"\\\"\");\n break;\n }\n };\n\n return SmartlogDestinationDevtools;\n}();\n\nexports.SmartlogDestinationDevtools = SmartlogDestinationDevtools;","map":{"mappings":[{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":5,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":5,"column":4}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":5,"column":31}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":6,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":7,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":7,"column":12}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":8,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":8,"column":11}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":8,"column":38}},{"source":"../ts/index.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":8,"column":41}},{"source":"../ts/index.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":8,"column":42}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":10,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":10,"column":2}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":10,"column":29}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":10,"column":30}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":10,"column":39}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":10,"column":40}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":9},"generated":{"line":10,"column":49}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":10,"column":52}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":19},"generated":{"line":10,"column":62}},{"source":"../ts/index.ts","name":null,"original":{"line":6,"column":2},"generated":{"line":10,"column":75}},{"source":"../ts/index.ts","name
|