timeEnd returns measured time in ms

This commit is contained in:
Fabian Stamm 2020-05-05 18:33:33 +02:00
parent 4420fb13ea
commit 1fd8da459b
2 changed files with 3 additions and 1 deletions

View File

@ -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",

View File

@ -309,7 +309,9 @@ export class LoggingBase {
withColor(Colors.BLUE, diff.toFixed(4)),
"ms",
]);
return diff;
}
return -1;
}
private message(