@powfix/core-js 0.12.9 → 0.12.11

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.
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RedisPublisher = void 0;
13
13
  const RedisClient_1 = require("./RedisClient");
14
+ const LOG_TAG = '[REDIS-PUB]';
14
15
  class RedisPublisher extends RedisClient_1.RedisClient {
15
16
  constructor(options) {
16
17
  super(options);
@@ -48,11 +49,11 @@ class RedisPublisher extends RedisClient_1.RedisClient {
48
49
  break;
49
50
  }
50
51
  case "length": {
51
- console.log(Date.now(), 'Server ---> Redis', channel, stringifyData.length);
52
+ console.log(new Date().toISOString(), LOG_TAG, channel, `[len=${stringifyData.length}]`);
52
53
  break;
53
54
  }
54
55
  case "data": {
55
- console.log(Date.now(), 'Server ---> Redis', channel, stringifyData);
56
+ console.log(new Date().toISOString(), LOG_TAG, channel, stringifyData);
56
57
  break;
57
58
  }
58
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powfix/core-js",
3
- "version": "0.12.9",
3
+ "version": "0.12.11",
4
4
  "description": "core package",
5
5
  "author": "Kwon Kyung-Min <powfix@gmail.com>",
6
6
  "private": false,