diff --git a/package.json b/package.json index 0bc8537..577ad18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/logging", - "version": "2.3.1", + "version": "2.3.2", "description": "", "main": "out/index.js", "types": "out/index.d.ts", diff --git a/src/base.ts b/src/base.ts index be6b246..b068fc5 100644 --- a/src/base.ts +++ b/src/base.ts @@ -254,7 +254,7 @@ export class LoggingBase { let timer = this.timerMap.get(id); if (timer) { let diff = this.getTimeDiff(timer.start); - Logging.message(LoggingTypes.Debug, [ + this.message(LoggingTypes.Debug, [ withColor(Colors.GREEN, `[${timer.name}]`), `->`, withColor(Colors.BLUE, diff.toFixed(4)),