fix(core): update
This commit is contained in:
parent
7950cb1649
commit
2e39906fd2
4
.snyk
Normal file
4
.snyk
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
|
version: v1.12.0
|
||||||
|
ignore: {}
|
||||||
|
patch: {}
|
@ -63,7 +63,10 @@ export class LogdnaMessage {
|
|||||||
static fromSmartLogPackage(smartlogPackageArg: ILogPackage): LogdnaMessage {
|
static fromSmartLogPackage(smartlogPackageArg: ILogPackage): LogdnaMessage {
|
||||||
return new LogdnaMessage({
|
return new LogdnaMessage({
|
||||||
line: smartlogPackageArg.message,
|
line: smartlogPackageArg.message,
|
||||||
meta: smartlogPackageArg.context,
|
meta: {
|
||||||
|
...smartlogPackageArg.context,
|
||||||
|
logType: smartlogPackageArg.type
|
||||||
|
},
|
||||||
env: smartlogPackageArg.context.environment,
|
env: smartlogPackageArg.context.environment,
|
||||||
hostname: smartlogPackageArg.context.zone,
|
hostname: smartlogPackageArg.context.zone,
|
||||||
level: smartlogPackageArg.level,
|
level: smartlogPackageArg.level,
|
||||||
|
Loading…
Reference in New Issue
Block a user