@putkoff/abstract-logger 0.0.23 → 0.0.26

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,12 +1,14 @@
1
1
  export declare const LOG_CONFIG: {
2
2
  condensed: boolean;
3
3
  expandOnDebug: boolean;
4
+ showDetails: boolean;
4
5
  maxDetailsLength: number;
5
6
  /**
6
7
  * Function-level filtering
7
8
  * - empty allowlist = allow all
8
9
  * - blocklist always wins
9
10
  */
11
+ showDetailslist: string[];
10
12
  functionAllowlist: string[];
11
13
  functionBlocklist: string[];
12
14
  };
@@ -1,4 +1,4 @@
1
- export type LogType = "info" | "warn" | "error" | "debug" | null;
1
+ export type LogType = "success" | "processing" | "listening" | "computing" | "waiting" | "emitting" | "ingesting" | "prune" | "connect" | "info" | "warn" | "error" | "debug" | null;
2
2
  /** Exported logger */
3
3
  export declare const logger: any;
4
4
  /**
@@ -1,12 +1,14 @@
1
1
  export declare const LOG_CONFIG: {
2
2
  condensed: boolean;
3
3
  expandOnDebug: boolean;
4
+ showDetails: boolean;
4
5
  maxDetailsLength: number;
5
6
  /**
6
7
  * Function-level filtering
7
8
  * - empty allowlist = allow all
8
9
  * - blocklist always wins
9
10
  */
11
+ showDetailslist: string[];
10
12
  functionAllowlist: string[];
11
13
  functionBlocklist: string[];
12
14
  };
@@ -1,4 +1,4 @@
1
- type LogType = "info" | "warn" | "error" | "debug" | null;
1
+ type LogType = "success" | "processing" | "listening" | "computing" | "waiting" | "emitting" | "ingesting" | "prune" | "connect" | "info" | "warn" | "error" | "debug" | null;
2
2
  /** Exported logger */
3
3
  declare const logger: any;
4
4
  /**
@@ -21,12 +21,14 @@ declare function getLogString(messageOrOptions: string | LogStringOptions, logTy
21
21
  declare const LOG_CONFIG: {
22
22
  condensed: boolean;
23
23
  expandOnDebug: boolean;
24
+ showDetails: boolean;
24
25
  maxDetailsLength: number;
25
26
  /**
26
27
  * Function-level filtering
27
28
  * - empty allowlist = allow all
28
29
  * - blocklist always wins
29
30
  */
31
+ showDetailslist: string[];
30
32
  functionAllowlist: string[];
31
33
  functionBlocklist: string[];
32
34
  };
@@ -1,4 +1,4 @@
1
- export type LogType = "info" | "warn" | "error" | "debug" | null;
1
+ export type LogType = "success" | "processing" | "listening" | "computing" | "waiting" | "emitting" | "ingesting" | "prune" | "connect" | "info" | "warn" | "error" | "debug" | null;
2
2
  /** Exported logger */
3
3
  export declare const logger: any;
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putkoff/abstract-logger",
3
- "version": "0.0.23",
3
+ "version": "0.0.26",
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",
@@ -25,8 +25,9 @@
25
25
  "author": "Putkoff",
26
26
  "license": "MIT",
27
27
  "dependencies": {
28
- "winston": "^3.11.0",
29
- "tslib": "^2.8.1"
28
+ "@putkoff/abstract-env": "0.0.3",
29
+ "tslib": "^2.8.1",
30
+ "winston": "^3.11.0"
30
31
  },
31
32
  "devDependencies": {
32
33
  "@rollup/plugin-commonjs": "^25.0.7",
@@ -36,9 +37,9 @@
36
37
  "rollup": "^4.12.0",
37
38
  "rollup-plugin-dts": "^6.1.0",
38
39
  "rollup-plugin-peer-deps-external": "^2.2.4",
39
- "typescript": "^5.3.3",
40
40
  "ts-node": "^10.9.2",
41
- "tsx": "^4.20.3"
41
+ "tsx": "^4.20.3",
42
+ "typescript": "^5.3.3"
42
43
  },
43
44
  "exports": {
44
45
  ".": {