@decaf-ts/logging 0.11.3 → 0.12.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.
- package/dist/logging.cjs +1 -1
- package/dist/logging.cjs.map +1 -1
- package/dist/logging.js +1 -1
- package/dist/logging.js.map +1 -1
- package/lib/cjs/LoggedClass.js.map +1 -0
- package/lib/cjs/constants.js.map +1 -0
- package/lib/cjs/decorators.js.map +1 -0
- package/lib/cjs/environment.js.map +1 -0
- package/lib/cjs/filters/LogFilter.js.map +1 -0
- package/lib/cjs/filters/PatternFilter.js.map +1 -0
- package/lib/cjs/filters/index.js.map +1 -0
- package/lib/{index.cjs → cjs/index.cjs} +1 -1
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/logParameters.js.map +1 -0
- package/lib/{logging.cjs → cjs/logging.cjs} +6 -2
- package/lib/cjs/logging.js.map +1 -0
- package/lib/cjs/pino/index.js.map +1 -0
- package/lib/cjs/pino/pino.js.map +1 -0
- package/lib/cjs/text.js.map +1 -0
- package/lib/cjs/time.js.map +1 -0
- package/lib/cjs/types.js.map +1 -0
- package/lib/cjs/utils.js.map +1 -0
- package/lib/cjs/web.js.map +1 -0
- package/lib/cjs/winston/index.js.map +1 -0
- package/lib/cjs/winston/winston.js.map +1 -0
- package/lib/esm/index.js +1 -1
- package/lib/esm/logging.js +6 -2
- package/lib/esm/logging.js.map +1 -1
- package/lib/{logging.d.ts → types/logging.d.ts} +3 -2
- package/package.json +15 -13
- package/lib/LoggedClass.js.map +0 -1
- package/lib/constants.js.map +0 -1
- package/lib/decorators.js.map +0 -1
- package/lib/environment.js.map +0 -1
- package/lib/esm/LoggedClass.d.ts +0 -39
- package/lib/esm/constants.d.ts +0 -104
- package/lib/esm/decorators.d.ts +0 -109
- package/lib/esm/environment.d.ts +0 -120
- package/lib/esm/logging.d.ts +0 -372
- package/lib/filters/LogFilter.d.ts +0 -43
- package/lib/filters/LogFilter.js.map +0 -1
- package/lib/filters/PatternFilter.d.ts +0 -56
- package/lib/filters/PatternFilter.js.map +0 -1
- package/lib/filters/index.d.ts +0 -7
- package/lib/filters/index.js.map +0 -1
- package/lib/index.d.ts +0 -34
- package/lib/index.js.map +0 -1
- package/lib/logParameters.d.ts +0 -56
- package/lib/logParameters.js.map +0 -1
- package/lib/logging.js.map +0 -1
- package/lib/pino/index.d.ts +0 -7
- package/lib/pino/index.js.map +0 -1
- package/lib/pino/pino.d.ts +0 -29
- package/lib/pino/pino.js.map +0 -1
- package/lib/text.d.ts +0 -118
- package/lib/text.js.map +0 -1
- package/lib/time.d.ts +0 -151
- package/lib/time.js.map +0 -1
- package/lib/types.d.ts +0 -287
- package/lib/types.js.map +0 -1
- package/lib/utils.d.ts +0 -48
- package/lib/utils.js.map +0 -1
- package/lib/web.d.ts +0 -8
- package/lib/web.js.map +0 -1
- package/lib/winston/index.d.ts +0 -7
- package/lib/winston/index.js.map +0 -1
- package/lib/winston/winston.d.ts +0 -47
- package/lib/winston/winston.js.map +0 -1
- /package/lib/{LoggedClass.cjs → cjs/LoggedClass.cjs} +0 -0
- /package/lib/{constants.cjs → cjs/constants.cjs} +0 -0
- /package/lib/{decorators.cjs → cjs/decorators.cjs} +0 -0
- /package/lib/{environment.cjs → cjs/environment.cjs} +0 -0
- /package/lib/{filters → cjs/filters}/LogFilter.cjs +0 -0
- /package/lib/{filters → cjs/filters}/PatternFilter.cjs +0 -0
- /package/lib/{filters → cjs/filters}/index.cjs +0 -0
- /package/lib/{logParameters.cjs → cjs/logParameters.cjs} +0 -0
- /package/lib/{pino → cjs/pino}/index.cjs +0 -0
- /package/lib/{pino → cjs/pino}/pino.cjs +0 -0
- /package/lib/{text.cjs → cjs/text.cjs} +0 -0
- /package/lib/{time.cjs → cjs/time.cjs} +0 -0
- /package/lib/{types.cjs → cjs/types.cjs} +0 -0
- /package/lib/{utils.cjs → cjs/utils.cjs} +0 -0
- /package/lib/{web.cjs → cjs/web.cjs} +0 -0
- /package/lib/{winston → cjs/winston}/index.cjs +0 -0
- /package/lib/{winston → cjs/winston}/winston.cjs +0 -0
- /package/lib/{LoggedClass.d.ts → types/LoggedClass.d.ts} +0 -0
- /package/lib/{constants.d.ts → types/constants.d.ts} +0 -0
- /package/lib/{decorators.d.ts → types/decorators.d.ts} +0 -0
- /package/lib/{environment.d.ts → types/environment.d.ts} +0 -0
- /package/lib/{esm → types}/filters/LogFilter.d.ts +0 -0
- /package/lib/{esm → types}/filters/PatternFilter.d.ts +0 -0
- /package/lib/{esm → types}/filters/index.d.ts +0 -0
- /package/lib/{esm → types}/index.d.ts +0 -0
- /package/lib/{esm → types}/logParameters.d.ts +0 -0
- /package/lib/{esm → types}/pino/index.d.ts +0 -0
- /package/lib/{esm → types}/pino/pino.d.ts +0 -0
- /package/lib/{esm → types}/text.d.ts +0 -0
- /package/lib/{esm → types}/time.d.ts +0 -0
- /package/lib/{esm → types}/types.d.ts +0 -0
- /package/lib/{esm → types}/utils.d.ts +0 -0
- /package/lib/{esm → types}/web.d.ts +0 -0
- /package/lib/{esm → types}/winston/index.d.ts +0 -0
- /package/lib/{esm → types}/winston/winston.d.ts +0 -0
package/lib/esm/logging.d.ts
DELETED
|
@@ -1,372 +0,0 @@
|
|
|
1
|
-
import { LoggerFactory, LoggingConfig, LoggingContext, LoggingFilter, LogMeta, StringLike, Theme, Logger } from "./types";
|
|
2
|
-
import { LogLevel } from "./constants";
|
|
3
|
-
import { LoggedEnvironment } from "./environment";
|
|
4
|
-
export declare const ROOT_CONTEXT_SYMBOL: unique symbol;
|
|
5
|
-
/**
|
|
6
|
-
* @description A minimal logger implementation.
|
|
7
|
-
* @summary MiniLogger is a lightweight logging class that implements the Logger interface. It provides basic logging functionality with support for different log levels, verbosity, context-aware logging, and customizable formatting.
|
|
8
|
-
* @param {string} [context] - The context (typically class name) this logger is associated with.
|
|
9
|
-
* @param {Partial<LoggingConfig>} [conf] - Optional configuration to override global settings.
|
|
10
|
-
* @param {string[]} [baseContext=[]] - The base context for the logger.
|
|
11
|
-
* @class MiniLogger
|
|
12
|
-
* @example
|
|
13
|
-
* // Create a new logger for a class
|
|
14
|
-
* const logger = new MiniLogger('MyClass');
|
|
15
|
-
*
|
|
16
|
-
* // Log messages at different levels
|
|
17
|
-
* logger.info('This is an info message');
|
|
18
|
-
* logger.debug('This is a debug message');
|
|
19
|
-
* logger.error('Something went wrong');
|
|
20
|
-
*
|
|
21
|
-
* // Create a child logger for a specific method
|
|
22
|
-
* const methodLogger = logger.for('myMethod');
|
|
23
|
-
* methodLogger.verbose('Detailed information', 2);
|
|
24
|
-
*
|
|
25
|
-
* // Log with custom configuration
|
|
26
|
-
* logger.for('specialMethod', { style: true }).info('Styled message');
|
|
27
|
-
*/
|
|
28
|
-
export declare class MiniLogger implements Logger {
|
|
29
|
-
protected conf?: Partial<LoggingConfig> | undefined;
|
|
30
|
-
protected context: string[];
|
|
31
|
-
protected baseContext: string[];
|
|
32
|
-
constructor(context?: string, conf?: Partial<LoggingConfig> | undefined, baseContext?: string[]);
|
|
33
|
-
protected config<K extends keyof LoggingConfig>(key: K): LoggingConfig[K];
|
|
34
|
-
for(config: Partial<LoggingConfig>): this;
|
|
35
|
-
for(method: string | ((...args: any[]) => any) | {
|
|
36
|
-
new (...args: any[]): any;
|
|
37
|
-
} | object): this;
|
|
38
|
-
for(method: string | ((...args: any[]) => any) | {
|
|
39
|
-
new (...args: any[]): any;
|
|
40
|
-
} | object | Partial<LoggingConfig>, config: Partial<LoggingConfig>, ...args: any[]): this;
|
|
41
|
-
protected getConfigSnapshot(): LoggingConfig;
|
|
42
|
-
protected getContextSegments(): string[];
|
|
43
|
-
protected resolveFilters(config: LoggingConfig): LoggingFilter[];
|
|
44
|
-
protected applyFilters(message: string, context: string[], config: LoggingConfig): string;
|
|
45
|
-
/**
|
|
46
|
-
* @description Creates a formatted log string.
|
|
47
|
-
* @summary Generates a log string with timestamp, colored log level, context, and message.
|
|
48
|
-
* @param {LogLevel} level - The log level for this message.
|
|
49
|
-
* @param {StringLike | Error} message - The message to log or an Error object.
|
|
50
|
-
* @param {Error} [error] - Optional error to extract stack trace to include in the log.
|
|
51
|
-
* @return {string} A formatted log string with all components.
|
|
52
|
-
*/
|
|
53
|
-
protected createLog(level: LogLevel, message: StringLike | Error, error?: Error, meta?: LogMeta): string;
|
|
54
|
-
private formatMeta;
|
|
55
|
-
protected normalizePatternSpacing(value: string): string;
|
|
56
|
-
/**
|
|
57
|
-
* @description Logs a message with the specified log level.
|
|
58
|
-
* @summary Checks if the message should be logged based on the current log level, then uses the appropriate console method to output the formatted log.
|
|
59
|
-
* @param {LogLevel} level - The log level of the message.
|
|
60
|
-
* @param {StringLike | Error} msg - The message to be logged or an Error object.
|
|
61
|
-
* @param {Error} [error] - Optional stack trace to include in the log.
|
|
62
|
-
* @return {void}
|
|
63
|
-
*/
|
|
64
|
-
protected log(level: LogLevel, msg: StringLike | Error, error?: Error, meta?: LogMeta): void;
|
|
65
|
-
/**
|
|
66
|
-
* @description Logs a message at the benchmark level.
|
|
67
|
-
* @summary Logs a message at the benchmark level if the current verbosity setting allows it.
|
|
68
|
-
* @param {StringLike} msg - The message to be logged.
|
|
69
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
70
|
-
* @return {void}
|
|
71
|
-
*/
|
|
72
|
-
benchmark(msg: StringLike, meta?: LogMeta): void;
|
|
73
|
-
/**
|
|
74
|
-
* @description Logs a message at the silly level.
|
|
75
|
-
* @summary Logs a message at the silly level if the current verbosity setting allows it.
|
|
76
|
-
* @param {StringLike} msg - The message to be logged.
|
|
77
|
-
* @param {number} [verbosity=0] - The verbosity level of the message.
|
|
78
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
79
|
-
* @return {void}
|
|
80
|
-
*/
|
|
81
|
-
silly(msg: StringLike, verbosityOrMeta?: number | LogMeta, meta?: LogMeta): void;
|
|
82
|
-
/**
|
|
83
|
-
* @description Logs a message at the verbose level.
|
|
84
|
-
* @summary Logs a message at the verbose level if the current verbosity setting allows it.
|
|
85
|
-
* @param {StringLike} msg - The message to be logged.
|
|
86
|
-
* @param {number} [verbosity=0] - The verbosity level of the message.
|
|
87
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
88
|
-
* @return {void}
|
|
89
|
-
*/
|
|
90
|
-
verbose(msg: StringLike, verbosityOrMeta?: number | LogMeta, meta?: LogMeta): void;
|
|
91
|
-
/**
|
|
92
|
-
* @description Logs a message at the info level.
|
|
93
|
-
* @summary Logs a message at the info level for general application information.
|
|
94
|
-
* @param {StringLike} msg - The message to be logged.
|
|
95
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
96
|
-
* @return {void}
|
|
97
|
-
*/
|
|
98
|
-
info(msg: StringLike, meta?: LogMeta): void;
|
|
99
|
-
/**
|
|
100
|
-
* @description Logs a message at the debug level.
|
|
101
|
-
* @summary Logs a message at the debug level for detailed troubleshooting information.
|
|
102
|
-
* @param {StringLike} msg - The message to be logged.
|
|
103
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
104
|
-
* @return {void}
|
|
105
|
-
*/
|
|
106
|
-
debug(msg: StringLike, meta?: LogMeta): void;
|
|
107
|
-
/**
|
|
108
|
-
* @description Logs a message at the error level.
|
|
109
|
-
* @summary Logs a message at the error level for errors and exceptions.
|
|
110
|
-
* @param {StringLike | Error} msg - The message to be logged or an Error object.
|
|
111
|
-
* @param {Error|object} [e] - Optional error or metadata to include in the log.
|
|
112
|
-
* @param {object} [meta] - Optional metadata to include with the entry when an error is supplied.
|
|
113
|
-
* @return {void}
|
|
114
|
-
*/
|
|
115
|
-
error(msg: StringLike | Error, e?: Error | LogMeta, meta?: LogMeta): void;
|
|
116
|
-
/**
|
|
117
|
-
* @description Logs a message at the warning level.
|
|
118
|
-
* @summary Logs a message at the warning level for potential issues.
|
|
119
|
-
* @param {StringLike} msg - The message to be logged.
|
|
120
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
121
|
-
* @return {void}
|
|
122
|
-
*/
|
|
123
|
-
warn(msg: StringLike, meta?: LogMeta): void;
|
|
124
|
-
/**
|
|
125
|
-
* @description Logs a message at the trace level.
|
|
126
|
-
* @summary Logs a message at the trace level for tracing code execution.
|
|
127
|
-
* @param {StringLike} msg - The message to be logged.
|
|
128
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
129
|
-
* @return {void}
|
|
130
|
-
*/
|
|
131
|
-
trace(msg: StringLike, meta?: LogMeta): void;
|
|
132
|
-
/**
|
|
133
|
-
* @description Updates the logger configuration.
|
|
134
|
-
* @summary Merges the provided configuration with the existing configuration.
|
|
135
|
-
* @param {Partial<LoggingConfig>} config - The configuration options to apply.
|
|
136
|
-
* @return {void}
|
|
137
|
-
*/
|
|
138
|
-
setConfig(config: Partial<LoggingConfig>): void;
|
|
139
|
-
get root(): string[];
|
|
140
|
-
/**
|
|
141
|
-
* @description Clears any contextual overrides applied by `for`.
|
|
142
|
-
* @summary Returns the same logger instance so more contexts can be chained afterwards.
|
|
143
|
-
* @return {this} The same logger instance.
|
|
144
|
-
*/
|
|
145
|
-
clear(): this;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* @description A static class for managing logging operations.
|
|
149
|
-
* @summary The Logging class provides a centralized logging mechanism with support for different log levels, verbosity, and styling. It uses a singleton pattern to maintain a global logger instance and allows creating specific loggers for different classes and methods.
|
|
150
|
-
* @class Logging
|
|
151
|
-
* @example
|
|
152
|
-
* // Set global configuration
|
|
153
|
-
* Logging.setConfig({ level: LogLevel.debug, style: true });
|
|
154
|
-
*
|
|
155
|
-
* // Get a logger for a specific class
|
|
156
|
-
* const logger = Logging.for('MyClass');
|
|
157
|
-
*
|
|
158
|
-
* // Log messages at different levels
|
|
159
|
-
* logger.info('Application started');
|
|
160
|
-
* logger.debug('Processing data...');
|
|
161
|
-
*
|
|
162
|
-
* // Log with context
|
|
163
|
-
* const methodLogger = Logging.for('MyClass.myMethod');
|
|
164
|
-
* methodLogger.verbose('Detailed operation information', 1);
|
|
165
|
-
*
|
|
166
|
-
* // Log errors
|
|
167
|
-
* try {
|
|
168
|
-
* // some operation
|
|
169
|
-
* } catch (error) {
|
|
170
|
-
* logger.error(error);
|
|
171
|
-
* }
|
|
172
|
-
* @mermaid
|
|
173
|
-
* classDiagram
|
|
174
|
-
* class Logger {
|
|
175
|
-
* <<interface>>
|
|
176
|
-
* +for(method, config, ...args)
|
|
177
|
-
* +silly(msg, verbosity)
|
|
178
|
-
* +verbose(msg, verbosity)
|
|
179
|
-
* +info(msg)
|
|
180
|
-
* +debug(msg)
|
|
181
|
-
* +error(msg)
|
|
182
|
-
* +setConfig(config)
|
|
183
|
-
* }
|
|
184
|
-
*
|
|
185
|
-
* class Logging {
|
|
186
|
-
* -global: Logger
|
|
187
|
-
* -_factory: LoggerFactory
|
|
188
|
-
* -_config: LoggingConfig
|
|
189
|
-
* +setFactory(factory)
|
|
190
|
-
* +setConfig(config)
|
|
191
|
-
* +getConfig()
|
|
192
|
-
* +get()
|
|
193
|
-
* +verbose(msg, verbosity)
|
|
194
|
-
* +info(msg)
|
|
195
|
-
* +debug(msg)
|
|
196
|
-
* +silly(msg)
|
|
197
|
-
* +error(msg)
|
|
198
|
-
* +for(object, config, ...args)
|
|
199
|
-
* +because(reason, id)
|
|
200
|
-
* +theme(text, type, loggerLevel, template)
|
|
201
|
-
* }
|
|
202
|
-
*
|
|
203
|
-
* class MiniLogger {
|
|
204
|
-
* +constructor(context, conf?)
|
|
205
|
-
* }
|
|
206
|
-
*
|
|
207
|
-
* Logging ..> Logger : creates
|
|
208
|
-
* Logging ..> MiniLogger : creates by default
|
|
209
|
-
*/
|
|
210
|
-
export declare class Logging {
|
|
211
|
-
/**
|
|
212
|
-
* @description The global logger instance.
|
|
213
|
-
* @summary A singleton instance of Logger used for global logging.
|
|
214
|
-
*/
|
|
215
|
-
private static global?;
|
|
216
|
-
/**
|
|
217
|
-
* @description Factory function for creating logger instances.
|
|
218
|
-
* @summary A function that creates new Logger instances. By default, it creates a MiniLogger.
|
|
219
|
-
*/
|
|
220
|
-
private static _factory;
|
|
221
|
-
private static _config;
|
|
222
|
-
private constructor();
|
|
223
|
-
/**
|
|
224
|
-
* @description Sets the factory function for creating logger instances.
|
|
225
|
-
* @summary Allows customizing how logger instances are created.
|
|
226
|
-
* @param {LoggerFactory} factory - The factory function to use for creating loggers.
|
|
227
|
-
* @return {void}
|
|
228
|
-
*/
|
|
229
|
-
static setFactory(factory: LoggerFactory): void;
|
|
230
|
-
/**
|
|
231
|
-
* @description Updates the global logging configuration.
|
|
232
|
-
* @summary Allows updating the global logging configuration with new settings.
|
|
233
|
-
* @param {Partial<LoggingConfig>} config - The configuration options to apply.
|
|
234
|
-
* @return {void}
|
|
235
|
-
*/
|
|
236
|
-
static setConfig(config: Partial<LoggingConfig>): void;
|
|
237
|
-
/**
|
|
238
|
-
* @description Gets a copy of the current global logging configuration.
|
|
239
|
-
* @summary Returns a copy of the current global logging configuration.
|
|
240
|
-
* @return {LoggingConfig} A copy of the current configuration.
|
|
241
|
-
*/
|
|
242
|
-
static getConfig(): typeof LoggedEnvironment;
|
|
243
|
-
/**
|
|
244
|
-
* @description Retrieves or creates the global logger instance.
|
|
245
|
-
* @summary Returns the existing global logger or creates a new one if it doesn't exist.
|
|
246
|
-
* @return {Logger} The global Logger instance.
|
|
247
|
-
*/
|
|
248
|
-
static get(): Logger;
|
|
249
|
-
/**
|
|
250
|
-
* @description Logs a verbose message.
|
|
251
|
-
* @summary Delegates the verbose logging to the global logger instance.
|
|
252
|
-
* @param {StringLike} msg - The message to be logged.
|
|
253
|
-
* @param {number|object} [verbosity] - The verbosity level or metadata object.
|
|
254
|
-
* @param {object} [meta] - Optional metadata applied when a verbosity level is provided.
|
|
255
|
-
* @return {void}
|
|
256
|
-
*/
|
|
257
|
-
static verbose(msg: StringLike, verbosityOrMeta?: number | LogMeta, meta?: LogMeta): void;
|
|
258
|
-
/**
|
|
259
|
-
* @description Logs an info message.
|
|
260
|
-
* @summary Delegates the info logging to the global logger instance.
|
|
261
|
-
* @param {StringLike} msg - The message to be logged.
|
|
262
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
263
|
-
* @return {void}
|
|
264
|
-
*/
|
|
265
|
-
static info(msg: StringLike, meta?: LogMeta): void;
|
|
266
|
-
/**
|
|
267
|
-
* @description Logs a trace message.
|
|
268
|
-
* @summary Delegates the trace logging to the global logger instance.
|
|
269
|
-
* @param {StringLike} msg - The message to be logged.
|
|
270
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
271
|
-
* @return {void}
|
|
272
|
-
*/
|
|
273
|
-
static trace(msg: StringLike, meta?: LogMeta): void;
|
|
274
|
-
/**
|
|
275
|
-
* @description Logs a debug message.
|
|
276
|
-
* @summary Delegates the debug logging to the global logger instance.
|
|
277
|
-
* @param {StringLike} msg - The message to be logged.
|
|
278
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
279
|
-
* @return {void}
|
|
280
|
-
*/
|
|
281
|
-
static debug(msg: StringLike, meta?: LogMeta): void;
|
|
282
|
-
/**
|
|
283
|
-
* @description Logs a benchmark message.
|
|
284
|
-
* @summary Delegates the benchmark logging to the global logger instance.
|
|
285
|
-
* @param {StringLike} msg - The message to be logged.
|
|
286
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
287
|
-
* @return {void}
|
|
288
|
-
*/
|
|
289
|
-
static benchmark(msg: StringLike, meta?: LogMeta): void;
|
|
290
|
-
/**
|
|
291
|
-
* @description Logs a silly message.
|
|
292
|
-
* @summary Delegates the silly logging to the global logger instance.
|
|
293
|
-
* @param {StringLike} msg - The message to be logged.
|
|
294
|
-
* @param {number|object} [verbosity] - The verbosity level or metadata object.
|
|
295
|
-
* @param {object} [meta] - Optional metadata applied when a verbosity level is provided.
|
|
296
|
-
* @return {void}
|
|
297
|
-
*/
|
|
298
|
-
static silly(msg: StringLike, verbosityOrMeta?: number | LogMeta, meta?: LogMeta): void;
|
|
299
|
-
/**
|
|
300
|
-
* @description Logs a warning message.
|
|
301
|
-
* @summary Delegates the warning logging to the global logger instance.
|
|
302
|
-
* @param {StringLike} msg - The message to be logged.
|
|
303
|
-
* @param {object} [meta] - Optional metadata to include with the entry.
|
|
304
|
-
* @return {void}
|
|
305
|
-
*/
|
|
306
|
-
static warn(msg: StringLike, meta?: LogMeta): void;
|
|
307
|
-
/**
|
|
308
|
-
* @description Logs an error message.
|
|
309
|
-
* @summary Delegates the error logging to the global logger instance.
|
|
310
|
-
* @param {StringLike | Error} msg - The message to be logged.
|
|
311
|
-
* @param {Error|object} [e] - Optional error or metadata to include in the log.
|
|
312
|
-
* @param {object} [meta] - Optional metadata to include with the entry when an error is supplied.
|
|
313
|
-
* @return {void}
|
|
314
|
-
*/
|
|
315
|
-
static error(msg: StringLike | Error, e?: Error | LogMeta, meta?: LogMeta): void;
|
|
316
|
-
/**
|
|
317
|
-
* @description Creates a logger for a specific object or context.
|
|
318
|
-
* @summary Creates a new logger instance for the given object or context using the factory function.
|
|
319
|
-
* @param {LoggingContext} object - The object, class, or context to create a logger for.
|
|
320
|
-
* @param {Partial<LoggingConfig>} [config] - Optional configuration to override global settings.
|
|
321
|
-
* @param {...any} args - Additional arguments to pass to the logger factory.
|
|
322
|
-
* @return {Logger} A new logger instance for the specified object or context.
|
|
323
|
-
*/
|
|
324
|
-
static for(object: LoggingContext, config?: Partial<LoggingConfig>, ...args: any[]): Logger;
|
|
325
|
-
/**
|
|
326
|
-
* @description Creates a logger for a specific reason or correlation context.
|
|
327
|
-
* @summary Utility to quickly create a logger labeled with a free-form reason and optional identifier so that ad-hoc operations can be traced without tying the logger to a class or method name.
|
|
328
|
-
* @param {string} reason - A textual reason or context label for this logger instance.
|
|
329
|
-
* @param {string} [id] - Optional identifier to help correlate related log entries.
|
|
330
|
-
* @return {Logger} A new logger instance labeled with the provided reason and id.
|
|
331
|
-
*/
|
|
332
|
-
static because(reason: string, id?: string): Logger;
|
|
333
|
-
private static baseContext;
|
|
334
|
-
private static attachRootContext;
|
|
335
|
-
private static ensureRoot;
|
|
336
|
-
/**
|
|
337
|
-
* @description Applies theme styling to text.
|
|
338
|
-
* @summary Applies styling (colors, formatting) to text based on the theme configuration.
|
|
339
|
-
* @param {string} text - The text to style.
|
|
340
|
-
* @param type - The type of element to style (e.g., "class", "message", "logLevel").
|
|
341
|
-
* @param {LogLevel} loggerLevel - The log level to use for styling.
|
|
342
|
-
* @param {Theme} [template=DefaultTheme] - The theme to use for styling.
|
|
343
|
-
* @return {string} The styled text.
|
|
344
|
-
* @mermaid
|
|
345
|
-
* sequenceDiagram
|
|
346
|
-
* participant Caller
|
|
347
|
-
* participant Theme as Logging.theme
|
|
348
|
-
* participant Apply as apply function
|
|
349
|
-
* participant Style as styled-string-builder
|
|
350
|
-
*
|
|
351
|
-
* Caller->>Theme: theme(text, type, loggerLevel)
|
|
352
|
-
* Theme->>Theme: Check if styling is enabled
|
|
353
|
-
* alt styling disabled
|
|
354
|
-
* Theme-->>Caller: return original text
|
|
355
|
-
* else styling enabled
|
|
356
|
-
* Theme->>Theme: Get theme for type
|
|
357
|
-
* alt theme not found
|
|
358
|
-
* Theme-->>Caller: return original text
|
|
359
|
-
* else theme found
|
|
360
|
-
* Theme->>Theme: Determine actual theme based on log level
|
|
361
|
-
* Theme->>Apply: Apply each style property
|
|
362
|
-
* Apply->>Style: Apply colors and formatting
|
|
363
|
-
* Style-->>Apply: Return styled text
|
|
364
|
-
* Apply-->>Theme: Return styled text
|
|
365
|
-
* Theme-->>Caller: Return final styled text
|
|
366
|
-
* end
|
|
367
|
-
* end
|
|
368
|
-
*/
|
|
369
|
-
static theme(text: string, type: keyof Theme | keyof LogLevel, loggerLevel: LogLevel, template?: Theme): string;
|
|
370
|
-
static register: (descriptor: import("./logParameters").LogParameterDescriptor) => import("./logParameters").LogParameterRegistry;
|
|
371
|
-
static unregister: (key: string) => import("./logParameters").LogParameterRegistry;
|
|
372
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Logger, LoggingConfig, LoggingFilter } from "../types";
|
|
2
|
-
import { LoggedClass } from "../LoggedClass";
|
|
3
|
-
/**
|
|
4
|
-
* @description A base class for message filters that can be plugged into the logging pipeline.
|
|
5
|
-
* @summary This class extends {@link LoggedClass} to supply a scoped logger, and defines the contract that is required by {@link LoggingFilter} implementers that transform or drop log messages before emission.
|
|
6
|
-
* @class LogFilter
|
|
7
|
-
* @example
|
|
8
|
-
* class RedactSecretsFilter extends LogFilter {
|
|
9
|
-
* filter(config: LoggingConfig, message: string): string {
|
|
10
|
-
* return message.replace(/secret/gi, "***");
|
|
11
|
-
* }
|
|
12
|
-
* }
|
|
13
|
-
*
|
|
14
|
-
* const filter = new RedactSecretsFilter();
|
|
15
|
-
* filter.filter({ ...DefaultLoggingConfig, verbose: 0 }, "secret token");
|
|
16
|
-
* @mermaid
|
|
17
|
-
* sequenceDiagram
|
|
18
|
-
* participant Logger
|
|
19
|
-
* participant Filter as LogFilter
|
|
20
|
-
* participant Impl as ConcreteFilter
|
|
21
|
-
* participant Output
|
|
22
|
-
* Logger->>Filter: filter(config, message, context)
|
|
23
|
-
* Filter->>Impl: delegate to subclass implementation
|
|
24
|
-
* Impl-->>Filter: transformed message
|
|
25
|
-
* Filter-->>Output: return filtered message
|
|
26
|
-
*/
|
|
27
|
-
export declare abstract class LogFilter extends LoggedClass implements LoggingFilter {
|
|
28
|
-
/**
|
|
29
|
-
* @description A scoped logger that excludes other filters from the chain.
|
|
30
|
-
* @summary This method returns a child logger that is dedicated to the filter, which prevents recursive filter invocation when emitting diagnostic messages.
|
|
31
|
-
* @return {Logger} A context-aware logger for the filter instance.
|
|
32
|
-
*/
|
|
33
|
-
get log(): Logger;
|
|
34
|
-
/**
|
|
35
|
-
* @description Transforms or suppresses a log message.
|
|
36
|
-
* @summary This method inspects the provided message and context to produce the value that will be forwarded to subsequent filters or emitters.
|
|
37
|
-
* @param {LoggingConfig} config - The active logging configuration.
|
|
38
|
-
* @param {string} message - The original log message payload.
|
|
39
|
-
* @param {string[]} context - The context values that are attached to the message.
|
|
40
|
-
* @return {string} The filtered message to pass to downstream processing.
|
|
41
|
-
*/
|
|
42
|
-
abstract filter(config: LoggingConfig, message: string, context: string[]): string;
|
|
43
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LogFilter.js","sourceRoot":"","sources":["../../src/filters/LogFilter.ts"],"names":[],"mappings":";;;AACA,sDAA6C;AAE7C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAsB,SAAU,SAAQ,yBAAW;IACjD;;;;OAIG;IACH,IAAa,GAAG;QACd,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,IAAW,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;IACrD,CAAC;CAeF;AAvBD,8BAuBC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { LogFilter } from "./LogFilter";
|
|
2
|
-
import { LoggingConfig } from "../types";
|
|
3
|
-
/**
|
|
4
|
-
* @description A replacement callback that is used to transform RegExp matches.
|
|
5
|
-
* @summary This function receives the matched substring and additional capture arguments, and returns the replacement text that will be injected into the log message.
|
|
6
|
-
* @typedef {function(string, ...any): string} ReplacementFunction
|
|
7
|
-
* @memberOf module:Logging
|
|
8
|
-
*/
|
|
9
|
-
export type ReplacementFunction = (substring: string, ...args: any[]) => string;
|
|
10
|
-
/**
|
|
11
|
-
* @description A filter that patches log messages using regular expressions.
|
|
12
|
-
* @summary This class applies a configured {@link RegExp} and replacement strategy to redact, mask, or restructure log payloads before they are emitted.
|
|
13
|
-
* @param {RegExp} regexp - The expression to use for detecting sensitive or formatted text.
|
|
14
|
-
* @param {(string|ReplacementFunction)} replacement - The replacement string or a callback that is invoked for each match.
|
|
15
|
-
* @class PatternFilter
|
|
16
|
-
* @example
|
|
17
|
-
* const filter = new PatternFilter(/token=[^&]+/g, "token=***");
|
|
18
|
-
* const sanitized = filter.filter(config, "token=123&user=tom", []);
|
|
19
|
-
* // sanitized === "token=***&user=tom"
|
|
20
|
-
* @mermaid
|
|
21
|
-
* sequenceDiagram
|
|
22
|
-
* participant Logger
|
|
23
|
-
* participant Filter as PatternFilter
|
|
24
|
-
* participant RegExp
|
|
25
|
-
* Logger->>Filter: filter(config, message, context)
|
|
26
|
-
* Filter->>RegExp: execute match()
|
|
27
|
-
* alt match found
|
|
28
|
-
* RegExp-->>Filter: captures
|
|
29
|
-
* Filter->>RegExp: replace(message, replacement)
|
|
30
|
-
* RegExp-->>Filter: transformed message
|
|
31
|
-
* else no match
|
|
32
|
-
* RegExp-->>Filter: null
|
|
33
|
-
* end
|
|
34
|
-
* Filter-->>Logger: sanitized message
|
|
35
|
-
*/
|
|
36
|
-
export declare class PatternFilter extends LogFilter {
|
|
37
|
-
protected readonly regexp: RegExp;
|
|
38
|
-
protected readonly replacement: string | ReplacementFunction;
|
|
39
|
-
constructor(regexp: RegExp, replacement: string | ReplacementFunction);
|
|
40
|
-
/**
|
|
41
|
-
* @description Ensures deterministic RegExp matching.
|
|
42
|
-
* @summary This method runs the configured expression, then resets its state so that repeated invocations behave consistently.
|
|
43
|
-
* @param {string} message - The message to test for matches.
|
|
44
|
-
* @return {(RegExpExecArray|null)} The match result, or null if no match is found.
|
|
45
|
-
*/
|
|
46
|
-
protected match(message: string): RegExpExecArray | null;
|
|
47
|
-
/**
|
|
48
|
-
* @description Applies the replacement strategy to the incoming message.
|
|
49
|
-
* @summary This method executes {@link PatternFilter.match} and, when a match is found, replaces every occurrence using the configured replacement handler.
|
|
50
|
-
* @param {LoggingConfig} config - The active logging configuration (unused, but part of the filter contract).
|
|
51
|
-
* @param {string} message - The message to be sanitized.
|
|
52
|
-
* @param {string[]} context - The context entries that are associated with the log event.
|
|
53
|
-
* @return {string} The sanitized log message.
|
|
54
|
-
*/
|
|
55
|
-
filter(config: LoggingConfig, message: string, context: string[]): string;
|
|
56
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PatternFilter.js","sourceRoot":"","sources":["../../src/filters/PatternFilter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwC;AAExC,oDAAsC;AAUtC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,aAAc,SAAQ,qBAAS;IAC1C,YACqB,MAAc,EACd,WAAyC;QAE5D,KAAK,EAAE,CAAC;QAHW,WAAM,GAAN,MAAM,CAAQ;QACd,gBAAW,GAAX,WAAW,CAA8B;IAG9D,CAAC;IAED;;;;;OAKG;IAEO,KAAK,CAAC,OAAe;QAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,IAAI,CAAC,MAAM,CAAC,SAAS,GAAG,CAAC,CAAC;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;;;;;;OAOG;IACH,6DAA6D;IAC7D,MAAM,CAAC,MAAqB,EAAE,OAAe,EAAE,OAAiB;QAC9D,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACtC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAClC,IAAI,CAAC,KAAK;YAAE,OAAO,OAAO,CAAC;QAC3B,IAAI,CAAC;YACH,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,WAAkB,CAAC,CAAC;QAC/D,CAAC;QAAC,OAAO,CAAU,EAAE,CAAC;YACpB,GAAG,CAAC,KAAK,CAAC,oCAAoC,CAAC,EAAE,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;CACF;AAzCD,sCAyCC;AA1BW;IADT,IAAA,kBAAK,GAAE;;;;0CAKP"}
|
package/lib/filters/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description Exports for the filters module.
|
|
3
|
-
* @summary This file exports all the necessary components for the filters functionality, including LogFilter and PatternFilter.
|
|
4
|
-
* @module logging/filters
|
|
5
|
-
*/
|
|
6
|
-
export * from "./LogFilter";
|
|
7
|
-
export * from "./PatternFilter";
|
package/lib/filters/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/filters/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,kDAA4B;AAC5B,sDAAgC"}
|
package/lib/index.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module Logging
|
|
3
|
-
* @description A comprehensive and versatile logging toolkit for both browser and Node.js environments.
|
|
4
|
-
* @summary This module provides a complete logging solution, exposing {@link Logging} and {@link MiniLogger} for runtime logging. It also includes decorators like {@link log} for method instrumentation, and various utilities such as {@link PatternFilter}, {@link StopWatch}, and {@link LoggedEnvironment} to help build configurable and theme-aware log pipelines.
|
|
5
|
-
*/
|
|
6
|
-
export * from "./filters";
|
|
7
|
-
export * from "./constants";
|
|
8
|
-
export * from "./decorators";
|
|
9
|
-
export * from "./environment";
|
|
10
|
-
export * from "./LoggedClass";
|
|
11
|
-
export * from "./logging";
|
|
12
|
-
export * from "./logParameters";
|
|
13
|
-
export * from "./text";
|
|
14
|
-
export * from "./time";
|
|
15
|
-
export * from "./types";
|
|
16
|
-
export * from "./web";
|
|
17
|
-
export * from "./utils";
|
|
18
|
-
export * from "styled-string-builder";
|
|
19
|
-
/**
|
|
20
|
-
* @description Current package version string.
|
|
21
|
-
* @summary Stores the package version for diagnostics and compatibility checks.
|
|
22
|
-
* @const VERSION
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberOf module:Logging
|
|
25
|
-
*/
|
|
26
|
-
export declare const VERSION: string;
|
|
27
|
-
/**
|
|
28
|
-
* @description Current package version string.
|
|
29
|
-
* @summary Stores the package version for diagnostics and compatibility checks.
|
|
30
|
-
* @const PACKAGE_NAME
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberOf module:Logging
|
|
33
|
-
*/
|
|
34
|
-
export declare const PACKAGE_NAME: string;
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,sDAA0B;AAC1B,kDAA4B;AAC5B,mDAA6B;AAC7B,oDAA8B;AAC9B,oDAA8B;AAC9B,gDAA0B;AAC1B,sDAAgC;AAChC,6CAAuB;AACvB,6CAAuB;AACvB,8CAAwB;AACxB,4CAAsB;AACtB,8CAAwB;AACxB,wDAAsC;AAEtC;;;;;;GAMG;AACU,QAAA,OAAO,GAAW,aAAa,CAAC;AAE7C;;;;;;GAMG;AACU,QAAA,YAAY,GAAW,aAAa,CAAC"}
|
package/lib/logParameters.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { LogLevel } from "./constants";
|
|
2
|
-
import { LogMeta, LoggingConfig } from "./types";
|
|
3
|
-
export type LogParameterPayload = {
|
|
4
|
-
config: LoggingConfig;
|
|
5
|
-
level: LogLevel;
|
|
6
|
-
context: string[];
|
|
7
|
-
timestamp?: string;
|
|
8
|
-
app?: string;
|
|
9
|
-
separator?: string;
|
|
10
|
-
correlationId?: string;
|
|
11
|
-
rawMessage: string;
|
|
12
|
-
filteredMessage: string;
|
|
13
|
-
meta?: LogMeta;
|
|
14
|
-
metaString?: string;
|
|
15
|
-
stack?: string;
|
|
16
|
-
stackLabel?: string;
|
|
17
|
-
applyTheme(value: string, type: string): string;
|
|
18
|
-
};
|
|
19
|
-
export interface LogParameterDescriptor {
|
|
20
|
-
key: string;
|
|
21
|
-
render(payload: LogParameterPayload): string | undefined;
|
|
22
|
-
style?(rendered: string, payload: LogParameterPayload): string;
|
|
23
|
-
shouldInclude?(payload: LogParameterPayload): boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface LogPatternLiteralSegment {
|
|
26
|
-
type: "literal";
|
|
27
|
-
value: string;
|
|
28
|
-
}
|
|
29
|
-
export interface LogPatternParameterSegment {
|
|
30
|
-
type: "parameter";
|
|
31
|
-
key: string;
|
|
32
|
-
}
|
|
33
|
-
export interface LogPatternOptionalSegment {
|
|
34
|
-
type: "optional";
|
|
35
|
-
prefix: string;
|
|
36
|
-
suffix: string;
|
|
37
|
-
children: LogPatternSegment[];
|
|
38
|
-
}
|
|
39
|
-
export type LogPatternSegment = LogPatternLiteralSegment | LogPatternParameterSegment | LogPatternOptionalSegment;
|
|
40
|
-
export type LogPatternDefinition = {
|
|
41
|
-
pattern: string;
|
|
42
|
-
segments: LogPatternSegment[];
|
|
43
|
-
keys: string[];
|
|
44
|
-
includesMeta: boolean;
|
|
45
|
-
};
|
|
46
|
-
export declare class LogParameterRegistry {
|
|
47
|
-
private readonly descriptors;
|
|
48
|
-
register(descriptor: LogParameterDescriptor): this;
|
|
49
|
-
unregister(key: string): this;
|
|
50
|
-
get(key: string): LogParameterDescriptor | undefined;
|
|
51
|
-
render(payload: LogParameterPayload, keys: string[]): Record<string, string>;
|
|
52
|
-
keys(): string[];
|
|
53
|
-
}
|
|
54
|
-
export declare function compileLogPattern(pattern: string): LogPatternDefinition;
|
|
55
|
-
export declare function renderPattern(definition: LogPatternDefinition, rendered: Record<string, string>): string;
|
|
56
|
-
export declare const logParameterRegistry: LogParameterRegistry;
|
package/lib/logParameters.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logParameters.js","sourceRoot":"","sources":["../src/logParameters.ts"],"names":[],"mappings":";;;AAmGA,8CAgBC;AAED,sCAKC;AAlED,MAAa,oBAAoB;IAAjC;QACmB,gBAAW,GAAG,IAAI,GAAG,EAAkC,CAAC;IAsC3E,CAAC;IApCC,QAAQ,CAAC,UAAkC;QACzC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;QACjD,OAAO,IAAI,CAAC;IACd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