timeEnd returns measured time in ms
This commit is contained in:
parent
4420fb13ea
commit
1fd8da459b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/logging",
|
"name": "@hibas123/logging",
|
||||||
"version": "2.4.3",
|
"version": "2.4.4",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "out/index.js",
|
"main": "out/index.js",
|
||||||
"types": "out/index.d.ts",
|
"types": "out/index.d.ts",
|
||||||
|
@ -309,7 +309,9 @@ export class LoggingBase {
|
|||||||
withColor(Colors.BLUE, diff.toFixed(4)),
|
withColor(Colors.BLUE, diff.toFixed(4)),
|
||||||
"ms",
|
"ms",
|
||||||
]);
|
]);
|
||||||
|
return diff;
|
||||||
}
|
}
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
private message(
|
private message(
|
||||||
|
Loading…
Reference in New Issue
Block a user