diff --git a/package.json b/package.json index cb0d26b..492972a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/logging", - "version": "2.4.3", + "version": "2.4.4", "description": "", "main": "out/index.js", "types": "out/index.d.ts", diff --git a/src/base.ts b/src/base.ts index 1e3f4fc..21c1442 100644 --- a/src/base.ts +++ b/src/base.ts @@ -309,7 +309,9 @@ export class LoggingBase { withColor(Colors.BLUE, diff.toFixed(4)), "ms", ]); + return diff; } + return -1; } private message(