@qubit-ltd/logging 1.4.4 → 1.4.6
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/README.md +265 -4
- package/README.zh_CN.md +268 -7
- package/dist/logging.cjs +4 -4
- package/dist/logging.cjs.map +1 -1
- package/dist/logging.iife.js +4 -4
- package/dist/logging.iife.js.map +1 -1
- package/dist/logging.min.cjs +1 -1
- package/dist/logging.min.cjs.map +1 -1
- package/dist/logging.min.iife.js +1 -1
- package/dist/logging.min.iife.js.map +1 -1
- package/dist/logging.min.mjs +1 -1
- package/dist/logging.min.mjs.map +1 -1
- package/dist/logging.mjs +4 -4
- package/dist/logging.mjs.map +1 -1
- package/doc/api/Logger.html +1 -1
- package/doc/api/global.html +1 -1
- package/doc/api/index.html +235 -5
- package/doc/logging.min.visualization.html +1 -1
- package/doc/logging.visualization.html +1 -1
- package/package.json +25 -23
package/doc/api/index.html
CHANGED
|
@@ -58,6 +58,16 @@
|
|
|
58
58
|
logging capabilities through decorators for class methods and properties.
|
|
59
59
|
This library is designed to seamlessly integrate with <a href="https://github.com/Haixing-Hu/vue3-class-component/">Vue.js class components</a>,
|
|
60
60
|
offering an elegant solution for handling logging in your JavaScript projects.</p>
|
|
61
|
+
<h2>Features</h2>
|
|
62
|
+
<ul>
|
|
63
|
+
<li>📝 Simple and flexible logging interface with different log levels</li>
|
|
64
|
+
<li>🔍 Support for formatted log messages with placeholders</li>
|
|
65
|
+
<li>🎯 Decorators for automatic method logging and class logger integration</li>
|
|
66
|
+
<li>🔄 Seamless integration with Vue.js class components</li>
|
|
67
|
+
<li>🎛️ Configurable logging levels and appenders</li>
|
|
68
|
+
<li>🌐 Global and individual logger management</li>
|
|
69
|
+
<li>📋 Browser console and custom appender support</li>
|
|
70
|
+
</ul>
|
|
61
71
|
<h2>Installation</h2>
|
|
62
72
|
<p>To install the library, use either npm or yarn:</p>
|
|
63
73
|
<pre class="prettyprint source lang-sh"><code>npm install @qubit-ltd/logging
|
|
@@ -86,6 +96,25 @@ a new logger.</li>
|
|
|
86
96
|
</ul>
|
|
87
97
|
</li>
|
|
88
98
|
</ul>
|
|
99
|
+
<p>Example:</p>
|
|
100
|
+
<pre class="prettyprint source lang-javascript"><code>import Logger from '@qubit-ltd/logging';
|
|
101
|
+
|
|
102
|
+
// Create a logger with default settings
|
|
103
|
+
const logger1 = Logger.getLogger('MyLogger');
|
|
104
|
+
|
|
105
|
+
// Create a logger with custom level
|
|
106
|
+
const logger2 = Logger.getLogger('DebugLogger', { level: 'DEBUG' });
|
|
107
|
+
|
|
108
|
+
// Create a logger with custom appender
|
|
109
|
+
const customAppender = {
|
|
110
|
+
trace: (message, ...args) => { /* custom trace implementation */ },
|
|
111
|
+
debug: (message, ...args) => { /* custom debug implementation */ },
|
|
112
|
+
info: (message, ...args) => { /* custom info implementation */ },
|
|
113
|
+
warn: (message, ...args) => { /* custom warn implementation */ },
|
|
114
|
+
error: (message, ...args) => { /* custom error implementation */ },
|
|
115
|
+
};
|
|
116
|
+
const logger3 = Logger.getLogger('CustomLogger', { appender: customAppender, level: 'INFO' });
|
|
117
|
+
</code></pre>
|
|
89
118
|
<h3>Logging Messages</h3>
|
|
90
119
|
<ul>
|
|
91
120
|
<li><code>logger.trace(message, ...args)</code>: Logs a trace-level message.</li>
|
|
@@ -121,7 +150,31 @@ logger.log(level, 'This is an %s message with argument %s and argument %o', leve
|
|
|
121
150
|
</code></pre>
|
|
122
151
|
<h3>Set the Logging Level</h3>
|
|
123
152
|
<p>Adjust the logging level for a logger using <code>logger.setLevel(level)</code>.</p>
|
|
124
|
-
<p>Available levels
|
|
153
|
+
<p>Available levels (from most to least verbose):</p>
|
|
154
|
+
<ul>
|
|
155
|
+
<li><code>TRACE</code>: Most detailed information for debugging purposes</li>
|
|
156
|
+
<li><code>DEBUG</code>: General debugging information</li>
|
|
157
|
+
<li><code>INFO</code>: General information about application progress</li>
|
|
158
|
+
<li><code>WARN</code>: Warning situations that might require attention</li>
|
|
159
|
+
<li><code>ERROR</code>: Error conditions that need handling</li>
|
|
160
|
+
<li><code>NONE</code>: Completely disable logging</li>
|
|
161
|
+
</ul>
|
|
162
|
+
<p>All level names are case-insensitive.</p>
|
|
163
|
+
<p>Example:</p>
|
|
164
|
+
<pre class="prettyprint source lang-javascript"><code>const logger = Logger.getLogger('MyClass');
|
|
165
|
+
|
|
166
|
+
// Change the level to only show warnings and errors
|
|
167
|
+
logger.setLevel('WARN');
|
|
168
|
+
|
|
169
|
+
// These won't be displayed because they're below the WARN level
|
|
170
|
+
logger.trace('This trace message will not be displayed');
|
|
171
|
+
logger.debug('This debug message will not be displayed');
|
|
172
|
+
logger.info('This info message will not be displayed');
|
|
173
|
+
|
|
174
|
+
// These will be displayed
|
|
175
|
+
logger.warn('This warning message will be displayed');
|
|
176
|
+
logger.error('This error message will be displayed');
|
|
177
|
+
</code></pre>
|
|
125
178
|
<h3>Set the Logging Appender</h3>
|
|
126
179
|
<p>Use <code>logger.setAppender(appender)</code> to assign a custom appender object that defines:</p>
|
|
127
180
|
<ul>
|
|
@@ -134,6 +187,16 @@ logger.log(level, 'This is an %s message with argument %s and argument %o', leve
|
|
|
134
187
|
<p>Example:</p>
|
|
135
188
|
<pre class="prettyprint source lang-javascript"><code>const logger = Logger.getLogger('MyClass');
|
|
136
189
|
logger.setAppender(console); // Outputs log messages to the console.
|
|
190
|
+
|
|
191
|
+
// Or create a custom appender that adds timestamps to all logs
|
|
192
|
+
const timestampAppender = {
|
|
193
|
+
trace: (message, ...args) => console.trace(`[${new Date().toISOString()}] ${message}`, ...args),
|
|
194
|
+
debug: (message, ...args) => console.debug(`[${new Date().toISOString()}] ${message}`, ...args),
|
|
195
|
+
info: (message, ...args) => console.info(`[${new Date().toISOString()}] ${message}`, ...args),
|
|
196
|
+
warn: (message, ...args) => console.warn(`[${new Date().toISOString()}] ${message}`, ...args),
|
|
197
|
+
error: (message, ...args) => console.error(`[${new Date().toISOString()}] ${message}`, ...args),
|
|
198
|
+
};
|
|
199
|
+
logger.setAppender(timestampAppender);
|
|
137
200
|
</code></pre>
|
|
138
201
|
<h3>Enable or Disable Logging</h3>
|
|
139
202
|
<ul>
|
|
@@ -141,12 +204,44 @@ logger.setAppender(console); // Outputs log messages to the console.
|
|
|
141
204
|
<li><code>logger.disable()</code>: Disable logging.</li>
|
|
142
205
|
<li><code>logger.setEnabled(enabled)</code>: Dynamically control logging.</li>
|
|
143
206
|
</ul>
|
|
207
|
+
<p>Example:</p>
|
|
208
|
+
<pre class="prettyprint source lang-javascript"><code>const logger = Logger.getLogger('MyClass');
|
|
209
|
+
|
|
210
|
+
// Disable all logging temporarily
|
|
211
|
+
logger.disable();
|
|
212
|
+
logger.info('This message will not be logged');
|
|
213
|
+
|
|
214
|
+
// Re-enable logging
|
|
215
|
+
logger.enable();
|
|
216
|
+
logger.info('This message will be logged');
|
|
217
|
+
|
|
218
|
+
// Use a condition to control logging
|
|
219
|
+
const debugMode = process.env.NODE_ENV === 'development';
|
|
220
|
+
logger.setEnabled(debugMode);
|
|
221
|
+
</code></pre>
|
|
144
222
|
<h3>Managing Loggers</h3>
|
|
145
223
|
<ul>
|
|
146
224
|
<li><code>Logger.clearAllLoggers()</code>: Clears all registered loggers.</li>
|
|
147
225
|
<li><code>Logger.getLevel(name)</code>: Retrieves the logging level for a specific logger.</li>
|
|
148
226
|
<li><code>Logger.setLevel(name, level)</code>: Sets the logging level for a specific logger.</li>
|
|
149
227
|
</ul>
|
|
228
|
+
<p>Example:</p>
|
|
229
|
+
<pre class="prettyprint source lang-javascript"><code>// Create multiple loggers
|
|
230
|
+
const apiLogger = Logger.getLogger('API');
|
|
231
|
+
const uiLogger = Logger.getLogger('UI');
|
|
232
|
+
const dbLogger = Logger.getLogger('Database');
|
|
233
|
+
|
|
234
|
+
// Change a specific logger's level without accessing its instance
|
|
235
|
+
Logger.setLevel('API', 'DEBUG');
|
|
236
|
+
Logger.setLevel('Database', 'ERROR');
|
|
237
|
+
|
|
238
|
+
// Get a logger's current level
|
|
239
|
+
const uiLevel = Logger.getLevel('UI');
|
|
240
|
+
console.log(`UI Logger level: ${uiLevel}`);
|
|
241
|
+
|
|
242
|
+
// Clear all loggers when shutting down the application
|
|
243
|
+
Logger.clearAllLoggers();
|
|
244
|
+
</code></pre>
|
|
150
245
|
<h3>Default Levels and Appenders</h3>
|
|
151
246
|
<p>The default logging levels and appenders are used when creating a new logger
|
|
152
247
|
without specifying the level or appender.</p>
|
|
@@ -160,6 +255,20 @@ factory value.</li>
|
|
|
160
255
|
<li><code>Logger.resetDefaultAppender()</code>: Resets the default logging appender to the
|
|
161
256
|
factory value.</li>
|
|
162
257
|
</ul>
|
|
258
|
+
<p>Example:</p>
|
|
259
|
+
<pre class="prettyprint source lang-javascript"><code>// Get the current default level
|
|
260
|
+
const defaultLevel = Logger.getDefaultLevel();
|
|
261
|
+
console.log(`Default logging level: ${defaultLevel}`);
|
|
262
|
+
|
|
263
|
+
// Change the default level for all new loggers
|
|
264
|
+
Logger.setDefaultLevel('DEBUG');
|
|
265
|
+
|
|
266
|
+
// All new loggers will now have DEBUG level by default
|
|
267
|
+
const logger = Logger.getLogger('NewLogger'); // Will have DEBUG level
|
|
268
|
+
|
|
269
|
+
// Reset to the original factory default level
|
|
270
|
+
Logger.resetDefaultLevel();
|
|
271
|
+
</code></pre>
|
|
163
272
|
<h3>Global Loggers Management</h3>
|
|
164
273
|
<ul>
|
|
165
274
|
<li><code>Logger.setAllLevels(level)</code>: Applies a logging level to all existing loggers.</li>
|
|
@@ -170,12 +279,38 @@ loggers.</li>
|
|
|
170
279
|
<li><code>Logger.resetAllAppenders()</code>: Resets the logging appender of all existing loggers
|
|
171
280
|
to the default logging appender.</li>
|
|
172
281
|
</ul>
|
|
282
|
+
<p>Example:</p>
|
|
283
|
+
<pre class="prettyprint source lang-javascript"><code>// Create several loggers with different levels
|
|
284
|
+
const logger1 = Logger.getLogger('Logger1', { level: 'TRACE' });
|
|
285
|
+
const logger2 = Logger.getLogger('Logger2', { level: 'INFO' });
|
|
286
|
+
const logger3 = Logger.getLogger('Logger3', { level: 'ERROR' });
|
|
287
|
+
|
|
288
|
+
// Change all loggers to WARNING level at once
|
|
289
|
+
Logger.setAllLevels('WARN');
|
|
290
|
+
|
|
291
|
+
// Now all loggers will only display WARN and ERROR messages
|
|
292
|
+
logger1.info('This won't be displayed');
|
|
293
|
+
logger2.warn('This will be displayed');
|
|
294
|
+
logger3.error('This will be displayed');
|
|
295
|
+
|
|
296
|
+
// Reset all loggers to use the default level
|
|
297
|
+
Logger.resetAllLevels();
|
|
298
|
+
|
|
299
|
+
// Apply a custom appender to all existing loggers
|
|
300
|
+
const fileAppender = { /* ... implementation of logging to a file ... */ };
|
|
301
|
+
Logger.setAllAppenders(fileAppender);
|
|
302
|
+
</code></pre>
|
|
173
303
|
<h3>Reset to Factory Defaults</h3>
|
|
174
304
|
<ul>
|
|
175
305
|
<li><code>Logger.reset()</code>: Resets all loggers to the factory default settings. This
|
|
176
306
|
includes clearing all existing loggers, and resetting the default logging
|
|
177
307
|
level and the default logging appender.</li>
|
|
178
308
|
</ul>
|
|
309
|
+
<p>Example:</p>
|
|
310
|
+
<pre class="prettyprint source lang-javascript"><code>// After making many modifications to loggers and defaults
|
|
311
|
+
// This single call resets everything to factory settings
|
|
312
|
+
Logger.reset();
|
|
313
|
+
</code></pre>
|
|
179
314
|
<h2>The <code>@Log</code> Decorator</h2>
|
|
180
315
|
<p>The <code>@Log</code> decorator automatically logs the method signature, including the
|
|
181
316
|
class name, method name, and parameters.</p>
|
|
@@ -186,15 +321,27 @@ class Person {
|
|
|
186
321
|
@Log
|
|
187
322
|
eat(meal) {
|
|
188
323
|
// method implementation
|
|
324
|
+
return `Eating ${meal.name}`;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// Custom options for the Log decorator
|
|
328
|
+
@Log({ level: 'INFO', withResult: true })
|
|
329
|
+
calculateCalories(food, amount) {
|
|
330
|
+
const calories = food.caloriesPerUnit * amount;
|
|
331
|
+
return calories;
|
|
189
332
|
}
|
|
190
333
|
}
|
|
191
334
|
|
|
192
335
|
const person = new Person();
|
|
193
|
-
const meal =
|
|
194
|
-
person.eat(meal);
|
|
336
|
+
const meal = { name: 'Breakfast', type: 'healthy' };
|
|
337
|
+
person.eat(meal);
|
|
338
|
+
// Logs: "Person.eat({"name":"Breakfast","type":"healthy"})"
|
|
339
|
+
|
|
340
|
+
const calories = person.calculateCalories({ caloriesPerUnit: 50 }, 4);
|
|
341
|
+
// Logs: "Person.calculateCalories({"caloriesPerUnit":50}, 4) => 200"
|
|
195
342
|
</code></pre>
|
|
196
343
|
<h2>The <code>@HasLogger</code> Decorator</h2>
|
|
197
|
-
<p>The <code>@HasLogger</code> decorator adds a named logger to a class, which is
|
|
344
|
+
<p>The <code>@HasLogger</code> decorator adds a named logger to a class, which is accessible
|
|
198
345
|
via the <code>logger</code> property.</p>
|
|
199
346
|
<p>Example:</p>
|
|
200
347
|
<pre class="prettyprint source lang-javascript"><code>import { HasLogger } from '@qubit-ltd/logging';
|
|
@@ -204,7 +351,20 @@ class MyClass {
|
|
|
204
351
|
foo() {
|
|
205
352
|
this.logger.debug('This is MyClass.foo()');
|
|
206
353
|
}
|
|
354
|
+
|
|
355
|
+
bar(param) {
|
|
356
|
+
this.logger.info('Processing with parameter: %o', param);
|
|
357
|
+
// do something with param
|
|
358
|
+
if (param.value < 0) {
|
|
359
|
+
this.logger.warn('Negative value detected: %d', param.value);
|
|
360
|
+
}
|
|
361
|
+
return param.value * 2;
|
|
362
|
+
}
|
|
207
363
|
}
|
|
364
|
+
|
|
365
|
+
const instance = new MyClass();
|
|
366
|
+
instance.foo();
|
|
367
|
+
instance.bar({ value: -5 });
|
|
208
368
|
</code></pre>
|
|
209
369
|
<h2>Using with Vue.js Class Components</h2>
|
|
210
370
|
<p>You can use the <code>@Log</code> and <code>@HasLogger</code> decorators with <a href="https://github.com/Haixing-Hu/vue3-class-component/">Vue.js class components</a>:</p>
|
|
@@ -222,15 +382,85 @@ class MyComponent {
|
|
|
222
382
|
@Log
|
|
223
383
|
foo() {
|
|
224
384
|
this.logger.debug('This is MyComponent.foo()');
|
|
385
|
+
this.message = 'clicked at ' + new Date().toLocaleTimeString();
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
@Log({ level: 'INFO' })
|
|
389
|
+
async fetchData() {
|
|
390
|
+
try {
|
|
391
|
+
this.logger.info('Fetching data from API...');
|
|
392
|
+
const response = await fetch('/api/data');
|
|
393
|
+
const data = await response.json();
|
|
394
|
+
this.logger.info('Data received: %o', data);
|
|
395
|
+
return data;
|
|
396
|
+
} catch (error) {
|
|
397
|
+
this.logger.error('Failed to fetch data: %o', error);
|
|
398
|
+
throw error;
|
|
399
|
+
}
|
|
225
400
|
}
|
|
226
401
|
}
|
|
227
402
|
|
|
228
403
|
export default toVue(MyComponent);
|
|
229
404
|
</code></pre>
|
|
230
405
|
<p><strong>Note</strong>: The <code>@HasLogger</code> decorator must be placed <strong>after</strong> the <code>@Component</code> decorator.</p>
|
|
406
|
+
<h2>Advanced Usage</h2>
|
|
407
|
+
<h3>Creating a Custom Appender</h3>
|
|
408
|
+
<p>You can create custom appenders to direct logs to different destinations:</p>
|
|
409
|
+
<pre class="prettyprint source lang-javascript"><code>// File logging appender (Node.js example)
|
|
410
|
+
import fs from 'fs';
|
|
411
|
+
|
|
412
|
+
const fileAppender = {
|
|
413
|
+
_writeToFile(level, message, ...args) {
|
|
414
|
+
const formattedArgs = args.map(arg =>
|
|
415
|
+
typeof arg === 'object' ? JSON.stringify(arg) : String(arg)
|
|
416
|
+
);
|
|
417
|
+
const logEntry = `[${new Date().toISOString()}] [${level}] ${message} ${formattedArgs.join(' ')}\n`;
|
|
418
|
+
fs.appendFileSync('application.log', logEntry);
|
|
419
|
+
},
|
|
420
|
+
trace: function(message, ...args) { this._writeToFile('TRACE', message, ...args); },
|
|
421
|
+
debug: function(message, ...args) { this._writeToFile('DEBUG', message, ...args); },
|
|
422
|
+
info: function(message, ...args) { this._writeToFile('INFO', message, ...args); },
|
|
423
|
+
warn: function(message, ...args) { this._writeToFile('WARN', message, ...args); },
|
|
424
|
+
error: function(message, ...args) { this._writeToFile('ERROR', message, ...args); }
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
// Use the custom appender
|
|
428
|
+
const logger = Logger.getLogger('AppLogger', { appender: fileAppender });
|
|
429
|
+
</code></pre>
|
|
430
|
+
<h3>Conditional Logging</h3>
|
|
431
|
+
<pre class="prettyprint source lang-javascript"><code>import Logger from '@qubit-ltd/logging';
|
|
432
|
+
|
|
433
|
+
function processData(data, options = {}) {
|
|
434
|
+
const logger = Logger.getLogger('DataProcessor');
|
|
435
|
+
|
|
436
|
+
// Enable debug logging only when explicitly requested
|
|
437
|
+
if (options.debug) {
|
|
438
|
+
logger.setLevel('DEBUG');
|
|
439
|
+
} else {
|
|
440
|
+
logger.setLevel('INFO');
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
logger.debug('Processing data with options: %o', options);
|
|
444
|
+
// rest of the function
|
|
445
|
+
}
|
|
446
|
+
</code></pre>
|
|
231
447
|
<h2><span id="contributing">Contributing</span></h2>
|
|
232
448
|
<p>If you find any issues or have suggestions for improvements, please feel free
|
|
233
449
|
to open an issue or submit a pull request to the <a href="https://github.com/Haixing-Hu/js-logging">GitHub repository</a>.</p>
|
|
450
|
+
<h3>Development Setup</h3>
|
|
451
|
+
<pre class="prettyprint source lang-bash"><code># Clone the repository
|
|
452
|
+
git clone https://github.com/Haixing-Hu/js-logging.git
|
|
453
|
+
cd js-logging
|
|
454
|
+
|
|
455
|
+
# Install dependencies
|
|
456
|
+
yarn install
|
|
457
|
+
|
|
458
|
+
# Run tests
|
|
459
|
+
yarn test
|
|
460
|
+
|
|
461
|
+
# Build the library
|
|
462
|
+
yarn build
|
|
463
|
+
</code></pre>
|
|
234
464
|
<h2><span id="license">License</span></h2>
|
|
235
465
|
<p><a href="https://npmjs.com/package/@qubit-ltd/logging">@qubit-ltd/logging</a> is distributed under the Apache 2.0 license.
|
|
236
466
|
See the <a href="LICENSE">LICENSE</a> file for more details.</p></article>
|
|
@@ -247,7 +477,7 @@ See the <a href="LICENSE">LICENSE</a> file for more details.</p></article>
|
|
|
247
477
|
|
|
248
478
|
<footer>
|
|
249
479
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>
|
|
250
|
-
on
|
|
480
|
+
on Wed Apr 16 2025 13:42:01 GMT+0800 (China Standard Time)
|
|
251
481
|
using the <a href="https://github.com/Haixing-Hu/jsdoc-minami">customized Minami theme</a>.
|
|
252
482
|
</footer>
|
|
253
483
|
|
|
@@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {
|
|
|
4929
4929
|
</script>
|
|
4930
4930
|
<script>
|
|
4931
4931
|
/*<!--*/
|
|
4932
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"logging.min.iife.js","children":[{"name":"node_modules/@babel/runtime/helpers/esm","children":[{"uid":"389cf136-1","name":"classCallCheck.js"},{"uid":"389cf136-3","name":"typeof.js"},{"uid":"389cf136-5","name":"toPrimitive.js"},{"uid":"389cf136-7","name":"toPropertyKey.js"},{"uid":"389cf136-9","name":"createClass.js"},{"uid":"389cf136-23","name":"arrayLikeToArray.js"},{"uid":"389cf136-25","name":"arrayWithoutHoles.js"},{"uid":"389cf136-27","name":"iterableToArray.js"},{"uid":"389cf136-29","name":"unsupportedIterableToArray.js"},{"uid":"389cf136-31","name":"nonIterableSpread.js"},{"uid":"389cf136-33","name":"toConsumableArray.js"}]},{"name":"src","children":[{"name":"impl","children":[{"uid":"389cf136-11","name":"logging-levels.js"},{"uid":"389cf136-13","name":"check-appender.js"},{"uid":"389cf136-15","name":"check-logging-level.js"},{"uid":"389cf136-17","name":"upper-case-string.js"},{"uid":"389cf136-19","name":"is-string.js"},{"uid":"389cf136-21","name":"get-browser-engine.js"},{"uid":"389cf136-35","name":"get-logging-prefix.js"},{"uid":"389cf136-37","name":"fix-first-argument.js"},{"uid":"389cf136-39","name":"bind-with-arrow-function.js"},{"uid":"389cf136-41","name":"bind-without-prefix.js"},{"uid":"389cf136-43","name":"bind-with-function-bind.js"},{"uid":"389cf136-45","name":"bind-logging-methods.js"},{"uid":"389cf136-49","name":"metadata-keys.js"}]},{"uid":"389cf136-47","name":"logger.js"},{"uid":"389cf136-51","name":"log.js"},{"uid":"389cf136-53","name":"has-logger.js"},{"uid":"389cf136-55","name":"index.js"}]}]}],"isRoot":true},"nodeParts":{"389cf136-1":{"renderedLength":117,"gzipLength":119,"brotliLength":101,"metaUid":"389cf136-0"},"389cf136-3":{"renderedLength":335,"gzipLength":176,"brotliLength":142,"metaUid":"389cf136-2"},"389cf136-5":{"renderedLength":299,"gzipLength":201,"brotliLength":162,"metaUid":"389cf136-4"},"389cf136-7":{"renderedLength":111,"gzipLength":121,"brotliLength":93,"metaUid":"389cf136-6"},"389cf136-9":{"renderedLength":413,"gzipLength":244,"brotliLength":202,"metaUid":"389cf136-8"},"389cf136-11":{"renderedLength":421,"gzipLength":226,"brotliLength":187,"metaUid":"389cf136-10"},"389cf136-13":{"renderedLength":832,"gzipLength":465,"brotliLength":375,"metaUid":"389cf136-12"},"389cf136-15":{"renderedLength":800,"gzipLength":404,"brotliLength":323,"metaUid":"389cf136-14"},"389cf136-17":{"renderedLength":703,"gzipLength":323,"brotliLength":260,"metaUid":"389cf136-16"},"389cf136-19":{"renderedLength":644,"gzipLength":304,"brotliLength":235,"metaUid":"389cf136-18"},"389cf136-21":{"renderedLength":1161,"gzipLength":440,"brotliLength":336,"metaUid":"389cf136-20"},"389cf136-23":{"renderedLength":156,"gzipLength":143,"brotliLength":115,"metaUid":"389cf136-22"},"389cf136-25":{"renderedLength":89,"gzipLength":92,"brotliLength":86,"metaUid":"389cf136-24"},"389cf136-27":{"renderedLength":147,"gzipLength":136,"brotliLength":102,"metaUid":"389cf136-26"},"389cf136-29":{"renderedLength":400,"gzipLength":272,"brotliLength":217,"metaUid":"389cf136-28"},"389cf136-31":{"renderedLength":192,"gzipLength":164,"brotliLength":120,"metaUid":"389cf136-30"},"389cf136-33":{"renderedLength":149,"gzipLength":128,"brotliLength":103,"metaUid":"389cf136-32"},"389cf136-35":{"renderedLength":674,"gzipLength":301,"brotliLength":259,"metaUid":"389cf136-34"},"389cf136-37":{"renderedLength":243,"gzipLength":167,"brotliLength":147,"metaUid":"389cf136-36"},"389cf136-39":{"renderedLength":1452,"gzipLength":645,"brotliLength":521,"metaUid":"389cf136-38"},"389cf136-41":{"renderedLength":1295,"gzipLength":588,"brotliLength":469,"metaUid":"389cf136-40"},"389cf136-43":{"renderedLength":2083,"gzipLength":864,"brotliLength":695,"metaUid":"389cf136-42"},"389cf136-45":{"renderedLength":2804,"gzipLength":923,"brotliLength":761,"metaUid":"389cf136-44"},"389cf136-47":{"renderedLength":21844,"gzipLength":4527,"brotliLength":3871,"metaUid":"389cf136-46"},"389cf136-49":{"renderedLength":344,"gzipLength":178,"brotliLength":145,"metaUid":"389cf136-48"},"389cf136-51":{"renderedLength":4307,"gzipLength":1653,"brotliLength":1372,"metaUid":"389cf136-50"},"389cf136-53":{"renderedLength":2007,"gzipLength":808,"brotliLength":653,"metaUid":"389cf136-52"},"389cf136-55":{"renderedLength":264,"gzipLength":101,"brotliLength":98,"metaUid":"389cf136-54"}},"nodeMetas":{"389cf136-0":{"id":"/node_modules/@babel/runtime/helpers/esm/classCallCheck.js","moduleParts":{"logging.min.iife.js":"389cf136-1"},"imported":[],"importedBy":[{"uid":"389cf136-46"}]},"389cf136-2":{"id":"/node_modules/@babel/runtime/helpers/esm/typeof.js","moduleParts":{"logging.min.iife.js":"389cf136-3"},"imported":[],"importedBy":[{"uid":"389cf136-50"},{"uid":"389cf136-52"},{"uid":"389cf136-12"},{"uid":"389cf136-6"},{"uid":"389cf136-4"}]},"389cf136-4":{"id":"/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","moduleParts":{"logging.min.iife.js":"389cf136-5"},"imported":[{"uid":"389cf136-2"}],"importedBy":[{"uid":"389cf136-6"}]},"389cf136-6":{"id":"/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","moduleParts":{"logging.min.iife.js":"389cf136-7"},"imported":[{"uid":"389cf136-2"},{"uid":"389cf136-4"}],"importedBy":[{"uid":"389cf136-8"}]},"389cf136-8":{"id":"/node_modules/@babel/runtime/helpers/esm/createClass.js","moduleParts":{"logging.min.iife.js":"389cf136-9"},"imported":[{"uid":"389cf136-6"}],"importedBy":[{"uid":"389cf136-46"}]},"389cf136-10":{"id":"/src/impl/logging-levels.js","moduleParts":{"logging.min.iife.js":"389cf136-11"},"imported":[],"importedBy":[{"uid":"389cf136-46"},{"uid":"389cf136-12"},{"uid":"389cf136-14"},{"uid":"389cf136-44"}]},"389cf136-12":{"id":"/src/impl/check-appender.js","moduleParts":{"logging.min.iife.js":"389cf136-13"},"imported":[{"uid":"389cf136-2"},{"uid":"389cf136-10"}],"importedBy":[{"uid":"389cf136-46"}]},"389cf136-14":{"id":"/src/impl/check-logging-level.js","moduleParts":{"logging.min.iife.js":"389cf136-15"},"imported":[{"uid":"389cf136-10"}],"importedBy":[{"uid":"389cf136-46"}]},"389cf136-16":{"id":"/src/impl/upper-case-string.js","moduleParts":{"logging.min.iife.js":"389cf136-17"},"imported":[],"importedBy":[{"uid":"389cf136-46"}]},"389cf136-18":{"id":"/src/impl/is-string.js","moduleParts":{"logging.min.iife.js":"389cf136-19"},"imported":[],"importedBy":[{"uid":"389cf136-46"},{"uid":"389cf136-36"}]},"389cf136-20":{"id":"/src/impl/get-browser-engine.js","moduleParts":{"logging.min.iife.js":"389cf136-21"},"imported":[],"importedBy":[{"uid":"389cf136-44"}]},"389cf136-22":{"id":"/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","moduleParts":{"logging.min.iife.js":"389cf136-23"},"imported":[],"importedBy":[{"uid":"389cf136-24"},{"uid":"389cf136-28"}]},"389cf136-24":{"id":"/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","moduleParts":{"logging.min.iife.js":"389cf136-25"},"imported":[{"uid":"389cf136-22"}],"importedBy":[{"uid":"389cf136-32"}]},"389cf136-26":{"id":"/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","moduleParts":{"logging.min.iife.js":"389cf136-27"},"imported":[],"importedBy":[{"uid":"389cf136-32"}]},"389cf136-28":{"id":"/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","moduleParts":{"logging.min.iife.js":"389cf136-29"},"imported":[{"uid":"389cf136-22"}],"importedBy":[{"uid":"389cf136-32"}]},"389cf136-30":{"id":"/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","moduleParts":{"logging.min.iife.js":"389cf136-31"},"imported":[],"importedBy":[{"uid":"389cf136-32"}]},"389cf136-32":{"id":"/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","moduleParts":{"logging.min.iife.js":"389cf136-33"},"imported":[{"uid":"389cf136-24"},{"uid":"389cf136-26"},{"uid":"389cf136-28"},{"uid":"389cf136-30"}],"importedBy":[{"uid":"389cf136-50"},{"uid":"389cf136-38"},{"uid":"389cf136-36"}]},"389cf136-34":{"id":"/src/impl/get-logging-prefix.js","moduleParts":{"logging.min.iife.js":"389cf136-35"},"imported":[],"importedBy":[{"uid":"389cf136-38"},{"uid":"389cf136-42"}]},"389cf136-36":{"id":"/src/impl/fix-first-argument.js","moduleParts":{"logging.min.iife.js":"389cf136-37"},"imported":[{"uid":"389cf136-32"},{"uid":"389cf136-18"}],"importedBy":[{"uid":"389cf136-38"}]},"389cf136-38":{"id":"/src/impl/bind-with-arrow-function.js","moduleParts":{"logging.min.iife.js":"389cf136-39"},"imported":[{"uid":"389cf136-32"},{"uid":"389cf136-34"},{"uid":"389cf136-36"}],"importedBy":[{"uid":"389cf136-44"}]},"389cf136-40":{"id":"/src/impl/bind-without-prefix.js","moduleParts":{"logging.min.iife.js":"389cf136-41"},"imported":[],"importedBy":[{"uid":"389cf136-44"}]},"389cf136-42":{"id":"/src/impl/bind-with-function-bind.js","moduleParts":{"logging.min.iife.js":"389cf136-43"},"imported":[{"uid":"389cf136-34"}],"importedBy":[{"uid":"389cf136-44"}]},"389cf136-44":{"id":"/src/impl/bind-logging-methods.js","moduleParts":{"logging.min.iife.js":"389cf136-45"},"imported":[{"uid":"389cf136-10"},{"uid":"389cf136-20"},{"uid":"389cf136-38"},{"uid":"389cf136-40"},{"uid":"389cf136-42"}],"importedBy":[{"uid":"389cf136-46"}]},"389cf136-46":{"id":"/src/logger.js","moduleParts":{"logging.min.iife.js":"389cf136-47"},"imported":[{"uid":"389cf136-0"},{"uid":"389cf136-8"},{"uid":"389cf136-10"},{"uid":"389cf136-12"},{"uid":"389cf136-14"},{"uid":"389cf136-16"},{"uid":"389cf136-18"},{"uid":"389cf136-44"}],"importedBy":[{"uid":"389cf136-54"},{"uid":"389cf136-50"},{"uid":"389cf136-52"}]},"389cf136-48":{"id":"/src/impl/metadata-keys.js","moduleParts":{"logging.min.iife.js":"389cf136-49"},"imported":[],"importedBy":[{"uid":"389cf136-50"}]},"389cf136-50":{"id":"/src/log.js","moduleParts":{"logging.min.iife.js":"389cf136-51"},"imported":[{"uid":"389cf136-2"},{"uid":"389cf136-32"},{"uid":"389cf136-46"},{"uid":"389cf136-48"}],"importedBy":[{"uid":"389cf136-54"}]},"389cf136-52":{"id":"/src/has-logger.js","moduleParts":{"logging.min.iife.js":"389cf136-53"},"imported":[{"uid":"389cf136-2"},{"uid":"389cf136-46"}],"importedBy":[{"uid":"389cf136-54"}]},"389cf136-54":{"id":"/src/index.js","moduleParts":{"logging.min.iife.js":"389cf136-55"},"imported":[{"uid":"389cf136-46"},{"uid":"389cf136-50"},{"uid":"389cf136-52"}],"importedBy":[],"isEntry":true}},"env":{"rollup":"4.29.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
4932
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"logging.min.iife.js","children":[{"name":"node_modules/@babel/runtime/helpers/esm","children":[{"uid":"c17c6645-1","name":"classCallCheck.js"},{"uid":"c17c6645-3","name":"typeof.js"},{"uid":"c17c6645-5","name":"toPrimitive.js"},{"uid":"c17c6645-7","name":"toPropertyKey.js"},{"uid":"c17c6645-9","name":"createClass.js"},{"uid":"c17c6645-23","name":"arrayLikeToArray.js"},{"uid":"c17c6645-25","name":"arrayWithoutHoles.js"},{"uid":"c17c6645-27","name":"iterableToArray.js"},{"uid":"c17c6645-29","name":"unsupportedIterableToArray.js"},{"uid":"c17c6645-31","name":"nonIterableSpread.js"},{"uid":"c17c6645-33","name":"toConsumableArray.js"}]},{"name":"src","children":[{"name":"impl","children":[{"uid":"c17c6645-11","name":"logging-levels.js"},{"uid":"c17c6645-13","name":"check-appender.js"},{"uid":"c17c6645-15","name":"check-logging-level.js"},{"uid":"c17c6645-17","name":"upper-case-string.js"},{"uid":"c17c6645-19","name":"is-string.js"},{"uid":"c17c6645-21","name":"get-browser-engine.js"},{"uid":"c17c6645-35","name":"get-logging-prefix.js"},{"uid":"c17c6645-37","name":"fix-first-argument.js"},{"uid":"c17c6645-39","name":"bind-with-arrow-function.js"},{"uid":"c17c6645-41","name":"bind-without-prefix.js"},{"uid":"c17c6645-43","name":"bind-with-function-bind.js"},{"uid":"c17c6645-45","name":"bind-logging-methods.js"},{"uid":"c17c6645-49","name":"metadata-keys.js"}]},{"uid":"c17c6645-47","name":"logger.js"},{"uid":"c17c6645-51","name":"log.js"},{"uid":"c17c6645-53","name":"has-logger.js"},{"uid":"c17c6645-55","name":"index.js"}]}]}],"isRoot":true},"nodeParts":{"c17c6645-1":{"renderedLength":117,"gzipLength":119,"brotliLength":101,"metaUid":"c17c6645-0"},"c17c6645-3":{"renderedLength":335,"gzipLength":176,"brotliLength":142,"metaUid":"c17c6645-2"},"c17c6645-5":{"renderedLength":299,"gzipLength":201,"brotliLength":162,"metaUid":"c17c6645-4"},"c17c6645-7":{"renderedLength":111,"gzipLength":121,"brotliLength":93,"metaUid":"c17c6645-6"},"c17c6645-9":{"renderedLength":433,"gzipLength":250,"brotliLength":209,"metaUid":"c17c6645-8"},"c17c6645-11":{"renderedLength":421,"gzipLength":226,"brotliLength":187,"metaUid":"c17c6645-10"},"c17c6645-13":{"renderedLength":832,"gzipLength":465,"brotliLength":375,"metaUid":"c17c6645-12"},"c17c6645-15":{"renderedLength":800,"gzipLength":404,"brotliLength":323,"metaUid":"c17c6645-14"},"c17c6645-17":{"renderedLength":703,"gzipLength":323,"brotliLength":260,"metaUid":"c17c6645-16"},"c17c6645-19":{"renderedLength":644,"gzipLength":304,"brotliLength":235,"metaUid":"c17c6645-18"},"c17c6645-21":{"renderedLength":1161,"gzipLength":440,"brotliLength":336,"metaUid":"c17c6645-20"},"c17c6645-23":{"renderedLength":156,"gzipLength":143,"brotliLength":115,"metaUid":"c17c6645-22"},"c17c6645-25":{"renderedLength":89,"gzipLength":92,"brotliLength":86,"metaUid":"c17c6645-24"},"c17c6645-27":{"renderedLength":147,"gzipLength":136,"brotliLength":102,"metaUid":"c17c6645-26"},"c17c6645-29":{"renderedLength":400,"gzipLength":272,"brotliLength":217,"metaUid":"c17c6645-28"},"c17c6645-31":{"renderedLength":192,"gzipLength":164,"brotliLength":120,"metaUid":"c17c6645-30"},"c17c6645-33":{"renderedLength":149,"gzipLength":128,"brotliLength":103,"metaUid":"c17c6645-32"},"c17c6645-35":{"renderedLength":674,"gzipLength":301,"brotliLength":259,"metaUid":"c17c6645-34"},"c17c6645-37":{"renderedLength":243,"gzipLength":167,"brotliLength":147,"metaUid":"c17c6645-36"},"c17c6645-39":{"renderedLength":1452,"gzipLength":645,"brotliLength":521,"metaUid":"c17c6645-38"},"c17c6645-41":{"renderedLength":1295,"gzipLength":588,"brotliLength":469,"metaUid":"c17c6645-40"},"c17c6645-43":{"renderedLength":2083,"gzipLength":864,"brotliLength":695,"metaUid":"c17c6645-42"},"c17c6645-45":{"renderedLength":2804,"gzipLength":923,"brotliLength":761,"metaUid":"c17c6645-44"},"c17c6645-47":{"renderedLength":21856,"gzipLength":4529,"brotliLength":3864,"metaUid":"c17c6645-46"},"c17c6645-49":{"renderedLength":344,"gzipLength":178,"brotliLength":145,"metaUid":"c17c6645-48"},"c17c6645-51":{"renderedLength":4307,"gzipLength":1653,"brotliLength":1372,"metaUid":"c17c6645-50"},"c17c6645-53":{"renderedLength":2007,"gzipLength":808,"brotliLength":653,"metaUid":"c17c6645-52"},"c17c6645-55":{"renderedLength":264,"gzipLength":101,"brotliLength":98,"metaUid":"c17c6645-54"}},"nodeMetas":{"c17c6645-0":{"id":"/node_modules/@babel/runtime/helpers/esm/classCallCheck.js","moduleParts":{"logging.min.iife.js":"c17c6645-1"},"imported":[],"importedBy":[{"uid":"c17c6645-46"}]},"c17c6645-2":{"id":"/node_modules/@babel/runtime/helpers/esm/typeof.js","moduleParts":{"logging.min.iife.js":"c17c6645-3"},"imported":[],"importedBy":[{"uid":"c17c6645-50"},{"uid":"c17c6645-52"},{"uid":"c17c6645-12"},{"uid":"c17c6645-6"},{"uid":"c17c6645-4"}]},"c17c6645-4":{"id":"/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","moduleParts":{"logging.min.iife.js":"c17c6645-5"},"imported":[{"uid":"c17c6645-2"}],"importedBy":[{"uid":"c17c6645-6"}]},"c17c6645-6":{"id":"/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","moduleParts":{"logging.min.iife.js":"c17c6645-7"},"imported":[{"uid":"c17c6645-2"},{"uid":"c17c6645-4"}],"importedBy":[{"uid":"c17c6645-8"}]},"c17c6645-8":{"id":"/node_modules/@babel/runtime/helpers/esm/createClass.js","moduleParts":{"logging.min.iife.js":"c17c6645-9"},"imported":[{"uid":"c17c6645-6"}],"importedBy":[{"uid":"c17c6645-46"}]},"c17c6645-10":{"id":"/src/impl/logging-levels.js","moduleParts":{"logging.min.iife.js":"c17c6645-11"},"imported":[],"importedBy":[{"uid":"c17c6645-46"},{"uid":"c17c6645-12"},{"uid":"c17c6645-14"},{"uid":"c17c6645-44"}]},"c17c6645-12":{"id":"/src/impl/check-appender.js","moduleParts":{"logging.min.iife.js":"c17c6645-13"},"imported":[{"uid":"c17c6645-2"},{"uid":"c17c6645-10"}],"importedBy":[{"uid":"c17c6645-46"}]},"c17c6645-14":{"id":"/src/impl/check-logging-level.js","moduleParts":{"logging.min.iife.js":"c17c6645-15"},"imported":[{"uid":"c17c6645-10"}],"importedBy":[{"uid":"c17c6645-46"}]},"c17c6645-16":{"id":"/src/impl/upper-case-string.js","moduleParts":{"logging.min.iife.js":"c17c6645-17"},"imported":[],"importedBy":[{"uid":"c17c6645-46"}]},"c17c6645-18":{"id":"/src/impl/is-string.js","moduleParts":{"logging.min.iife.js":"c17c6645-19"},"imported":[],"importedBy":[{"uid":"c17c6645-46"},{"uid":"c17c6645-36"}]},"c17c6645-20":{"id":"/src/impl/get-browser-engine.js","moduleParts":{"logging.min.iife.js":"c17c6645-21"},"imported":[],"importedBy":[{"uid":"c17c6645-44"}]},"c17c6645-22":{"id":"/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","moduleParts":{"logging.min.iife.js":"c17c6645-23"},"imported":[],"importedBy":[{"uid":"c17c6645-24"},{"uid":"c17c6645-28"}]},"c17c6645-24":{"id":"/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","moduleParts":{"logging.min.iife.js":"c17c6645-25"},"imported":[{"uid":"c17c6645-22"}],"importedBy":[{"uid":"c17c6645-32"}]},"c17c6645-26":{"id":"/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","moduleParts":{"logging.min.iife.js":"c17c6645-27"},"imported":[],"importedBy":[{"uid":"c17c6645-32"}]},"c17c6645-28":{"id":"/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","moduleParts":{"logging.min.iife.js":"c17c6645-29"},"imported":[{"uid":"c17c6645-22"}],"importedBy":[{"uid":"c17c6645-32"}]},"c17c6645-30":{"id":"/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","moduleParts":{"logging.min.iife.js":"c17c6645-31"},"imported":[],"importedBy":[{"uid":"c17c6645-32"}]},"c17c6645-32":{"id":"/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","moduleParts":{"logging.min.iife.js":"c17c6645-33"},"imported":[{"uid":"c17c6645-24"},{"uid":"c17c6645-26"},{"uid":"c17c6645-28"},{"uid":"c17c6645-30"}],"importedBy":[{"uid":"c17c6645-50"},{"uid":"c17c6645-38"},{"uid":"c17c6645-36"}]},"c17c6645-34":{"id":"/src/impl/get-logging-prefix.js","moduleParts":{"logging.min.iife.js":"c17c6645-35"},"imported":[],"importedBy":[{"uid":"c17c6645-38"},{"uid":"c17c6645-42"}]},"c17c6645-36":{"id":"/src/impl/fix-first-argument.js","moduleParts":{"logging.min.iife.js":"c17c6645-37"},"imported":[{"uid":"c17c6645-32"},{"uid":"c17c6645-18"}],"importedBy":[{"uid":"c17c6645-38"}]},"c17c6645-38":{"id":"/src/impl/bind-with-arrow-function.js","moduleParts":{"logging.min.iife.js":"c17c6645-39"},"imported":[{"uid":"c17c6645-32"},{"uid":"c17c6645-34"},{"uid":"c17c6645-36"}],"importedBy":[{"uid":"c17c6645-44"}]},"c17c6645-40":{"id":"/src/impl/bind-without-prefix.js","moduleParts":{"logging.min.iife.js":"c17c6645-41"},"imported":[],"importedBy":[{"uid":"c17c6645-44"}]},"c17c6645-42":{"id":"/src/impl/bind-with-function-bind.js","moduleParts":{"logging.min.iife.js":"c17c6645-43"},"imported":[{"uid":"c17c6645-34"}],"importedBy":[{"uid":"c17c6645-44"}]},"c17c6645-44":{"id":"/src/impl/bind-logging-methods.js","moduleParts":{"logging.min.iife.js":"c17c6645-45"},"imported":[{"uid":"c17c6645-10"},{"uid":"c17c6645-20"},{"uid":"c17c6645-38"},{"uid":"c17c6645-40"},{"uid":"c17c6645-42"}],"importedBy":[{"uid":"c17c6645-46"}]},"c17c6645-46":{"id":"/src/logger.js","moduleParts":{"logging.min.iife.js":"c17c6645-47"},"imported":[{"uid":"c17c6645-0"},{"uid":"c17c6645-8"},{"uid":"c17c6645-10"},{"uid":"c17c6645-12"},{"uid":"c17c6645-14"},{"uid":"c17c6645-16"},{"uid":"c17c6645-18"},{"uid":"c17c6645-44"}],"importedBy":[{"uid":"c17c6645-54"},{"uid":"c17c6645-50"},{"uid":"c17c6645-52"}]},"c17c6645-48":{"id":"/src/impl/metadata-keys.js","moduleParts":{"logging.min.iife.js":"c17c6645-49"},"imported":[],"importedBy":[{"uid":"c17c6645-50"}]},"c17c6645-50":{"id":"/src/log.js","moduleParts":{"logging.min.iife.js":"c17c6645-51"},"imported":[{"uid":"c17c6645-2"},{"uid":"c17c6645-32"},{"uid":"c17c6645-46"},{"uid":"c17c6645-48"}],"importedBy":[{"uid":"c17c6645-54"}]},"c17c6645-52":{"id":"/src/has-logger.js","moduleParts":{"logging.min.iife.js":"c17c6645-53"},"imported":[{"uid":"c17c6645-2"},{"uid":"c17c6645-46"}],"importedBy":[{"uid":"c17c6645-54"}]},"c17c6645-54":{"id":"/src/index.js","moduleParts":{"logging.min.iife.js":"c17c6645-55"},"imported":[{"uid":"c17c6645-46"},{"uid":"c17c6645-50"},{"uid":"c17c6645-52"}],"importedBy":[],"isEntry":true}},"env":{"rollup":"4.40.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
4933
4933
|
|
|
4934
4934
|
const run = () => {
|
|
4935
4935
|
const width = window.innerWidth;
|
|
@@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {
|
|
|
4929
4929
|
</script>
|
|
4930
4930
|
<script>
|
|
4931
4931
|
/*<!--*/
|
|
4932
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"logging.iife.js","children":[{"name":"node_modules/@babel/runtime/helpers/esm","children":[{"uid":"97505e90-1","name":"classCallCheck.js"},{"uid":"97505e90-3","name":"typeof.js"},{"uid":"97505e90-5","name":"toPrimitive.js"},{"uid":"97505e90-7","name":"toPropertyKey.js"},{"uid":"97505e90-9","name":"createClass.js"},{"uid":"97505e90-23","name":"arrayLikeToArray.js"},{"uid":"97505e90-25","name":"arrayWithoutHoles.js"},{"uid":"97505e90-27","name":"iterableToArray.js"},{"uid":"97505e90-29","name":"unsupportedIterableToArray.js"},{"uid":"97505e90-31","name":"nonIterableSpread.js"},{"uid":"97505e90-33","name":"toConsumableArray.js"}]},{"name":"src","children":[{"name":"impl","children":[{"uid":"97505e90-11","name":"logging-levels.js"},{"uid":"97505e90-13","name":"check-appender.js"},{"uid":"97505e90-15","name":"check-logging-level.js"},{"uid":"97505e90-17","name":"upper-case-string.js"},{"uid":"97505e90-19","name":"is-string.js"},{"uid":"97505e90-21","name":"get-browser-engine.js"},{"uid":"97505e90-35","name":"get-logging-prefix.js"},{"uid":"97505e90-37","name":"fix-first-argument.js"},{"uid":"97505e90-39","name":"bind-with-arrow-function.js"},{"uid":"97505e90-41","name":"bind-without-prefix.js"},{"uid":"97505e90-43","name":"bind-with-function-bind.js"},{"uid":"97505e90-45","name":"bind-logging-methods.js"},{"uid":"97505e90-49","name":"metadata-keys.js"}]},{"uid":"97505e90-47","name":"logger.js"},{"uid":"97505e90-51","name":"log.js"},{"uid":"97505e90-53","name":"has-logger.js"},{"uid":"97505e90-55","name":"index.js"}]}]}],"isRoot":true},"nodeParts":{"97505e90-1":{"renderedLength":123,"gzipLength":123,"brotliLength":93,"metaUid":"97505e90-0"},"97505e90-3":{"renderedLength":351,"gzipLength":178,"brotliLength":155,"metaUid":"97505e90-2"},"97505e90-5":{"renderedLength":319,"gzipLength":201,"brotliLength":174,"metaUid":"97505e90-4"},"97505e90-7":{"renderedLength":119,"gzipLength":123,"brotliLength":95,"metaUid":"97505e90-6"},"97505e90-9":{"renderedLength":435,"gzipLength":246,"brotliLength":208,"metaUid":"97505e90-8"},"97505e90-11":{"renderedLength":463,"gzipLength":232,"brotliLength":191,"metaUid":"97505e90-10"},"97505e90-13":{"renderedLength":878,"gzipLength":469,"brotliLength":394,"metaUid":"97505e90-12"},"97505e90-15":{"renderedLength":848,"gzipLength":409,"brotliLength":331,"metaUid":"97505e90-14"},"97505e90-17":{"renderedLength":751,"gzipLength":326,"brotliLength":255,"metaUid":"97505e90-16"},"97505e90-19":{"renderedLength":690,"gzipLength":309,"brotliLength":245,"metaUid":"97505e90-18"},"97505e90-21":{"renderedLength":1225,"gzipLength":444,"brotliLength":343,"metaUid":"97505e90-20"},"97505e90-23":{"renderedLength":166,"gzipLength":145,"brotliLength":116,"metaUid":"97505e90-22"},"97505e90-25":{"renderedLength":95,"gzipLength":95,"brotliLength":94,"metaUid":"97505e90-24"},"97505e90-27":{"renderedLength":153,"gzipLength":138,"brotliLength":111,"metaUid":"97505e90-26"},"97505e90-29":{"renderedLength":414,"gzipLength":276,"brotliLength":224,"metaUid":"97505e90-28"},"97505e90-31":{"renderedLength":198,"gzipLength":167,"brotliLength":130,"metaUid":"97505e90-30"},"97505e90-33":{"renderedLength":155,"gzipLength":131,"brotliLength":105,"metaUid":"97505e90-32"},"97505e90-35":{"renderedLength":728,"gzipLength":305,"brotliLength":264,"metaUid":"97505e90-34"},"97505e90-37":{"renderedLength":263,"gzipLength":172,"brotliLength":144,"metaUid":"97505e90-36"},"97505e90-39":{"renderedLength":1522,"gzipLength":651,"brotliLength":525,"metaUid":"97505e90-38"},"97505e90-41":{"renderedLength":1365,"gzipLength":596,"brotliLength":476,"metaUid":"97505e90-40"},"97505e90-43":{"renderedLength":2173,"gzipLength":868,"brotliLength":718,"metaUid":"97505e90-42"},"97505e90-45":{"renderedLength":2944,"gzipLength":928,"brotliLength":774,"metaUid":"97505e90-44"},"97505e90-47":{"renderedLength":23076,"gzipLength":4552,"brotliLength":3900,"metaUid":"97505e90-46"},"97505e90-49":{"renderedLength":362,"gzipLength":181,"brotliLength":139,"metaUid":"97505e90-48"},"97505e90-51":{"renderedLength":4551,"gzipLength":1671,"brotliLength":1393,"metaUid":"97505e90-50"},"97505e90-53":{"renderedLength":2139,"gzipLength":816,"brotliLength":655,"metaUid":"97505e90-52"},"97505e90-55":{"renderedLength":279,"gzipLength":104,"brotliLength":93,"metaUid":"97505e90-54"}},"nodeMetas":{"97505e90-0":{"id":"/node_modules/@babel/runtime/helpers/esm/classCallCheck.js","moduleParts":{"logging.iife.js":"97505e90-1"},"imported":[],"importedBy":[{"uid":"97505e90-46"}]},"97505e90-2":{"id":"/node_modules/@babel/runtime/helpers/esm/typeof.js","moduleParts":{"logging.iife.js":"97505e90-3"},"imported":[],"importedBy":[{"uid":"97505e90-50"},{"uid":"97505e90-52"},{"uid":"97505e90-12"},{"uid":"97505e90-6"},{"uid":"97505e90-4"}]},"97505e90-4":{"id":"/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","moduleParts":{"logging.iife.js":"97505e90-5"},"imported":[{"uid":"97505e90-2"}],"importedBy":[{"uid":"97505e90-6"}]},"97505e90-6":{"id":"/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","moduleParts":{"logging.iife.js":"97505e90-7"},"imported":[{"uid":"97505e90-2"},{"uid":"97505e90-4"}],"importedBy":[{"uid":"97505e90-8"}]},"97505e90-8":{"id":"/node_modules/@babel/runtime/helpers/esm/createClass.js","moduleParts":{"logging.iife.js":"97505e90-9"},"imported":[{"uid":"97505e90-6"}],"importedBy":[{"uid":"97505e90-46"}]},"97505e90-10":{"id":"/src/impl/logging-levels.js","moduleParts":{"logging.iife.js":"97505e90-11"},"imported":[],"importedBy":[{"uid":"97505e90-46"},{"uid":"97505e90-12"},{"uid":"97505e90-14"},{"uid":"97505e90-44"}]},"97505e90-12":{"id":"/src/impl/check-appender.js","moduleParts":{"logging.iife.js":"97505e90-13"},"imported":[{"uid":"97505e90-2"},{"uid":"97505e90-10"}],"importedBy":[{"uid":"97505e90-46"}]},"97505e90-14":{"id":"/src/impl/check-logging-level.js","moduleParts":{"logging.iife.js":"97505e90-15"},"imported":[{"uid":"97505e90-10"}],"importedBy":[{"uid":"97505e90-46"}]},"97505e90-16":{"id":"/src/impl/upper-case-string.js","moduleParts":{"logging.iife.js":"97505e90-17"},"imported":[],"importedBy":[{"uid":"97505e90-46"}]},"97505e90-18":{"id":"/src/impl/is-string.js","moduleParts":{"logging.iife.js":"97505e90-19"},"imported":[],"importedBy":[{"uid":"97505e90-46"},{"uid":"97505e90-36"}]},"97505e90-20":{"id":"/src/impl/get-browser-engine.js","moduleParts":{"logging.iife.js":"97505e90-21"},"imported":[],"importedBy":[{"uid":"97505e90-44"}]},"97505e90-22":{"id":"/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","moduleParts":{"logging.iife.js":"97505e90-23"},"imported":[],"importedBy":[{"uid":"97505e90-24"},{"uid":"97505e90-28"}]},"97505e90-24":{"id":"/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","moduleParts":{"logging.iife.js":"97505e90-25"},"imported":[{"uid":"97505e90-22"}],"importedBy":[{"uid":"97505e90-32"}]},"97505e90-26":{"id":"/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","moduleParts":{"logging.iife.js":"97505e90-27"},"imported":[],"importedBy":[{"uid":"97505e90-32"}]},"97505e90-28":{"id":"/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","moduleParts":{"logging.iife.js":"97505e90-29"},"imported":[{"uid":"97505e90-22"}],"importedBy":[{"uid":"97505e90-32"}]},"97505e90-30":{"id":"/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","moduleParts":{"logging.iife.js":"97505e90-31"},"imported":[],"importedBy":[{"uid":"97505e90-32"}]},"97505e90-32":{"id":"/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","moduleParts":{"logging.iife.js":"97505e90-33"},"imported":[{"uid":"97505e90-24"},{"uid":"97505e90-26"},{"uid":"97505e90-28"},{"uid":"97505e90-30"}],"importedBy":[{"uid":"97505e90-50"},{"uid":"97505e90-38"},{"uid":"97505e90-36"}]},"97505e90-34":{"id":"/src/impl/get-logging-prefix.js","moduleParts":{"logging.iife.js":"97505e90-35"},"imported":[],"importedBy":[{"uid":"97505e90-38"},{"uid":"97505e90-42"}]},"97505e90-36":{"id":"/src/impl/fix-first-argument.js","moduleParts":{"logging.iife.js":"97505e90-37"},"imported":[{"uid":"97505e90-32"},{"uid":"97505e90-18"}],"importedBy":[{"uid":"97505e90-38"}]},"97505e90-38":{"id":"/src/impl/bind-with-arrow-function.js","moduleParts":{"logging.iife.js":"97505e90-39"},"imported":[{"uid":"97505e90-32"},{"uid":"97505e90-34"},{"uid":"97505e90-36"}],"importedBy":[{"uid":"97505e90-44"}]},"97505e90-40":{"id":"/src/impl/bind-without-prefix.js","moduleParts":{"logging.iife.js":"97505e90-41"},"imported":[],"importedBy":[{"uid":"97505e90-44"}]},"97505e90-42":{"id":"/src/impl/bind-with-function-bind.js","moduleParts":{"logging.iife.js":"97505e90-43"},"imported":[{"uid":"97505e90-34"}],"importedBy":[{"uid":"97505e90-44"}]},"97505e90-44":{"id":"/src/impl/bind-logging-methods.js","moduleParts":{"logging.iife.js":"97505e90-45"},"imported":[{"uid":"97505e90-10"},{"uid":"97505e90-20"},{"uid":"97505e90-38"},{"uid":"97505e90-40"},{"uid":"97505e90-42"}],"importedBy":[{"uid":"97505e90-46"}]},"97505e90-46":{"id":"/src/logger.js","moduleParts":{"logging.iife.js":"97505e90-47"},"imported":[{"uid":"97505e90-0"},{"uid":"97505e90-8"},{"uid":"97505e90-10"},{"uid":"97505e90-12"},{"uid":"97505e90-14"},{"uid":"97505e90-16"},{"uid":"97505e90-18"},{"uid":"97505e90-44"}],"importedBy":[{"uid":"97505e90-54"},{"uid":"97505e90-50"},{"uid":"97505e90-52"}]},"97505e90-48":{"id":"/src/impl/metadata-keys.js","moduleParts":{"logging.iife.js":"97505e90-49"},"imported":[],"importedBy":[{"uid":"97505e90-50"}]},"97505e90-50":{"id":"/src/log.js","moduleParts":{"logging.iife.js":"97505e90-51"},"imported":[{"uid":"97505e90-2"},{"uid":"97505e90-32"},{"uid":"97505e90-46"},{"uid":"97505e90-48"}],"importedBy":[{"uid":"97505e90-54"}]},"97505e90-52":{"id":"/src/has-logger.js","moduleParts":{"logging.iife.js":"97505e90-53"},"imported":[{"uid":"97505e90-2"},{"uid":"97505e90-46"}],"importedBy":[{"uid":"97505e90-54"}]},"97505e90-54":{"id":"/src/index.js","moduleParts":{"logging.iife.js":"97505e90-55"},"imported":[{"uid":"97505e90-46"},{"uid":"97505e90-50"},{"uid":"97505e90-52"}],"importedBy":[],"isEntry":true}},"env":{"rollup":"4.29.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
4932
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"logging.iife.js","children":[{"name":"node_modules/@babel/runtime/helpers/esm","children":[{"uid":"c6550b7f-1","name":"classCallCheck.js"},{"uid":"c6550b7f-3","name":"typeof.js"},{"uid":"c6550b7f-5","name":"toPrimitive.js"},{"uid":"c6550b7f-7","name":"toPropertyKey.js"},{"uid":"c6550b7f-9","name":"createClass.js"},{"uid":"c6550b7f-23","name":"arrayLikeToArray.js"},{"uid":"c6550b7f-25","name":"arrayWithoutHoles.js"},{"uid":"c6550b7f-27","name":"iterableToArray.js"},{"uid":"c6550b7f-29","name":"unsupportedIterableToArray.js"},{"uid":"c6550b7f-31","name":"nonIterableSpread.js"},{"uid":"c6550b7f-33","name":"toConsumableArray.js"}]},{"name":"src","children":[{"name":"impl","children":[{"uid":"c6550b7f-11","name":"logging-levels.js"},{"uid":"c6550b7f-13","name":"check-appender.js"},{"uid":"c6550b7f-15","name":"check-logging-level.js"},{"uid":"c6550b7f-17","name":"upper-case-string.js"},{"uid":"c6550b7f-19","name":"is-string.js"},{"uid":"c6550b7f-21","name":"get-browser-engine.js"},{"uid":"c6550b7f-35","name":"get-logging-prefix.js"},{"uid":"c6550b7f-37","name":"fix-first-argument.js"},{"uid":"c6550b7f-39","name":"bind-with-arrow-function.js"},{"uid":"c6550b7f-41","name":"bind-without-prefix.js"},{"uid":"c6550b7f-43","name":"bind-with-function-bind.js"},{"uid":"c6550b7f-45","name":"bind-logging-methods.js"},{"uid":"c6550b7f-49","name":"metadata-keys.js"}]},{"uid":"c6550b7f-47","name":"logger.js"},{"uid":"c6550b7f-51","name":"log.js"},{"uid":"c6550b7f-53","name":"has-logger.js"},{"uid":"c6550b7f-55","name":"index.js"}]}]}],"isRoot":true},"nodeParts":{"c6550b7f-1":{"renderedLength":123,"gzipLength":123,"brotliLength":93,"metaUid":"c6550b7f-0"},"c6550b7f-3":{"renderedLength":351,"gzipLength":178,"brotliLength":155,"metaUid":"c6550b7f-2"},"c6550b7f-5":{"renderedLength":319,"gzipLength":201,"brotliLength":174,"metaUid":"c6550b7f-4"},"c6550b7f-7":{"renderedLength":119,"gzipLength":123,"brotliLength":95,"metaUid":"c6550b7f-6"},"c6550b7f-9":{"renderedLength":455,"gzipLength":252,"brotliLength":202,"metaUid":"c6550b7f-8"},"c6550b7f-11":{"renderedLength":463,"gzipLength":232,"brotliLength":191,"metaUid":"c6550b7f-10"},"c6550b7f-13":{"renderedLength":878,"gzipLength":469,"brotliLength":394,"metaUid":"c6550b7f-12"},"c6550b7f-15":{"renderedLength":848,"gzipLength":409,"brotliLength":331,"metaUid":"c6550b7f-14"},"c6550b7f-17":{"renderedLength":751,"gzipLength":326,"brotliLength":255,"metaUid":"c6550b7f-16"},"c6550b7f-19":{"renderedLength":690,"gzipLength":309,"brotliLength":245,"metaUid":"c6550b7f-18"},"c6550b7f-21":{"renderedLength":1225,"gzipLength":444,"brotliLength":343,"metaUid":"c6550b7f-20"},"c6550b7f-23":{"renderedLength":166,"gzipLength":145,"brotliLength":116,"metaUid":"c6550b7f-22"},"c6550b7f-25":{"renderedLength":95,"gzipLength":95,"brotliLength":94,"metaUid":"c6550b7f-24"},"c6550b7f-27":{"renderedLength":153,"gzipLength":138,"brotliLength":111,"metaUid":"c6550b7f-26"},"c6550b7f-29":{"renderedLength":414,"gzipLength":276,"brotliLength":224,"metaUid":"c6550b7f-28"},"c6550b7f-31":{"renderedLength":198,"gzipLength":167,"brotliLength":130,"metaUid":"c6550b7f-30"},"c6550b7f-33":{"renderedLength":155,"gzipLength":131,"brotliLength":105,"metaUid":"c6550b7f-32"},"c6550b7f-35":{"renderedLength":728,"gzipLength":305,"brotliLength":264,"metaUid":"c6550b7f-34"},"c6550b7f-37":{"renderedLength":263,"gzipLength":172,"brotliLength":144,"metaUid":"c6550b7f-36"},"c6550b7f-39":{"renderedLength":1522,"gzipLength":651,"brotliLength":525,"metaUid":"c6550b7f-38"},"c6550b7f-41":{"renderedLength":1365,"gzipLength":596,"brotliLength":476,"metaUid":"c6550b7f-40"},"c6550b7f-43":{"renderedLength":2173,"gzipLength":868,"brotliLength":718,"metaUid":"c6550b7f-42"},"c6550b7f-45":{"renderedLength":2944,"gzipLength":928,"brotliLength":774,"metaUid":"c6550b7f-44"},"c6550b7f-47":{"renderedLength":23088,"gzipLength":4555,"brotliLength":3899,"metaUid":"c6550b7f-46"},"c6550b7f-49":{"renderedLength":362,"gzipLength":181,"brotliLength":139,"metaUid":"c6550b7f-48"},"c6550b7f-51":{"renderedLength":4551,"gzipLength":1671,"brotliLength":1393,"metaUid":"c6550b7f-50"},"c6550b7f-53":{"renderedLength":2139,"gzipLength":816,"brotliLength":655,"metaUid":"c6550b7f-52"},"c6550b7f-55":{"renderedLength":279,"gzipLength":104,"brotliLength":93,"metaUid":"c6550b7f-54"}},"nodeMetas":{"c6550b7f-0":{"id":"/node_modules/@babel/runtime/helpers/esm/classCallCheck.js","moduleParts":{"logging.iife.js":"c6550b7f-1"},"imported":[],"importedBy":[{"uid":"c6550b7f-46"}]},"c6550b7f-2":{"id":"/node_modules/@babel/runtime/helpers/esm/typeof.js","moduleParts":{"logging.iife.js":"c6550b7f-3"},"imported":[],"importedBy":[{"uid":"c6550b7f-50"},{"uid":"c6550b7f-52"},{"uid":"c6550b7f-12"},{"uid":"c6550b7f-6"},{"uid":"c6550b7f-4"}]},"c6550b7f-4":{"id":"/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","moduleParts":{"logging.iife.js":"c6550b7f-5"},"imported":[{"uid":"c6550b7f-2"}],"importedBy":[{"uid":"c6550b7f-6"}]},"c6550b7f-6":{"id":"/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","moduleParts":{"logging.iife.js":"c6550b7f-7"},"imported":[{"uid":"c6550b7f-2"},{"uid":"c6550b7f-4"}],"importedBy":[{"uid":"c6550b7f-8"}]},"c6550b7f-8":{"id":"/node_modules/@babel/runtime/helpers/esm/createClass.js","moduleParts":{"logging.iife.js":"c6550b7f-9"},"imported":[{"uid":"c6550b7f-6"}],"importedBy":[{"uid":"c6550b7f-46"}]},"c6550b7f-10":{"id":"/src/impl/logging-levels.js","moduleParts":{"logging.iife.js":"c6550b7f-11"},"imported":[],"importedBy":[{"uid":"c6550b7f-46"},{"uid":"c6550b7f-12"},{"uid":"c6550b7f-14"},{"uid":"c6550b7f-44"}]},"c6550b7f-12":{"id":"/src/impl/check-appender.js","moduleParts":{"logging.iife.js":"c6550b7f-13"},"imported":[{"uid":"c6550b7f-2"},{"uid":"c6550b7f-10"}],"importedBy":[{"uid":"c6550b7f-46"}]},"c6550b7f-14":{"id":"/src/impl/check-logging-level.js","moduleParts":{"logging.iife.js":"c6550b7f-15"},"imported":[{"uid":"c6550b7f-10"}],"importedBy":[{"uid":"c6550b7f-46"}]},"c6550b7f-16":{"id":"/src/impl/upper-case-string.js","moduleParts":{"logging.iife.js":"c6550b7f-17"},"imported":[],"importedBy":[{"uid":"c6550b7f-46"}]},"c6550b7f-18":{"id":"/src/impl/is-string.js","moduleParts":{"logging.iife.js":"c6550b7f-19"},"imported":[],"importedBy":[{"uid":"c6550b7f-46"},{"uid":"c6550b7f-36"}]},"c6550b7f-20":{"id":"/src/impl/get-browser-engine.js","moduleParts":{"logging.iife.js":"c6550b7f-21"},"imported":[],"importedBy":[{"uid":"c6550b7f-44"}]},"c6550b7f-22":{"id":"/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","moduleParts":{"logging.iife.js":"c6550b7f-23"},"imported":[],"importedBy":[{"uid":"c6550b7f-24"},{"uid":"c6550b7f-28"}]},"c6550b7f-24":{"id":"/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","moduleParts":{"logging.iife.js":"c6550b7f-25"},"imported":[{"uid":"c6550b7f-22"}],"importedBy":[{"uid":"c6550b7f-32"}]},"c6550b7f-26":{"id":"/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","moduleParts":{"logging.iife.js":"c6550b7f-27"},"imported":[],"importedBy":[{"uid":"c6550b7f-32"}]},"c6550b7f-28":{"id":"/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","moduleParts":{"logging.iife.js":"c6550b7f-29"},"imported":[{"uid":"c6550b7f-22"}],"importedBy":[{"uid":"c6550b7f-32"}]},"c6550b7f-30":{"id":"/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","moduleParts":{"logging.iife.js":"c6550b7f-31"},"imported":[],"importedBy":[{"uid":"c6550b7f-32"}]},"c6550b7f-32":{"id":"/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","moduleParts":{"logging.iife.js":"c6550b7f-33"},"imported":[{"uid":"c6550b7f-24"},{"uid":"c6550b7f-26"},{"uid":"c6550b7f-28"},{"uid":"c6550b7f-30"}],"importedBy":[{"uid":"c6550b7f-50"},{"uid":"c6550b7f-38"},{"uid":"c6550b7f-36"}]},"c6550b7f-34":{"id":"/src/impl/get-logging-prefix.js","moduleParts":{"logging.iife.js":"c6550b7f-35"},"imported":[],"importedBy":[{"uid":"c6550b7f-38"},{"uid":"c6550b7f-42"}]},"c6550b7f-36":{"id":"/src/impl/fix-first-argument.js","moduleParts":{"logging.iife.js":"c6550b7f-37"},"imported":[{"uid":"c6550b7f-32"},{"uid":"c6550b7f-18"}],"importedBy":[{"uid":"c6550b7f-38"}]},"c6550b7f-38":{"id":"/src/impl/bind-with-arrow-function.js","moduleParts":{"logging.iife.js":"c6550b7f-39"},"imported":[{"uid":"c6550b7f-32"},{"uid":"c6550b7f-34"},{"uid":"c6550b7f-36"}],"importedBy":[{"uid":"c6550b7f-44"}]},"c6550b7f-40":{"id":"/src/impl/bind-without-prefix.js","moduleParts":{"logging.iife.js":"c6550b7f-41"},"imported":[],"importedBy":[{"uid":"c6550b7f-44"}]},"c6550b7f-42":{"id":"/src/impl/bind-with-function-bind.js","moduleParts":{"logging.iife.js":"c6550b7f-43"},"imported":[{"uid":"c6550b7f-34"}],"importedBy":[{"uid":"c6550b7f-44"}]},"c6550b7f-44":{"id":"/src/impl/bind-logging-methods.js","moduleParts":{"logging.iife.js":"c6550b7f-45"},"imported":[{"uid":"c6550b7f-10"},{"uid":"c6550b7f-20"},{"uid":"c6550b7f-38"},{"uid":"c6550b7f-40"},{"uid":"c6550b7f-42"}],"importedBy":[{"uid":"c6550b7f-46"}]},"c6550b7f-46":{"id":"/src/logger.js","moduleParts":{"logging.iife.js":"c6550b7f-47"},"imported":[{"uid":"c6550b7f-0"},{"uid":"c6550b7f-8"},{"uid":"c6550b7f-10"},{"uid":"c6550b7f-12"},{"uid":"c6550b7f-14"},{"uid":"c6550b7f-16"},{"uid":"c6550b7f-18"},{"uid":"c6550b7f-44"}],"importedBy":[{"uid":"c6550b7f-54"},{"uid":"c6550b7f-50"},{"uid":"c6550b7f-52"}]},"c6550b7f-48":{"id":"/src/impl/metadata-keys.js","moduleParts":{"logging.iife.js":"c6550b7f-49"},"imported":[],"importedBy":[{"uid":"c6550b7f-50"}]},"c6550b7f-50":{"id":"/src/log.js","moduleParts":{"logging.iife.js":"c6550b7f-51"},"imported":[{"uid":"c6550b7f-2"},{"uid":"c6550b7f-32"},{"uid":"c6550b7f-46"},{"uid":"c6550b7f-48"}],"importedBy":[{"uid":"c6550b7f-54"}]},"c6550b7f-52":{"id":"/src/has-logger.js","moduleParts":{"logging.iife.js":"c6550b7f-53"},"imported":[{"uid":"c6550b7f-2"},{"uid":"c6550b7f-46"}],"importedBy":[{"uid":"c6550b7f-54"}]},"c6550b7f-54":{"id":"/src/index.js","moduleParts":{"logging.iife.js":"c6550b7f-55"},"imported":[{"uid":"c6550b7f-46"},{"uid":"c6550b7f-50"},{"uid":"c6550b7f-52"}],"importedBy":[],"isEntry":true}},"env":{"rollup":"4.40.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
4933
4933
|
|
|
4934
4934
|
const run = () => {
|
|
4935
4935
|
const width = window.innerWidth;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qubit-ltd/logging",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"description": "A simple JavaScript logging framework",
|
|
5
5
|
"author": "Haixing Hu",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,9 @@
|
|
|
44
44
|
"lint": "eslint ./src ./test",
|
|
45
45
|
"doc": "jsdoc -c jsdoc.json",
|
|
46
46
|
"es5": "check-es-version -e 5 -s true",
|
|
47
|
-
"deploy": "npm run lint && npm run test && npm run build:all && npm publish --registry='https://
|
|
47
|
+
"deploy": "npm run lint && npm run test && npm run build:all && npm publish --registry='https://npm.qubit.ltd/' --access public",
|
|
48
|
+
"deploy:public": "npm run lint && npm run test && npm run build:all && npm publish --registry='https://registry.npmjs.org/' --access public",
|
|
49
|
+
"deploy:all": "npm run deploy && npm run deploy:public"
|
|
48
50
|
},
|
|
49
51
|
"browserify": {
|
|
50
52
|
"transform": [
|
|
@@ -52,30 +54,30 @@
|
|
|
52
54
|
]
|
|
53
55
|
},
|
|
54
56
|
"dependencies": {
|
|
55
|
-
"@babel/runtime": "^7.
|
|
57
|
+
"@babel/runtime": "^7.27.0"
|
|
56
58
|
},
|
|
57
59
|
"devDependencies": {
|
|
58
|
-
"@babel/core": "^7.26.
|
|
59
|
-
"@babel/eslint-parser": "^7.
|
|
60
|
+
"@babel/core": "^7.26.10",
|
|
61
|
+
"@babel/eslint-parser": "^7.27.0",
|
|
60
62
|
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
61
63
|
"@babel/plugin-transform-class-properties": "^7.25.9",
|
|
62
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
63
|
-
"@babel/preset-env": "^7.26.
|
|
64
|
-
"@babel/runtime": "^7.
|
|
65
|
-
"@haixing_hu/clone": "^1.12.
|
|
66
|
-
"@haixing_hu/naming-style": "^1.3.
|
|
67
|
-
"@haixing_hu/type-detect": "^1.2.
|
|
68
|
-
"@haixing_hu/typeinfo": "^3.1.
|
|
69
|
-
"@haixing_hu/vue3-class-component": "^2.3.
|
|
64
|
+
"@babel/plugin-transform-runtime": "^7.26.10",
|
|
65
|
+
"@babel/preset-env": "^7.26.9",
|
|
66
|
+
"@babel/runtime": "^7.27.0",
|
|
67
|
+
"@haixing_hu/clone": "^1.12.2",
|
|
68
|
+
"@haixing_hu/naming-style": "^1.3.3",
|
|
69
|
+
"@haixing_hu/type-detect": "^1.2.2",
|
|
70
|
+
"@haixing_hu/typeinfo": "^3.1.2",
|
|
71
|
+
"@haixing_hu/vue3-class-component": "^2.3.1",
|
|
70
72
|
"@jest/core": "^29.7.0",
|
|
71
|
-
"@qubit-ltd/eslint-config": "^1.3.
|
|
72
|
-
"@qubit-ltd/jsdoc-minami": "^1.5.
|
|
73
|
-
"@qubit-ltd/rollup-builder": "^1.8.
|
|
73
|
+
"@qubit-ltd/eslint-config": "^1.3.4",
|
|
74
|
+
"@qubit-ltd/jsdoc-minami": "^1.5.2",
|
|
75
|
+
"@qubit-ltd/rollup-builder": "^1.8.9",
|
|
74
76
|
"@rollup/plugin-alias": "^5.1.1",
|
|
75
77
|
"@rollup/plugin-babel": "^6.0.4",
|
|
76
|
-
"@rollup/plugin-commonjs": "^
|
|
78
|
+
"@rollup/plugin-commonjs": "^28.0.3",
|
|
77
79
|
"@rollup/plugin-json": "^6.1.0",
|
|
78
|
-
"@rollup/plugin-node-resolve": "^
|
|
80
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
79
81
|
"@rollup/plugin-terser": "^0.4.4",
|
|
80
82
|
"@vue/compiler-dom": "^3.5.13",
|
|
81
83
|
"@vue/compiler-sfc": "^3.5.13",
|
|
@@ -83,20 +85,20 @@
|
|
|
83
85
|
"@vue/test-utils": "^2.4.6",
|
|
84
86
|
"@vue/vue3-jest": "^29.2.6",
|
|
85
87
|
"babel-jest": "^29.7.0",
|
|
86
|
-
"check-es-version": "^1.5.
|
|
87
|
-
"core-js": "^3.
|
|
88
|
+
"check-es-version": "^1.5.1",
|
|
89
|
+
"core-js": "^3.41.0",
|
|
88
90
|
"cross-env": "^7.0.3",
|
|
89
91
|
"eslint": "^8.57.1",
|
|
90
92
|
"eslint-plugin-import": "^2.31.0",
|
|
91
|
-
"eslint-plugin-vue": "^9.
|
|
93
|
+
"eslint-plugin-vue": "^9.33.0",
|
|
92
94
|
"jest": "^29.7.0",
|
|
93
95
|
"jest-environment-jsdom": "^29.7.0",
|
|
94
96
|
"jest-environment-jsdom-global": "^4.0.0",
|
|
95
97
|
"jest-extended": "^4.0.2",
|
|
96
98
|
"jsdoc": "^4.0.4",
|
|
97
|
-
"rollup": "^4.
|
|
99
|
+
"rollup": "^4.40.0",
|
|
98
100
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
99
|
-
"rollup-plugin-visualizer": "^5.
|
|
101
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
|
100
102
|
"vue": "^3.5.13"
|
|
101
103
|
},
|
|
102
104
|
"packageManager": "yarn@4.5.0"
|