@putkoff/abstract-logger 0.0.26 → 0.0.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/cjs/index.js +20 -21
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/config.d.ts +1 -6
- package/dist/esm/index.js +20 -21
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/config.d.ts +1 -6
- package/dist/types/config.d.ts +1 -6
- package/dist/types/index.d.ts +2 -7
- package/package.json +1 -1
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function getLogConfig(): {
|
|
2
2
|
condensed: boolean;
|
|
3
3
|
expandOnDebug: boolean;
|
|
4
4
|
showDetails: boolean;
|
|
5
5
|
maxDetailsLength: number;
|
|
6
|
-
/**
|
|
7
|
-
* Function-level filtering
|
|
8
|
-
* - empty allowlist = allow all
|
|
9
|
-
* - blocklist always wins
|
|
10
|
-
*/
|
|
11
6
|
showDetailslist: string[];
|
|
12
7
|
functionAllowlist: string[];
|
|
13
8
|
functionBlocklist: string[];
|
package/dist/types/config.d.ts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function getLogConfig(): {
|
|
2
2
|
condensed: boolean;
|
|
3
3
|
expandOnDebug: boolean;
|
|
4
4
|
showDetails: boolean;
|
|
5
5
|
maxDetailsLength: number;
|
|
6
|
-
/**
|
|
7
|
-
* Function-level filtering
|
|
8
|
-
* - empty allowlist = allow all
|
|
9
|
-
* - blocklist always wins
|
|
10
|
-
*/
|
|
11
6
|
showDetailslist: string[];
|
|
12
7
|
functionAllowlist: string[];
|
|
13
8
|
functionBlocklist: string[];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -18,16 +18,11 @@ declare function serializeDetails(value: any, condensed: boolean, maxLength: num
|
|
|
18
18
|
declare function getLogString(options: LogStringOptions): string;
|
|
19
19
|
declare function getLogString(messageOrOptions: string | LogStringOptions, logType?: LogType, details?: any, function_name?: any, file_location?: any, consumerLogger?: any): string;
|
|
20
20
|
|
|
21
|
-
declare
|
|
21
|
+
declare function getLogConfig(): {
|
|
22
22
|
condensed: boolean;
|
|
23
23
|
expandOnDebug: boolean;
|
|
24
24
|
showDetails: boolean;
|
|
25
25
|
maxDetailsLength: number;
|
|
26
|
-
/**
|
|
27
|
-
* Function-level filtering
|
|
28
|
-
* - empty allowlist = allow all
|
|
29
|
-
* - blocklist always wins
|
|
30
|
-
*/
|
|
31
26
|
showDetailslist: string[];
|
|
32
27
|
functionAllowlist: string[];
|
|
33
28
|
functionBlocklist: string[];
|
|
@@ -39,5 +34,5 @@ declare const LOG_CONFIG: {
|
|
|
39
34
|
declare const IS_BROWSER: boolean;
|
|
40
35
|
declare const IS_NODE: boolean;
|
|
41
36
|
|
|
42
|
-
export { IS_BROWSER, IS_NODE,
|
|
37
|
+
export { IS_BROWSER, IS_NODE, getLogConfig, getLogString, logger, resolveValue, serializeDetails };
|
|
43
38
|
export type { LogStringOptions, LogType };
|
package/package.json
CHANGED