Fixing bug with time using wrong logging instance

This commit is contained in:
Fabian Stamm 2020-04-09 18:39:43 +02:00
parent 2eb9356a9d
commit fa7a168f17
2 changed files with 2 additions and 2 deletions

View File

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

View File

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