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

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