This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
TyperLog/build/typerlog.min.js.map

1 line
2.8 KiB
Plaintext
Raw Normal View History

2014-03-06 21:11:01 +00:00
{"version":3,"file":"typerlog.min.js","sources":["typerlog.js"],"names":["TyperLog","_TyperLog","Log","message","level","category","this","logLevel","console","noop","window","log","e","trace","debug","TyperLogLevel"],"mappings":"AAAA,GAAIA,WACJ,SAAWC,GACP,GAAID,GAAW,WACX,QAASA,MAyBT,MAvBAA,GAASE,IAAM,SAAUC,EAASC,EAAOC,GACb,mBAAbA,KAA4BA,EAAW,IAC9CD,GAASE,KAAKC,UACdP,EAASQ,QAAa,IAAEL,IAGhCH,EAASO,SAAW,EACpBP,EAASQ,QAAU,WACf,GAAIC,GAAO,aAEPD,EAAUE,OAAOF,WAWrB,OAVAA,GAAa,IAAIE,OAAOF,QAAQG,KAAOF,EACvCD,EAAe,MAAI,WACf,IACI,QACF,MAAOI,GACLJ,EAAa,IAAEI,EAAEC,SAGzBL,EAAe,MAAIE,OAAOF,QAAQM,OAASL,EAEpCD,KAEJR,IAEXC,GAAUD,SAAWA,GACtBA,WAAaA,aAChB,IAAIA,WACJ,SAAWA,IACP,SAAWe,GACPA,EAAcA,EAAyB,UAAI,GAAK,YAChDA,EAAcA,EAAqB,MAAI,GAAK,QAC5CA,EAAcA,EAAwB,SAAI,GAAK,WAC/CA,EAAcA,EAAqB,MAAI,GAAK,QAC5CA,EAAcA,EAAuB,QAAI,GAAK,UAC9CA,EAAcA,EAAsB,OAAI,GAAK,SAC7CA,EAAcA,EAA6B,cAAI,GAAK,gBACpDA,EAAcA,EAAqB,MAAI,GAAK,SAC7Cf,EAASe,gBAAkBf,EAASe,kBACnBf,GAASe,eAC9Bf,WAAaA","sourcesContent":["var TyperLog;\n(function (_TyperLog) {\n var TyperLog = (function () {\n function TyperLog() {\n }\n TyperLog.Log = function (message, level, category) {\n if (typeof category === \"undefined\") { category = \"\"; }\n if (level <= this.logLevel) {\n TyperLog.console[\"log\"](message);\n }\n };\n TyperLog.logLevel = 4 /* WARNING */;\n TyperLog.console = (function () {\n var noop = function () {\n };\n var console = window.console || {};\n console[\"log\"] = window.console.log || noop;\n console[\"trace\"] = function () {\n try {\n throw {};\n } catch (e) {\n console[\"log\"](e.trace);\n }\n };\n console[\"debug\"] = window.console.debug || noop;\n\n return console;\n })();\n return TyperLog;\n })();\n _TyperLog.TyperLog = TyperLog;\n})(TyperLog || (TyperLog = {}));\nvar TyperLog;\n(function (TyperLog) {\n (function (TyperLogLevel) {\n TyperLogLevel[TyperLogLevel[\"EMERGENCY\"] = 0] = \"EMERGENCY\";\n TyperLogLevel[TyperLogLevel[\"ALERT\"] = 1] = \"ALERT\";\n TyperLogLevel[TyperLogLevel[\"CRITICAL\"] = 2] = \"CRITICAL\";\n TyperLogLevel[TyperLogLevel[\"ERROR\"] = 3] = \"ERROR\";\n TyperLogLevel[TyperLogLevel[\"WARNING\"] = 4] = \"WARNING\";\n TyperLogLevel[TyperLogLevel[\"NOTICE\"] = 5] = \"NOTICE\";\n TyperLogLevel[TyperLogLevel[\"INFORMATIONAL\"] = 6] = \"INFORMATIONAL\";\n TyperLogLevel[TyperLogLevel[\"DEBUG\"] = 7] = \"DEBUG\";\n })(TyperLog.TyperLogLevel || (TyperLog.TyperLogLevel = {}));\n var TyperLogLevel = TyperLog.TyperLogLevel;\n})(TyperLog || (TyperLog = {}));\n//# sourceMappingURL=typerlog.js.map\n"]}