@goldstack/utils-log 0.3.11 → 0.3.12

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.
@@ -1,4 +1,6 @@
1
- export declare function debug(msg: string): void;
1
+ export declare function debug(msg: string, properties?: {
2
+ [key: string]: any;
3
+ }): void;
2
4
  export declare function info(msg: string, properties?: {
3
5
  [key: string]: any;
4
6
  }): void;
@@ -1 +1 @@
1
- {"version":3,"file":"utilsLog.d.ts","sourceRoot":"","sources":["../../src/utilsLog.ts"],"names":[],"mappings":"AAIA,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,IAAI,CAE3E;AAED,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,IAAI,CAE3E;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED,eAAO,MAAM,KAAK,QAAS,MAAM,KAAG,IAMnC,CAAC"}
1
+ {"version":3,"file":"utilsLog.d.ts","sourceRoot":"","sources":["../../src/utilsLog.ts"],"names":[],"mappings":"AAIA,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,IAAI,CAE5E;AAED,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,IAAI,CAE3E;AAED,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,IAAI,CAE3E;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED,eAAO,MAAM,KAAK,QAAS,MAAM,KAAG,IAMnC,CAAC"}
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.fatal = exports.error = exports.warn = exports.info = exports.debug = void 0;
4
4
  const utils_cli_1 = require("@goldstack/utils-cli");
5
5
  const isDebug = process.env.GOLDSTACK_DEBUG || process.env.DEBUG;
6
- function debug(msg) {
7
- (0, utils_cli_1.logger)().debug(msg);
6
+ function debug(msg, properties) {
7
+ (0, utils_cli_1.logger)().debug(properties, msg);
8
8
  }
9
9
  exports.debug = debug;
10
10
  function info(msg, properties) {
@@ -1 +1 @@
1
- {"version":3,"file":"utilsLog.js","sourceRoot":"","sources":["../../src/utilsLog.ts"],"names":[],"mappings":";;;AAAA,oDAA8C;AAE9C,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;AAEjE,SAAgB,KAAK,CAAC,GAAW;IAC/B,IAAA,kBAAM,GAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACtB,CAAC;AAFD,sBAEC;AAED,SAAgB,IAAI,CAAC,GAAW,EAAE,UAAmC;IACnE,IAAA,kBAAM,GAAE,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AACjC,CAAC;AAFD,oBAEC;AAED,SAAgB,IAAI,CAAC,GAAW,EAAE,UAAmC;IACnE,IAAA,kBAAM,GAAE,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AACjC,CAAC;AAFD,oBAEC;AAED,SAAgB,KAAK,CAAC,GAAW;IAC/B,IAAA,kBAAM,GAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACtB,CA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,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC;AANW,QAAA,KAAK,SAMhB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldstack/utils-log",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "Utilities for emitting logs.",
5
5
  "keywords": [
6
6
  "goldstack",