fix(core): update

This commit is contained in:
2021-07-07 01:05:16 +02:00
parent c71cff4011
commit 1308f16699
8 changed files with 53 additions and 43 deletions

View File

@@ -40,7 +40,7 @@ export class LogdnaAccount {
return `${reduced},${euc(newItem)}`;
});
})()
)
);
// let construct the request uri
const requestUrlWithParams = `?hostname=${uriHostname}&mac=${uriMac}&ip=1${uriIp}&tags=${uriTags}`;
@@ -51,7 +51,7 @@ export class LogdnaAccount {
app: lm.options.app,
level: lm.options.level,
env: lm.options.env,
meta: lm.options.meta
meta: lm.options.meta,
};
this.logAggregator.addLog(requestUrlWithParams, logLine);
@@ -69,9 +69,9 @@ export class LogdnaAccount {
*/
public get smartlogDestination(): ILogDestination {
return {
handleLog: async logPackageArg => {
handleLog: async (logPackageArg) => {
this.sendSmartlogPackage(logPackageArg);
}
},
};
}
}