devlog-ui 0.1.7 → 1.1.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/README.md +6 -0
- package/dist/index.cjs +351 -77
- package/dist/index.d.ts +6 -0
- package/dist/index.js +942 -558
- package/dist/noop.cjs +1 -1
- package/dist/noop.d.ts +9 -0
- package/dist/noop.js +14 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,6 +71,9 @@ logger.configure({
|
|
|
71
71
|
maxLogs: 1000, // Max logs in memory (FIFO rotation)
|
|
72
72
|
minLevel: "debug", // Minimum level: 'debug' | 'info' | 'warn' | 'error'
|
|
73
73
|
enabled: true, // Enable/disable logging
|
|
74
|
+
shortcutAction: "toggle", // Ctrl+Shift+L: 'toggle' | 'popout'
|
|
75
|
+
showToggleButton: true, // Show the floating toggle button
|
|
76
|
+
spanCollapsed: false, // Collapse span groups by default
|
|
74
77
|
});
|
|
75
78
|
```
|
|
76
79
|
|
|
@@ -561,6 +564,9 @@ interface LoggerConfig {
|
|
|
561
564
|
maxLogs?: number;
|
|
562
565
|
minLevel?: LogLevel;
|
|
563
566
|
enabled?: boolean;
|
|
567
|
+
shortcutAction?: "toggle" | "popout";
|
|
568
|
+
showToggleButton?: boolean;
|
|
569
|
+
spanCollapsed?: boolean;
|
|
564
570
|
}
|
|
565
571
|
|
|
566
572
|
interface ExportOptions {
|