evaengine 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evaengine",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "EvaEngine for Node.js, a micro service development engine",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -75,6 +75,7 @@ class Logger extends ServiceInterface {
75
75
  factory(logPath, key = 'global', level = this.level) {
76
76
  const timestamp = () => moment().format();
77
77
  return logPath ? winston.createLogger({
78
+ format: winston.format.combine(winston.format.splat(), winston.format.json()),
78
79
  transports: [
79
80
  new (winston.transports.Console)({
80
81
  name: `${key}-console`,
@@ -92,6 +93,7 @@ class Logger extends ServiceInterface {
92
93
  })
93
94
  ]
94
95
  }) : winston.createLogger({
96
+ format: winston.format.combine(winston.format.splat(), winston.format.json()),
95
97
  transports: [
96
98
  new (winston.transports.Console)({
97
99
  name: `${key}-console`,