[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2022-08-09 18:49:06 +02:00
الأصل 99ee434677
التزام 2a115858d0

عرض الملف

@@ -48,21 +48,21 @@ module.exports = class Logger {
constructor(appName = 'miroTalkSfu', debugOn = true) {
this.appName = Log.fg.yellow + appName + Log.ac.reset;
this.debugOn = debugOn;
this.timeStart = performance.now();
this.timeStart = Date.now();
this.timeEnd = null;
this.timeElapsedMs = null;
}
debug(msg, op = '') {
if (this.debugOn) {
this.timeEnd = performance.now();
this.timeEnd = Date.now();
this.timeElapsedMs = this.getFormatTime(Math.floor(this.timeEnd - this.timeStart));
console.debug(
'[' + this.getDataTime() + '] [' + this.appName + '] ' + msg,
util.inspect(op, options),
this.timeElapsedMs,
);
this.timeStart = performance.now();
this.timeStart = Date.now();
}
}