@putkoff/abstract-logger 0.0.20 → 0.0.21

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.
@@ -2,4 +2,11 @@ export declare const LOG_CONFIG: {
2
2
  condensed: boolean;
3
3
  expandOnDebug: boolean;
4
4
  maxDetailsLength: number;
5
+ /**
6
+ * Function-level filtering
7
+ * - empty allowlist = allow all
8
+ * - blocklist always wins
9
+ */
10
+ functionAllowlist: string[];
11
+ functionBlocklist: string[];
5
12
  };
@@ -2,4 +2,11 @@ export declare const LOG_CONFIG: {
2
2
  condensed: boolean;
3
3
  expandOnDebug: boolean;
4
4
  maxDetailsLength: number;
5
+ /**
6
+ * Function-level filtering
7
+ * - empty allowlist = allow all
8
+ * - blocklist always wins
9
+ */
10
+ functionAllowlist: string[];
11
+ functionBlocklist: string[];
5
12
  };
@@ -22,6 +22,13 @@ declare const LOG_CONFIG: {
22
22
  condensed: boolean;
23
23
  expandOnDebug: boolean;
24
24
  maxDetailsLength: number;
25
+ /**
26
+ * Function-level filtering
27
+ * - empty allowlist = allow all
28
+ * - blocklist always wins
29
+ */
30
+ functionAllowlist: string[];
31
+ functionBlocklist: string[];
25
32
  };
26
33
 
27
34
  /** ---------------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putkoff/abstract-logger",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "description": "Lightweight TypeScript logger wrapper with auto-context tracing and Winston integration.",
6
6
  "main": "dist/cjs/index.js",