cms_applog_models
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -43,5 +43,6 @@ /** | ||
this.saveLog = function (message = null, severity = 1, additional = null, timeout = null) { | ||
log.setCallResTime(getEpochTime() - this.req.startEpochTime) | ||
log.setRequest({ query: this.req.query, body: this.req.body }, this.req.headers, this.req.method, null, this.req.protocol, this.req.url) | ||
log.setResponse(data, this.statusCode, this.headers) | ||
log.setCallResTime(getEpochTime() - this.req.startEpochTime); | ||
log.setRequest({ query: this.req.query, body: this.req.body }, this.req.headers, this.req.method, null, this.req.protocol, this.req.url); | ||
log.setResponse(data, this.statusCode, this.headers); | ||
log.setCallDirection(1); | ||
log.setSelfFunction(this.req.url); | ||
@@ -48,0 +49,0 @@ if (additional) { |
{ | ||
"name": "cms_applog_models", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "cms applog v2 model", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
17083
422