mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
- Created migration script to replace console.log/info/error/warn/debug with Log methods - Replaced 584 console calls across 89 files: - console.log → Log.log (385 occurrences) - console.info → Log.info (4 occurrences) - console.error → Log.err (107 occurrences) - console.warn → Log.err (87 occurrences) - console.debug → Log.debug (1 occurrence) - Added appropriate import statements for Log - Removed unused Log imports from files with only commented-out usage - Fixed all linting errors All logging now goes through our centralized Log class which: - Records logs to history for export/download - Provides consistent log level filtering - Supports context-aware logging - Trade-off: Line numbers show log.ts instead of actual location |
||
|---|---|---|
| .. | ||
| migrate-console-to-log.ts | ||
| remove-unused-log-imports.ts | ||