@allthings/cloud-toolkit 2.3.0 → 2.4.0

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/dist/lib.cjs.js CHANGED
@@ -1111,6 +1111,7 @@ const logger = (config) => {
1111
1111
  format: winston.format.combine(winston.format.timestamp({
1112
1112
  format: 'DD-MM-YYYY HH:mm:ss',
1113
1113
  }), winston.format.json()),
1114
+ level: config.level || 'info',
1114
1115
  };
1115
1116
  if (config.datadogApiKey) {
1116
1117
  const httpOptions = {
package/dist/lib.esm.js CHANGED
@@ -1088,6 +1088,7 @@ const logger = (config) => {
1088
1088
  format: format.combine(format.timestamp({
1089
1089
  format: 'DD-MM-YYYY HH:mm:ss',
1090
1090
  }), format.json()),
1091
+ level: config.level || 'info',
1091
1092
  };
1092
1093
  if (config.datadogApiKey) {
1093
1094
  const httpOptions = {