From 51f1ef621bdc7f6f45e825fd468c95881cadfcb4 Mon Sep 17 00:00:00 2001 From: Stephen Lautier Date: Fri, 10 Jun 2016 00:31:20 +0200 Subject: [PATCH] updated dist --- dist/amd/index.js | 2 ++ dist/amd/index.js.map | 1 + dist/amd/logging/logger.factory.js | 2 ++ dist/amd/logging/logger.factory.js.map | 1 + dist/amd/logging/logger.model.js | 2 ++ dist/amd/logging/logger.model.js.map | 1 + dist/amd/logging/logger.service.js | 2 ++ dist/amd/logging/logger.service.js.map | 1 + dist/amd/logging/logging.js | 2 ++ dist/amd/logging/logging.js.map | 1 + 10 files changed, 15 insertions(+) create mode 100644 dist/amd/index.js.map create mode 100644 dist/amd/logging/logger.factory.js.map create mode 100644 dist/amd/logging/logger.model.js.map create mode 100644 dist/amd/logging/logger.service.js.map create mode 100644 dist/amd/logging/logging.js.map diff --git a/dist/amd/index.js b/dist/amd/index.js index d094ea4..3233589 100644 --- a/dist/amd/index.js +++ b/dist/amd/index.js @@ -5,3 +5,5 @@ define(["require", "exports", "./logging/logging"], function (require, exports, } __export(logging_1); }); + +//# sourceMappingURL=index.js.map diff --git a/dist/amd/index.js.map b/dist/amd/index.js.map new file mode 100644 index 0000000..d62df86 --- /dev/null +++ b/dist/amd/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;IAAA,oBAAkC","file":"index.js","sourcesContent":["export * from \"./logging/logging\";"]} \ No newline at end of file diff --git a/dist/amd/logging/logger.factory.js b/dist/amd/logging/logger.factory.js index bdce7bc..9064ff6 100644 --- a/dist/amd/logging/logger.factory.js +++ b/dist/amd/logging/logger.factory.js @@ -24,3 +24,5 @@ define(["require", "exports", "@angular/core", "./logger.service"], function (re }()); exports.LoggerFactory = LoggerFactory; }); + +//# sourceMappingURL=logger.factory.js.map diff --git a/dist/amd/logging/logger.factory.js.map b/dist/amd/logging/logger.factory.js.map new file mode 100644 index 0000000..98211cc --- /dev/null +++ b/dist/amd/logging/logger.factory.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["logging/logger.factory.ts"],"names":[],"mappings":";;;;;;;;;;;IAMA;QAEC,uBACS,aAA4B;YAA5B,kBAAa,GAAb,aAAa,CAAe;QAGrC,CAAC;QAED,mCAAW,GAAX,UAAY,QAAgB;YAC3B,MAAM,CAAC,IAAI,oBAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QAC9C,CAAC;QAXF;YAAC,iBAAU,EAAE;;yBAAA;QAYb,oBAAC;IAAD,CAXA,AAWC,IAAA;IAXY,qBAAa,gBAWzB,CAAA","file":"logger.factory.js","sourcesContent":["import {Injectable} from \"@angular/core\";\r\n\r\nimport {ILog} from \"./logger.model\";\r\nimport {Log, LoggerService} from \"./logger.service\";\r\n\r\n@Injectable()\r\nexport class LoggerFactory {\r\n\r\n\tconstructor(\r\n\t\tprivate loggerService: LoggerService\r\n\t) {\r\n\r\n\t}\r\n\r\n\tgetInstance(sourceId: string): ILog {\r\n\t\treturn new Log(sourceId, this.loggerService);\r\n\t}\r\n}"]} \ No newline at end of file diff --git a/dist/amd/logging/logger.model.js b/dist/amd/logging/logger.model.js index d4db967..f1c52c0 100644 --- a/dist/amd/logging/logger.model.js +++ b/dist/amd/logging/logger.model.js @@ -1,3 +1,5 @@ define(["require", "exports"], function (require, exports) { "use strict"; }); + +//# sourceMappingURL=logger.model.js.map diff --git a/dist/amd/logging/logger.model.js.map b/dist/amd/logging/logger.model.js.map new file mode 100644 index 0000000..ffe4235 --- /dev/null +++ b/dist/amd/logging/logger.model.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"logger.model.js","sourcesContent":[]} \ No newline at end of file diff --git a/dist/amd/logging/logger.service.js b/dist/amd/logging/logger.service.js index e893f83..8afd7ed 100644 --- a/dist/amd/logging/logger.service.js +++ b/dist/amd/logging/logger.service.js @@ -59,3 +59,5 @@ define(["require", "exports", "@angular/core"], function (require, exports, core }()); exports.Log = Log; }); + +//# sourceMappingURL=logger.service.js.map diff --git a/dist/amd/logging/logger.service.js.map b/dist/amd/logging/logger.service.js.map new file mode 100644 index 0000000..d08ffc6 --- /dev/null +++ b/dist/amd/logging/logger.service.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["logging/logger.service.ts"],"names":[],"mappings":";;;;;;;;;;;IAKA;QAAA;QASA,CAAC;QAPA,2BAAG,GAAH,UAAI,OAAe,EAAE,OAAe,EAAE,IAAU;YAC/C,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACJ,OAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YACxC,CAAC;YAAC,IAAI,CAAC,CAAC;gBACD,OAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;QACF,CAAC;QATF;YAAC,iBAAU,EAAE;;yBAAA;QAUb,oBAAC;IAAD,CATA,AASC,IAAA;IATY,qBAAa,gBASzB,CAAA;IAED;QAEC,aACS,QAAgB,EAChB,MAAqB;YADrB,aAAQ,GAAR,QAAQ,CAAQ;YAChB,WAAM,GAAN,MAAM,CAAe;QAE9B,CAAC;QAED,mBAAK,GAAL,UAAM,MAAc,EAAE,OAAgB,EAAE,IAAU;YACjD,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;QAED,kBAAI,GAAJ,UAAK,MAAc,EAAE,OAAgB,EAAE,IAAU;YAChD,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;QAED,kBAAI,GAAJ,UAAK,MAAc,EAAE,OAAgB,EAAE,IAAU;YAChD,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;QAED,mBAAK,GAAL,UAAM,MAAc,EAAE,OAAgB,EAAE,IAAU;YACjD,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;QAEO,iBAAG,GAAX,UAAY,IAAY,EAAE,MAAc,EAAE,OAAgB,EAAE,IAAU;YACrE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,KAAG,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,CAAG,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC;QAEO,6BAAe,GAAvB,UAAwB,MAAc,EAAE,OAAgB;YACvD,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;gBACb,MAAM,CAAC,MAAI,IAAI,CAAC,QAAQ,UAAK,MAAM,UAAK,OAAS,CAAC;YACnD,CAAC;YAAC,IAAI,CAAC,CAAC;gBACP,MAAM,CAAC,MAAI,IAAI,CAAC,QAAQ,UAAK,MAAM,MAAG,CAAC;YACxC,CAAC;QACF,CAAC;QACF,UAAC;IAAD,CAnCA,AAmCC,IAAA;IAnCY,WAAG,MAmCf,CAAA","file":"logger.service.js","sourcesContent":["import {Injectable} from \"@angular/core\";\r\n\r\nimport {ILog} from \"./logger.model\";\r\n\r\n@Injectable()\r\nexport class LoggerService {\r\n\r\n\tlog(logType: string, message: string, data?: any): void {\r\n\t\tif (data) {\r\n\t\t\t(console)[logType](message, data);\r\n\t\t} else {\r\n\t\t\t(console)[logType](message);\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport class Log implements ILog {\r\n\r\n\tconstructor(\r\n\t\tprivate sourceId: string,\r\n\t\tprivate logger: LoggerService\r\n\t) {\r\n\t}\r\n\r\n\tdebug(method: string, message?: string, data?: any): void {\r\n\t\tthis.log(\"debug\", method, message, data);\r\n\t}\r\n\r\n\tinfo(method: string, message?: string, data?: any): void {\r\n\t\tthis.log(\"info\", method, message, data);\r\n\t}\r\n\r\n\twarn(method: string, message?: string, data?: any): void {\r\n\t\tthis.log(\"warn\", method, message, data);\r\n\t}\r\n\r\n\terror(method: string, message?: string, data?: any): void {\r\n\t\tthis.log(\"error\", method, message, data);\r\n\t}\r\n\r\n\tprivate log(type: string, method: string, message?: string, data?: any) {\r\n\t\tthis.logger.log(type, `${this.buildLogMessage(method, message)}`, data);\r\n\t}\r\n\r\n\tprivate buildLogMessage(method: string, message?: string): string {\r\n\t\tif (message) {\r\n\t\t\treturn `[${this.sourceId}::${method}] ${message}`;\r\n\t\t} else {\r\n\t\t\treturn `[${this.sourceId}::${method}]`;\r\n\t\t}\r\n\t}\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/amd/logging/logging.js b/dist/amd/logging/logging.js index 6fb0643..3972835 100644 --- a/dist/amd/logging/logging.js +++ b/dist/amd/logging/logging.js @@ -10,3 +10,5 @@ define(["require", "exports", "./logger.factory", "./logger.service", "./logger. logger_service_1.LoggerService ]; }); + +//# sourceMappingURL=logging.js.map diff --git a/dist/amd/logging/logging.js.map b/dist/amd/logging/logging.js.map new file mode 100644 index 0000000..1cffdd2 --- /dev/null +++ b/dist/amd/logging/logging.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["logging/logging.ts"],"names":[],"mappings":";;;;;IAGA,2BAAiC;IACjC,2BAAiC;IAGpB,wBAAgB,GAAQ;QACpC,8BAAa;QACb,8BAAa;KACb,CAAC","file":"logging.js","sourcesContent":["import {LoggerFactory} from \"./logger.factory\";\r\nimport {LoggerService} from \"./logger.service\";\r\n\r\nexport * from \"./logger.service\";\r\nexport * from \"./logger.factory\";\r\nexport * from \"./logger.model\";\r\n\r\nexport const LOGGER_PROVIDERS: any = [\r\n\tLoggerFactory,\r\n\tLoggerService\r\n];"]} \ No newline at end of file