@tiledesk/tiledesk-tybot-connector 2.0.9-rc1 → 2.0.10-rc1

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/Logger.js CHANGED
@@ -41,19 +41,12 @@ class Logger {
41
41
  console.log("LOGGER for request ", this.request_id);
42
42
 
43
43
  this.dev = false;
44
- console.log("LOGGER is dev conversation ? ", config.dev);
45
- // if (config.dev && config.dev === true) {
46
- // this.dev = true;
47
- // } else {
48
- // this._disableDebugMethods()
49
- // }
50
-
51
- // if (!AMQP_MANAGER_URL) {
52
- // console.error('AMQP_MANAGER_URL is undefined. Logger not available...');
53
- // return;
54
- // //throw new Error("Error starting logger: AMQP_MANAGER_URL is undefined.")
55
- // }
56
-
44
+ if (config.dev && config.dev === true) {
45
+ this.dev = true;
46
+ } else {
47
+ this._disableDebugMethods()
48
+ }
49
+
57
50
  }
58
51
 
59
52
  error(...args) {