[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم