fix(core): update

This commit is contained in:
2020-06-11 10:11:37 +00:00
parent 7d72b24770
commit 1cc75afc32
4 changed files with 22 additions and 12 deletions

View File

@ -15,9 +15,9 @@ export class LogRouter {
}
// routes the log according to added logDestinations
routeLog(logPackageArg: ILogPackage) {
public async routeLog(logPackageArg: ILogPackage) {
for (const logDestination of this.logDestinations) {
logDestination.handleLog(logPackageArg);
await logDestination.handleLog(logPackageArg);
}
}
}