diff --git a/package-lock.json b/package-lock.json index c863ba2..481467e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1188,9 +1188,9 @@ } }, "@pushrocks/smartlog-interfaces": { - "version": "2.0.19", - "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartlog-interfaces/-/smartlog-interfaces-2.0.19.tgz", - "integrity": "sha512-H4iQm1ZRSxnBTUy58WQ3VY0kFLHTm0eXrZX0+UPptgBQoZ8DZZow+bbY7yo0s4+q1EN0NqpJWVRkOQmZJ0asJg==", + "version": "2.0.20", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartlog-interfaces/-/smartlog-interfaces-2.0.20.tgz", + "integrity": "sha512-PR3l5UVor+//UoeOLws7hX4AtL2eWEHUC4uvjRY9wkrZt3XxemzWzPYXXlBUrdr5DPqt1b7tKcOx8xyUoUei9g==", "requires": { "@apiglobal/typedrequest-interfaces": "^1.0.13" } diff --git a/package.json b/package.json index 89c7d98..f80d3b9 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "dependencies": { "@gitzone/tsbundle": "^1.0.69", "@pushrocks/isounique": "^1.0.4", - "@pushrocks/smartlog-interfaces": "^2.0.19" + "@pushrocks/smartlog-interfaces": "^2.0.20" }, "files": [ "ts/**/*", diff --git a/ts/smartlog.classes.smartlog.ts b/ts/smartlog.classes.smartlog.ts index fc7254f..e679f67 100644 --- a/ts/smartlog.classes.smartlog.ts +++ b/ts/smartlog.classes.smartlog.ts @@ -129,8 +129,8 @@ export class Smartlog implements plugins.smartlogInterfaces.ILogDestination { }); } - public handleLog(logPackageArg: plugins.smartlogInterfaces.ILogPackage) { - this.logRouter.routeLog(logPackageArg); + public async handleLog(logPackageArg: plugins.smartlogInterfaces.ILogPackage) { + await this.logRouter.routeLog(logPackageArg); } private safeConsoleLog(logLine: string) {