@goldstack/utils-log 0.3.26 → 0.3.28
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/src/utilsLog.d.ts
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import { type LoggerConfig } from '@goldstack/utils-cli';
|
|
2
2
|
export declare function setLogger(config: LoggerConfig): void;
|
|
3
|
-
export declare function debug(msg: string, properties?:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}): void;
|
|
9
|
-
export declare function warn(msg: string, properties?: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}): void;
|
|
12
|
-
export declare function error(msg: string, properties?: {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}): void;
|
|
3
|
+
export declare function debug(msg: string, properties?: any): void;
|
|
4
|
+
export declare function info(msg: string, properties?: any): void;
|
|
5
|
+
export declare function warn(msg: string, properties?: any): void;
|
|
6
|
+
export declare function error(msg: string, properties?: any): void;
|
|
15
7
|
export declare const fatal: (msg: string) => void;
|
|
16
8
|
//# sourceMappingURL=utilsLog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilsLog.d.ts","sourceRoot":"","sources":["../../src/utilsLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,YAAY,EAAU,MAAM,sBAAsB,CAAC;AAIlF,wBAAgB,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAEpD;
|
|
1
|
+
{"version":3,"file":"utilsLog.d.ts","sourceRoot":"","sources":["../../src/utilsLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,YAAY,EAAU,MAAM,sBAAsB,CAAC;AAIlF,wBAAgB,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAEpD;AAGD,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,IAAI,CAEzD;AAGD,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,IAAI,CAExD;AAGD,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,IAAI,CAExD;AAGD,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,IAAI,CAEzD;AACD,eAAO,MAAM,KAAK,GAAI,KAAK,MAAM,KAAG,IAMnC,CAAC"}
|
package/dist/src/utilsLog.js
CHANGED
|
@@ -11,15 +11,19 @@ const isDebug = process.env.GOLDSTACK_DEBUG || process.env.DEBUG;
|
|
|
11
11
|
function setLogger(config) {
|
|
12
12
|
(0, utils_cli_1.configureLogger)(config);
|
|
13
13
|
}
|
|
14
|
+
// biome-ignore lint/suspicious/noExplicitAny: Logger needs to accept any type for properties
|
|
14
15
|
function debug(msg, properties) {
|
|
15
16
|
(0, utils_cli_1.logger)().debug(properties, msg);
|
|
16
17
|
}
|
|
18
|
+
// biome-ignore lint/suspicious/noExplicitAny: Logger needs to accept any type for properties
|
|
17
19
|
function info(msg, properties) {
|
|
18
20
|
(0, utils_cli_1.logger)().info(properties, msg);
|
|
19
21
|
}
|
|
22
|
+
// biome-ignore lint/suspicious/noExplicitAny: Logger needs to accept any type for properties
|
|
20
23
|
function warn(msg, properties) {
|
|
21
24
|
(0, utils_cli_1.logger)().warn(properties, msg);
|
|
22
25
|
}
|
|
26
|
+
// biome-ignore lint/suspicious/noExplicitAny: Logger needs to accept any type for properties
|
|
23
27
|
function error(msg, properties) {
|
|
24
28
|
(0, utils_cli_1.logger)().error(properties, msg);
|
|
25
29
|
}
|
package/dist/src/utilsLog.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilsLog.js","sourceRoot":"","sources":["../../src/utilsLog.ts"],"names":[],"mappings":";;;AAIA,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AMhB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/utils-log",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.28",
|
|
4
4
|
"description": "Utilities for emitting logs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@goldstack/utils-cli": "0.3.
|
|
37
|
+
"@goldstack/utils-cli": "0.3.26"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@goldstack/utils-git": "0.2.
|
|
41
|
-
"@swc/core": "^1.15.
|
|
40
|
+
"@goldstack/utils-git": "0.2.21",
|
|
41
|
+
"@swc/core": "^1.15.8",
|
|
42
42
|
"@swc/jest": "^0.2.39",
|
|
43
|
-
"@types/jest": "^
|
|
44
|
-
"@types/node": "^
|
|
45
|
-
"jest": "^
|
|
43
|
+
"@types/jest": "^30.0.0",
|
|
44
|
+
"@types/node": "^25.0.3",
|
|
45
|
+
"jest": "^30.2.0",
|
|
46
46
|
"rimraf": "^3.0.2",
|
|
47
47
|
"typescript": "^5.9.3"
|
|
48
48
|
},
|