fix(core): update

This commit is contained in:
Philipp Kunz 2018-11-04 00:05:36 +01:00
parent 7950cb1649
commit 2e39906fd2
2 changed files with 8 additions and 1 deletions

4
.snyk Normal file
View File

@ -0,0 +1,4 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
ignore: {}
patch: {}

View File

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