diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8c7abfb --- /dev/null +++ b/.snyk @@ -0,0 +1,4 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +patch: {} diff --git a/ts/logdna.classes.logmessage.ts b/ts/logdna.classes.logmessage.ts index cf19709..e292ee3 100644 --- a/ts/logdna.classes.logmessage.ts +++ b/ts/logdna.classes.logmessage.ts @@ -63,7 +63,10 @@ export class LogdnaMessage { static fromSmartLogPackage(smartlogPackageArg: ILogPackage): LogdnaMessage { return new LogdnaMessage({ line: smartlogPackageArg.message, - meta: smartlogPackageArg.context, + meta: { + ...smartlogPackageArg.context, + logType: smartlogPackageArg.type + }, env: smartlogPackageArg.context.environment, hostname: smartlogPackageArg.context.zone, level: smartlogPackageArg.level,