fix(core): update

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

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,