@gesslar/toolkit 3.17.0 → 3.20.0

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.
@@ -10,7 +10,7 @@ export { default as Util } from "./lib/Util.js";
10
10
  export { default as Cache } from "./lib/Cache.js";
11
11
  export { default as DirectoryObject } from "./lib/DirectoryObject.js";
12
12
  export { default as FileObject } from "./lib/FileObject.js";
13
- export { default as FS } from "./lib/FileSystem.js";
13
+ export { default as FileSystem } from "./lib/FileSystem.js";
14
14
  export { default as Glog } from "./lib/Glog.js";
15
15
  export { default as Notify } from "./lib/Notify.js";
16
16
  export { default as TempDirectoryObject } from "./lib/TempDirectoryObject.js";
@@ -1 +1 @@
1
- {"version":3,"file":"DirectoryObject.d.ts","sourceRoot":"","sources":["../../../src/node/lib/DirectoryObject.js"],"names":[],"mappings":"AAiBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH;IA2DE;;;;;;;;;OASG;IACH,kBALa,eAAe,CAO3B;IA3CD;;;;OAIG;IACH,uBAFW,MAAM,OAAC,EA0BjB;IA2BD;;;;OAIG;IACH,cAFa,OAAO,CAAC,OAAO,CAAC,CAI5B;IAED;;;;OAIG;IACH,gBAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,YAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,WAFa,GAAG,CAIf;IAED;;;;OAIG;IACH,YAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,cAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,iBAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,WAFa,MAAM,CAIlB;IAED;;;;;;;OAOG;IACH,aALa,KAAK,CAAC,MAAM,CAAC,CAOzB;IAED;;;;;;;;;;;;OAYG;IACH,cARa,eAAe,GAAC,IAAI,CAsBhC;IAED;;;;OAIG;IACH,mBAFa,OAAO,CAInB;IAmBD;;;;;;;;;;;;;;;;;;OAkBG;IACH,WAZ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;;;;;;;;;;;;;;;;;OAoBG;IACH,kBAdW,MAAM,GACJ,eAAe,CAqB3B;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,cAbW,MAAM,GACJ,UAAU,GAAC,WAAW,CAsBlC;;CACF;eA3kBc,iBAAiB;uBACT,iBAAiB;wBAGhB,kBAAkB"}
@@ -22,6 +22,16 @@ export default class FileObject extends FS {
22
22
  static dataLoaderConfig: {
23
23
  [key: string]: Array<typeof JSON5 | typeof YAML>;
24
24
  };
25
+ /**
26
+ * Strip root from absolute path to make it relative.
27
+ * Used for virtual filesystem path resolution.
28
+ *
29
+ * @private
30
+ * @static
31
+ * @param {string} pathName - The path to convert
32
+ * @returns {string} Path with root stripped, or original if already relative
33
+ */
34
+ private static "__#private@#absoluteToRelative";
25
35
  /**
26
36
  * Constructs a FileObject instance.
27
37
  *
@@ -1 +1 @@
1
- {"version":3,"file":"FileObject.d.ts","sourceRoot":"","sources":["../../../src/node/lib/FileObject.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;GAaG;AAEH;IACE;;;;;OAKG;IACH,yBAFU;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,OAAO,KAAK,GAAG,OAAO,IAAI,CAAC,CAAA;KAAC,CAO1D;IA0BF;;;;;OAKG;IACH,uBAHW,MAAM,WACN,eAAe,GAAC,MAAM,GAAC,IAAI,EA4DrC;IAaD;;;;OAIG;IACH,cAFa,OAAO,CAAC,OAAO,CAAC,CAI5B;IAED;;;;OAIG;IACH,gBAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,YAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,WAFa,GAAG,CAIf;IAED;;;;OAIG;IACH,YAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,cAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,iBAFa,MAAM,CAIlB;IACD;;;;OAIG;IACH,cAFa,OAAO,CAInB;IAED;;;;;;;;;;;;;;OAcG;IACH,cAFa,eA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B"}
@@ -40,7 +40,19 @@ export default class FileSystem {
40
40
  * @param {FileObject|DirectoryObject} to - The target file or directory object
41
41
  * @returns {string} The relative path from `from` to `to`, or the absolute path if not reachable
42
42
  */
43
- static relativeOrAbsolutePath(from: FileObject | DirectoryObject, to: FileObject | DirectoryObject): string;
43
+ static relativeOrAbsolute(from: FileObject | DirectoryObject, to: FileObject | DirectoryObject): string;
44
+ /**
45
+ * Computes the relative path from one file or directory to another.
46
+ *
47
+ * If the target is outside the source (i.e., the relative path starts with
48
+ * ".."), returns the absolute path to the target instead.
49
+ *
50
+ * @static
51
+ * @param {string} from - The source file or directory object
52
+ * @param {string} to - The target file or directory object
53
+ * @returns {string} The relative path from `from` to `to`, or the absolute path if not reachable
54
+ */
55
+ static relativeOrAbsolutePath(from: string, to: string): string;
44
56
  /**
45
57
  * Merge two paths by finding overlapping segments and combining them
46
58
  * efficiently
@@ -156,21 +168,6 @@ export default class FileSystem {
156
168
  * FS.virtualToRealPath(regular) // "/home/user/file.txt"
157
169
  */
158
170
  static virtualToRealPath(fileOrDirectoryObject: FileObject | DirectoryObject): string;
159
- /**
160
- * Convert an absolute path to a relative format by removing the root component.
161
- * By default, keeps a leading separator (making it "absolute-like relative").
162
- * Use forceActuallyRelative to get a truly relative path without leading separator.
163
- *
164
- * @static
165
- * @param {string} pathToCheck - The path to convert (returned unchanged if already relative)
166
- * @param {boolean} [forceActuallyRelative=false] - If true, removes leading separator for truly relative path
167
- * @returns {string} The relative path (with or without leading separator based on forceActuallyRelative)
168
- * @example
169
- * FS.absoluteToRelative("/home/user/docs") // "/home/user/docs" (with leading /)
170
- * FS.absoluteToRelative("/home/user/docs", true) // "home/user/docs" (truly relative)
171
- * FS.absoluteToRelative("relative/path") // "relative/path" (unchanged)
172
- */
173
- static absoluteToRelative(pathToCheck: string, forceActuallyRelative?: boolean): string;
174
171
  /**
175
172
  * Compute the relative path from another file or directory to this instance.
176
173
  *
@@ -1 +1 @@
1
- {"version":3,"file":"FileSystem.d.ts","sourceRoot":"","sources":["../../../src/node/lib/FileSystem.js"],"names":[],"mappings":"AA0BA;;GAEG;AACH;IACE,kCAAwB;IACxB,uCAAkC;IAClC,mBAAsB;IAsBtB;;;;;;OAMG;IACH,4BAHW,MAAM,GACJ,MAAM,CAIlB;IAED;;;;;;OAMG;IACH,2BAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;;;;OAMG;IACH,2BAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;;;;;;;;OAUG;IACH,oCAJW,UAAU,GAAC,eAAe,MAC1B,UAAU,GAAC,eAAe,GACxB,MAAM,CAYlB;IAED;;;;;;;;;OASG;IACH,oCALW,MAAM,SACN,MAAM,QACN,MAAM,GACJ,MAAM,CA0BlB;IAED;;;;;;;;OAQG;IACH,6BAJW,MAAM,UACN,MAAM,GACJ,MAAM,CAmClB;IAED;;;;;;;;;;;;OAYG;IACH,+BATW,MAAM,aACN,MAAM,GACJ,OAAO,CAcnB;IAED;;;;;;;;;;;;;;OAcG;IACH,4BATW,MAAM,MACN,MAAM,QACN,MAAM,GACJ,MAAM,GAAC,IAAI,CAwBvB;IAED;;;;;;;;;;;;;;;OAeG;IACH,+BAXW,MAAM,MACN,MAAM,QACN,MAAM,GACJ,MAAM,GAAC,IAAI,CA+BvB;IAED;;;;;OAKG;IAEH;;;;;;;OAOG;IACH,2BAJW,MAAM;;;;cATH,MAAM;;;;aACN,MAAM;;;;aACN,MAAM;MAenB;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,gDAZW,UAAU,GAAC,eAAe,GACxB,MAAM,CAiClB;IAED;;;;;;;;;;;;;OAaG;IACH,uCARW,MAAM,0BACN,OAAO,GACL,MAAM,CAkBlB;IA/VD;;;;;;;;;OASG;IACH,kCAJW,UAAU,GAAC,eAAe,GACxB,MAAM,CAWlB;CA8UF;yBAjXa,OAAO,iBAAiB,EAAE,OAAO;8BACjC,OAAO,sBAAsB,EAAE,OAAO"}
1
+ {"version":3,"file":"FileSystem.d.ts","sourceRoot":"","sources":["../../../src/node/lib/FileSystem.js"],"names":[],"mappings":"AA0BA;;GAEG;AACH;IACE,kCAAwB;IACxB,uCAAkC;IAClC,mBAAsB;IAsBtB;;;;;;OAMG;IACH,4BAHW,MAAM,GACJ,MAAM,CAIlB;IAED;;;;;;OAMG;IACH,2BAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;;;;OAMG;IACH,2BAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;;;;;;;;OAUG;IACH,gCAJW,UAAU,GAAC,eAAe,MAC1B,UAAU,GAAC,eAAe,GACxB,MAAM,CAYlB;IAED;;;;;;;;;;OAUG;IACH,oCAJW,MAAM,MACN,MAAM,GACJ,MAAM,CAQlB;IAED;;;;;;;;;OASG;IACH,oCALW,MAAM,SACN,MAAM,QACN,MAAM,GACJ,MAAM,CA0BlB;IAED;;;;;;;;OAQG;IACH,6BAJW,MAAM,UACN,MAAM,GACJ,MAAM,CAmClB;IAED;;;;;;;;;;;;OAYG;IACH,+BATW,MAAM,aACN,MAAM,GACJ,OAAO,CAcnB;IAED;;;;;;;;;;;;;;OAcG;IACH,4BATW,MAAM,MACN,MAAM,QACN,MAAM,GACJ,MAAM,GAAC,IAAI,CAwBvB;IAED;;;;;;;;;;;;;;;OAeG;IACH,+BAXW,MAAM,MACN,MAAM,QACN,MAAM,GACJ,MAAM,GAAC,IAAI,CA+BvB;IAED;;;;;OAKG;IAEH;;;;;;;OAOG;IACH,2BAJW,MAAM;;;;cATH,MAAM;;;;aACN,MAAM;;;;aACN,MAAM;MAenB;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,gDAZW,UAAU,GAAC,eAAe,GACxB,MAAM,CAiClB;IAtVD;;;;;;;;;OASG;IACH,kCAJW,UAAU,GAAC,eAAe,GACxB,MAAM,CAWlB;CAqUF;yBAxWa,OAAO,iBAAiB,EAAE,OAAO;8BACjC,OAAO,sBAAsB,EAAE,OAAO"}
@@ -1,29 +1,32 @@
1
- export namespace loggerColours {
2
- let debug: string[];
3
- let info: string;
4
- let warn: string;
5
- let error: string;
6
- let success: string;
7
- let reset: string;
8
- }
9
- export namespace logSymbols {
10
- let debug_1: string;
11
- export { debug_1 as debug };
12
- let info_1: string;
13
- export { info_1 as info };
14
- let warn_1: string;
15
- export { warn_1 as warn };
16
- let error_1: string;
17
- export { error_1 as error };
18
- let success_1: string;
19
- export { success_1 as success };
20
- }
1
+ /**
2
+ * Default colour configuration for logger output using @gesslar/colours format
3
+ *
4
+ * @type {object}
5
+ * @property {string[]} debug - Array of 5 colour codes for debug levels 0-4
6
+ * @property {string} info - Colour code for info messages
7
+ * @property {string} warn - Colour code for warning messages
8
+ * @property {string} error - Colour code for error messages
9
+ * @property {string} success - Colour code for success messages
10
+ * @property {string} reset - Colour reset code
11
+ */
12
+ export const loggerColours: object;
13
+ /**
14
+ * Symbol characters used for log level tags when colours are disabled or tagsAsStrings is false
15
+ *
16
+ * @type {object}
17
+ * @property {string} debug - Symbol for debug messages
18
+ * @property {string} info - Symbol for info messages
19
+ * @property {string} warn - Symbol for warning messages
20
+ * @property {string} error - Symbol for error messages
21
+ * @property {string} success - Symbol for success messages
22
+ */
23
+ export const logSymbols: object;
21
24
  declare const _default: typeof Glog;
22
25
  export default _default;
23
26
  declare class Glog {
24
27
  static logLevel: number;
25
28
  static logPrefix: string;
26
- static colors: any;
29
+ static colours: any;
27
30
  static stackTrace: boolean;
28
31
  static name: string;
29
32
  static tagsAsStrings: boolean;
@@ -49,17 +52,17 @@ declare class Glog {
49
52
  */
50
53
  static withName(name: string): typeof Glog;
51
54
  /**
52
- * Enable colors for global usage
53
- * Merges with existing color configuration (can pass partial config)
55
+ * Enable colours for global usage
56
+ * Merges with existing colour configuration (can pass partial config)
54
57
  * Shape: {debug?: string[], info?: string, warn?: string, error?: string, reset?: string}
55
- * - debug: Array of 5 color codes [level0, level1, level2, level3, level4]
56
- * - info, warn, error, reset: Single color code strings
58
+ * - debug: Array of 5 colour codes [level0, level1, level2, level3, level4]
59
+ * - info, warn, error, reset: Single colour code strings
57
60
  * Uses @gesslar/colours format like "{F196}"
58
61
  *
59
- * @param {object} [colors=loggerColours] - Color configuration object (partial or complete)
62
+ * @param {object} [colours=loggerColours] - Colour configuration object (partial or complete)
60
63
  * @returns {typeof Glog} The Glog class for chaining
61
64
  */
62
- static withColors(colors?: object): typeof Glog;
65
+ static withColours(colours?: object): typeof Glog;
63
66
  /**
64
67
  * Enable stack trace extraction for global usage
65
68
  *
@@ -74,6 +77,17 @@ declare class Glog {
74
77
  * @returns {typeof Glog} The Glog class for chaining
75
78
  */
76
79
  static withTagsAsStrings(enabled?: boolean): typeof Glog;
80
+ /**
81
+ * Create a temporary scoped logger with a custom prefix for a single chain (static version)
82
+ * The prefix replaces all formatting (name, tags) with just the prefix + message
83
+ *
84
+ * @param {string} prefix - Temporary prefix to use (e.g., "=>", " ", "-->")
85
+ * @returns {object} Temporary logger with all standard methods
86
+ * @example
87
+ * Glog.use("=>").info("Indented message") // => Indented message
88
+ * Glog.info("Back to normal") // [Log] i Back to normal
89
+ */
90
+ static use(prefix: string): object;
77
91
  /**
78
92
  * Create a new Glog instance with fluent configuration
79
93
  *
@@ -89,12 +103,12 @@ declare class Glog {
89
103
  */
90
104
  static execute(...args: unknown[]): void;
91
105
  /**
92
- * Static version of colorize for global usage
106
+ * Static version of colourize for global usage
93
107
  *
94
108
  * @param {Array<string>} strings - Template strings
95
109
  * @param {...unknown} values - Template values
96
110
  */
97
- static colorize(strings: Array<string>, ...values: unknown[]): void;
111
+ static colourize(strings: Array<string>, ...values: unknown[]): void;
98
112
  /**
99
113
  * Static success method
100
114
  *
@@ -147,50 +161,178 @@ declare class Glog {
147
161
  quotedStrings?: boolean;
148
162
  }): void;
149
163
  /**
150
- * Set a color alias for convenient usage
164
+ * Set a colour alias for convenient usage
151
165
  *
152
166
  * @param {string} alias - Alias name
153
- * @param {string} colorCode - Color code (e.g., "{F196}" or "{<B}")
167
+ * @param {string} colourCode - Colour code (e.g., "{F196}" or "{<B}")
154
168
  * @returns {Glog} The Glog class for chaining.
155
169
  */
156
- static setAlias(alias: string, colorCode: string): Glog;
170
+ static setAlias(alias: string, colourCode: string): Glog;
157
171
  /**
158
172
  * Static raw logger that outputs without name/tag formatting
159
173
  *
160
174
  * @returns {object} Raw logger interface
175
+ * @returns {Function} return.debug - Raw debug output function
176
+ * @returns {Function} return.info - Raw info output function
177
+ * @returns {Function} return.warn - Raw warning output function
178
+ * @returns {Function} return.error - Raw error output function
179
+ * @returns {Function} return.log - Raw log output function
180
+ * @returns {Function} return.success - Raw success output function
181
+ * @returns {Function} return.table - Raw table output function
182
+ * @returns {Function} return.group - Raw group start function
183
+ * @returns {Function} return.groupEnd - Raw group end function
161
184
  */
162
185
  static get raw(): object;
163
- constructor(options?: {});
164
- setOptions(options: any): this;
165
- withName(name: any): this;
166
- withLogLevel(level: any): this;
167
- withPrefix(prefix: any): this;
168
- /**
169
- * Enable colors for this logger instance
170
- * Merges with existing color configuration (can pass partial config)
186
+ /**
187
+ * Create a new Glog logger instance with optional configuration
188
+ *
189
+ * @param {object} [options={}] - Configuration options
190
+ * @param {string} [options.name] - Logger name to display in output
191
+ * @param {number} [options.debugLevel] - Debug verbosity level (0-5, default: 0)
192
+ * @param {number} [options.logLevel] - Alias for debugLevel
193
+ * @param {string} [options.prefix] - Prefix to prepend to all log messages
194
+ * @param {object} [options.colours] - Colour configuration object
195
+ * @param {boolean} [options.stackTrace=false] - Enable stack trace extraction
196
+ * @param {boolean} [options.tagsAsStrings=false] - Use string tags instead of symbols
197
+ * @param {boolean} [options.displayName=true] - Display logger name in output
198
+ * @param {string} [options.env] - Environment mode ("extension" for VSCode integration)
199
+ */
200
+ constructor(options?: {
201
+ name?: string;
202
+ debugLevel?: number;
203
+ logLevel?: number;
204
+ prefix?: string;
205
+ colours?: object;
206
+ stackTrace?: boolean;
207
+ tagsAsStrings?: boolean;
208
+ displayName?: boolean;
209
+ env?: string;
210
+ });
211
+ /**
212
+ * Set configuration options for this logger instance
213
+ *
214
+ * @param {object} options - Configuration options
215
+ * @param {string} [options.name] - Logger name to display in output
216
+ * @param {number} [options.debugLevel] - Debug verbosity level (0-5)
217
+ * @param {number} [options.logLevel] - Alias for debugLevel
218
+ * @param {string} [options.prefix] - Prefix to prepend to all log messages
219
+ * @param {object} [options.colours] - Colour configuration object
220
+ * @param {boolean} [options.stackTrace] - Enable stack trace extraction
221
+ * @param {boolean} [options.tagsAsStrings] - Use string tags instead of symbols
222
+ * @param {boolean} [options.displayName] - Display logger name in output
223
+ * @returns {Glog} This Glog instance for chaining
224
+ */
225
+ setOptions(options: {
226
+ name?: string;
227
+ debugLevel?: number;
228
+ logLevel?: number;
229
+ prefix?: string;
230
+ colours?: object;
231
+ stackTrace?: boolean;
232
+ tagsAsStrings?: boolean;
233
+ displayName?: boolean;
234
+ }): Glog;
235
+ /**
236
+ * Set the logger name for this instance
237
+ *
238
+ * @param {string} name - Logger name to display in output
239
+ * @returns {Glog} This Glog instance for chaining
240
+ */
241
+ withName(name: string): Glog;
242
+ /**
243
+ * Set the log level for this instance (0-5)
244
+ *
245
+ * @param {number} level - Log level (0 = off, 1-5 = increasing verbosity)
246
+ * @returns {Glog} This Glog instance for chaining
247
+ */
248
+ withLogLevel(level: number): Glog;
249
+ /**
250
+ * Set the log prefix for this instance
251
+ *
252
+ * @param {string} prefix - Prefix to prepend to all log messages
253
+ * @returns {Glog} This Glog instance for chaining
254
+ */
255
+ withPrefix(prefix: string): Glog;
256
+ /**
257
+ * Enable colours for this logger instance
258
+ * Merges with existing colour configuration (can pass partial config)
171
259
  * Shape: {debug?: string[], info?: string, warn?: string, error?: string, reset?: string}
172
- * - debug: Array of 5 color codes [level0, level1, level2, level3, level4]
173
- * - info, warn, error, reset: Single color code strings
260
+ * - debug: Array of 5 colour codes [level0, level1, level2, level3, level4]
261
+ * - info, warn, error, reset: Single colour code strings
174
262
  * Uses @gesslar/colours format like "{F196}"
175
263
  *
176
- * @param {object} [colors=loggerColours] - Color configuration object (partial or complete)
264
+ * @param {object} [colours=loggerColours] - Colour configuration object (partial or complete)
265
+ * @returns {Glog} This Glog instance for chaining
266
+ */
267
+ withColours(colours?: object): Glog;
268
+ /**
269
+ * Enable or disable stack trace extraction for this instance
270
+ *
271
+ * @param {boolean} [enabled=true] - Whether to enable stack traces
272
+ * @returns {Glog} This Glog instance for chaining
273
+ */
274
+ withStackTrace(enabled?: boolean): Glog;
275
+ /**
276
+ * Use tag names as strings instead of symbols for this instance
277
+ *
278
+ * @param {boolean} [enabled=false] - Whether to use string tags
279
+ * @returns {Glog} This Glog instance for chaining
280
+ */
281
+ withTagsAsStrings(enabled?: boolean): Glog;
282
+ /**
283
+ * Disable displaying the logger name in output for this instance
284
+ *
177
285
  * @returns {Glog} This Glog instance for chaining
178
286
  */
179
- withColors(colors?: object): Glog;
180
- withStackTrace(enabled?: boolean): this;
181
- withTagsAsStrings(enabled?: boolean): this;
182
- noDisplayName(): this;
287
+ noDisplayName(): Glog;
288
+ /**
289
+ * Create a temporary scoped logger with a custom prefix for a single chain
290
+ * The prefix replaces all formatting (name, tags) with just the prefix + message
291
+ *
292
+ * @param {string} prefix - Temporary prefix to use (e.g., "=>", " ", "-->")
293
+ * @returns {object} Temporary logger with all standard methods
294
+ * @example
295
+ * logger.use("=>").info("Indented message") // => Indented message
296
+ * logger.info("Back to normal") // [MyApp] i Back to normal
297
+ */
298
+ use(prefix: string): object;
299
+ /**
300
+ * Get the current logger name
301
+ *
302
+ * @returns {string} The logger name
303
+ */
183
304
  get name(): string;
305
+ /**
306
+ * Get the current debug level
307
+ *
308
+ * @returns {number} The debug level (0-5)
309
+ */
184
310
  get debugLevel(): number;
185
- get options(): {
186
- name: string;
187
- debugLevel: number;
188
- prefix: string;
189
- colors: any;
190
- stackTrace: boolean;
191
- };
192
- extractFileFunction(): string;
193
- newDebug(tag: any): any;
311
+ /**
312
+ * Get the current logger options configuration
313
+ *
314
+ * @returns {object} The logger options
315
+ * @returns {string} return.name - Logger name
316
+ * @returns {number} return.debugLevel - Debug level
317
+ * @returns {string} return.prefix - Log prefix
318
+ * @returns {object} return.colours - Colour configuration
319
+ * @returns {boolean} return.stackTrace - Stack trace enabled
320
+ */
321
+ get options(): object;
322
+ /**
323
+ * Extract file and function information from stack trace
324
+ *
325
+ * @private
326
+ * @returns {string} Caller tag
327
+ */
328
+ private extractFileFunction;
329
+ /**
330
+ * Create a new debug function with a specific tag
331
+ *
332
+ * @param {string} tag - Tag to prepend to debug messages
333
+ * @returns {Function} Debug function with the tag
334
+ */
335
+ newDebug(tag: string): Function;
194
336
  /**
195
337
  * Log a debug message with specified verbosity level.
196
338
  * Level 0 means debug OFF - use levels 1-4 for actual debug output.
@@ -202,20 +344,44 @@ declare class Glog {
202
344
  * @throws {Error} If level < 1 (level 0 = debug OFF)
203
345
  */
204
346
  debug(message: string, level?: number, ...arg: unknown[]): void;
205
- info(message: any, ...arg: any[]): void;
206
- warn(message: any, ...arg: any[]): void;
207
- error(message: any, ...arg: any[]): void;
208
- execute(...args: any[]): void;
209
347
  /**
210
- * Log a colorized message using template literals
348
+ * Log an informational message
349
+ *
350
+ * @param {string} message - Info message to log
351
+ * @param {...unknown} arg - Additional arguments to log
352
+ */
353
+ info(message: string, ...arg: unknown[]): void;
354
+ /**
355
+ * Log a warning message
356
+ *
357
+ * @param {string} message - Warning message to log
358
+ * @param {...unknown} arg - Additional arguments to log
359
+ */
360
+ warn(message: string, ...arg: unknown[]): void;
361
+ /**
362
+ * Log an error message
363
+ *
364
+ * @param {string} message - Error message to log
365
+ * @param {...unknown} arg - Additional arguments to log
366
+ */
367
+ error(message: string, ...arg: unknown[]): void;
368
+ /**
369
+ * Instance execute method for configured loggers
370
+ * Can be called as: logger(data) or logger(level, data)
371
+ *
372
+ * @param {...unknown} args - Arguments (optional level number, then data)
373
+ */
374
+ execute(...args: unknown[]): void;
375
+ /**
376
+ * Log a colourized message using template literals
211
377
  *
212
378
  * @param {Array<string>} strings - Template strings
213
379
  * @param {...unknown} values - Template values
214
- * @example logger.colorize`{success}Operation completed{/} in {bold}${time}ms{/}`
380
+ * @example logger.colourize`{success}Operation completed{/} in {bold}${time}ms{/}`
215
381
  */
216
- colorize(strings: Array<string>, ...values: unknown[]): void;
382
+ colourize(strings: Array<string>, ...values: unknown[]): void;
217
383
  /**
218
- * Log a success message with green color
384
+ * Log a success message with green colour
219
385
  *
220
386
  * @param {string} message - Success message
221
387
  * @param {...unknown} args - Additional arguments
@@ -275,6 +441,15 @@ declare class Glog {
275
441
  * Get a raw logger that outputs without name/tag formatting
276
442
  *
277
443
  * @returns {object} Raw logger interface
444
+ * @returns {Function} return.debug - Raw debug output function
445
+ * @returns {Function} return.info - Raw info output function
446
+ * @returns {Function} return.warn - Raw warning output function
447
+ * @returns {Function} return.error - Raw error output function
448
+ * @returns {Function} return.log - Raw log output function
449
+ * @returns {Function} return.success - Raw success output function
450
+ * @returns {Function} return.table - Raw table output function
451
+ * @returns {Function} return.group - Raw group start function
452
+ * @returns {Function} return.groupEnd - Raw group end function
278
453
  */
279
454
  get raw(): object;
280
455
  #private;
@@ -1 +1 @@
1
- {"version":3,"file":"Glog.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Glog.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAuDA;IAEE,wBAAmB;IACnB,yBAAqB;IACrB,mBAAoB;IACpB,2BAAyB;IACzB,oBAAgB;IAChB,8BAA4B;IAgD5B;;;;;OAKG;IACH,4BAHW,MAAM,GACJ,OAAO,IAAI,CAMvB;IAED;;;;;OAKG;IACH,0BAHW,MAAM,GACJ,OAAO,IAAI,CAMvB;IAED;;;;;OAKG;IACH,sBAHW,MAAM,GACJ,OAAO,IAAI,CAMvB;IAED;;;;;;;;;;OAUG;IACH,2BAHW,MAAM,GACJ,OAAO,IAAI,CAMvB;IAED;;;;;OAKG;IACH,gCAHW,OAAO,GACL,OAAO,IAAI,CAMvB;IAED;;;;;OAKG;IACH,mCAHW,OAAO,GACL,OAAO,IAAI,CAMvB;IAID;;;;;OAKG;IAC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EAAA,QASpB;IAED;;OAEG;IACH,iBAEC;IAED;;;;;OAKG;IACH,oBAHW,MAAM,UACN,MAAM,QAIhB;IAED;;;;OAIG;IACH,mBAFW,MAAM,QAIhB;IAED;;;;OAIG;IACH,sBAFW,MAAM,QAahB;IAED;;;;;;;;;OASG;IACH,YAPW,MAAM,QAAQ,mBACd,MAAM,GAAG,MAAM,YAEvB;QAAgC,UAAU,GAAlC,KAAK,CAAC,MAAM,CAAC;QACK,UAAU,GAA5B,OAAO;QACW,aAAa,GAA/B,OAAO;KACjB,QAkBA;IA4CD;;;;OAIG;IACH,mBAEC;IAED;;;;OAIG;IACH,WAFa,MAAM,CAclB;;CAoBF"}
1
+ {"version":3,"file":"Glog.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Glog.js"],"names":[],"mappings":"AAmBA;;;;;;;;;;GAUG;AACH,4BARU,MAAM,CAqBf;AAED;;;;;;;;;GASG;AACH,yBAPU,MAAM,CAaf;;;AAYD;IAEE,wBAAmB;IACnB,yBAAqB;IACrB,oBAAqB;IACrB,2BAAyB;IACzB,oBAAgB;IAChB,8BAA4B;IA4E5B;;;;;OAKG;IACH,4BAHW,MAAM,GACJ,OAAO,IAAI,CAMvB;IAED;;;;;OAKG;IACH,0BAHW,MAAM,GACJ,OAAO,IAAI,CAMvB;IAED;;;;;OAKG;IACH,sBAHW,MAAM,GACJ,OAAO,IAAI,CAMvB;IAED;;;;;;;;;;OAUG;IACH,6BAHW,MAAM,GACJ,OAAO,IAAI,CAMvB;IAED;;;;;OAKG;IACH,gCAHW,OAAO,GACL,OAAO,IAAI,CAMvB;IAED;;;;;OAKG;IACH,mCAHW,OAAO,GACL,OAAO,IAAI,CAMvB;IAED;;;;;;;;;OASG;IACH,mBANW,MAAM,GACJ,MAAM,CAyClB;IAID;;;;;OAKG;IACH,wBAHW,MAAM,GACJ,IAAI,CAIhB;IA6TD;;;;;OAKG;IACH,wBAFc,OAAO,EAAA,QAsBpB;IA4BD;;;;;OAKG;IACH,0B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AAlC,KAAK,CAAC,MAAM,CAAC;QACK,UAAU,GAA5B,OAAO;QACW,aAAa,GAA/B,OAAO;KACjB,QAkBA;IA4CD;;;;OAIG;IACH,mBAEC;IAED;;;;;;;;;;;;;OAaG;IACH,WAXa,MAAM,CAuBlB;;CA6BF"}
@@ -1 +1 @@
1
- {"version":3,"file":"VFileObject.d.ts","sourceRoot":"","sources":["../../../src/node/lib/VFileObject.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;IAGE;;;;;OAKG;IACH,sBAHW,MAAM,UACN,gBAAgB,EAc1B;IAED,yBAEC;IAED,uBAEC;;CACF;uBAtDsB,iBAAiB"}
1
+ {"version":3,"file":"VFileObject.d.ts","sourceRoot":"","sources":["../../../src/node/lib/VFileObject.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;IAGE;;;;;OAKG;IACH,sBAHW,MAAM,UACN,gBAAgB,EAa1B;IAED,yBAEC;IAED,uBAEC;;CACF;uBArDsB,iBAAiB"}