exodus-framework 2.1.1021 → 2.1.1022
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/services/logger.ts"],"names":[],"mappings":"AAEA,OAAa,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,OAAO,MAAM,wBAAwB,CAAC;AAQ7C,cAAM,aAAc,SAAQ,OAAO;IACjC,OAAO,CAAC,MAAM,CAAC,cAAc,CAAgB;IAC7C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAS;IAEf,MAAM;IAON,YAAY;YAOX,YAAY;WA2DN,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE;WAOrE,MAAM;YAIN,iBAAiB;YA2BjB,UAAU;YA2BV,eAAe;IAyB7B,OAAO,CAAC,MAAM,CAAC,QAAQ;IAIvB,OAAO,CAAC,MAAM,CAAC,UAAU;
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/services/logger.ts"],"names":[],"mappings":"AAEA,OAAa,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,OAAO,MAAM,wBAAwB,CAAC;AAQ7C,cAAM,aAAc,SAAQ,OAAO;IACjC,OAAO,CAAC,MAAM,CAAC,cAAc,CAAgB;IAC7C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAS;IAEf,MAAM;IAON,YAAY;YAOX,YAAY;WA2DN,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE;WAOrE,MAAM;YAIN,iBAAiB;YA2BjB,UAAU;YA2BV,eAAe;IAyB7B,OAAO,CAAC,MAAM,CAAC,QAAQ;IAIvB,OAAO,CAAC,MAAM,CAAC,UAAU;CAK1B;AACD,eAAe,aAAa,CAAC"}
|
package/lib/services/logger.js
CHANGED
@@ -186,7 +186,6 @@ class LoggerService extends _managed.default {
|
|
186
186
|
static writeToLog(filename, message, data) {
|
187
187
|
const date = new Date();
|
188
188
|
const logMessage = `[${(0, _dateFns.format)(date, 'HH:mm:ss')}][${message}]: ${data}\n`;
|
189
|
-
console.log('salvando', `${LoggerService.path}/${filename}.log`);
|
190
189
|
fs.appendFileSync(`${LoggerService.path}/${filename}.log`, logMessage);
|
191
190
|
}
|
192
191
|
}
|