Commit graph

8 commits

Author SHA1 Message Date
Johannes Millan
9c20096bb8 refactor: replace SyncLog with PFLog in pfapi directory
- Replace all SyncLog calls with PFLog throughout pfapi
- Modified 24 files with 246 total changes
- All pfapi logs now consistently use PFLog with [pf] context prefix
- Fixed duplicate import in model-ctrl.ts
2025-07-10 14:55:26 +02:00
Johannes Millan
1bac5f9280 refactor: migrate all android logs to DroidLog context
- Replace all Log.* calls with DroidLog.* in android-related files
- Modified 3 files with logging changes
- All android-related logs now have [droid] context prefix
2025-07-10 14:53:19 +02:00
Johannes Millan
53bc1af61c refactor: migrate all issue logs to IssueLog context
- Replace all Log.* calls with IssueLog.* in features/issue directory
- Modified 17 files with 42 total changes
- All issue-related logs now have [issue] context prefix
- Fixed unused Log import in jira-api.service.ts
2025-07-10 14:46:28 +02:00
Johannes Millan
de3d1106bd refactor: use PFLog for all logging in pfapi directory
- Replaced all Log.* calls with PFLog.* in pfapi directory
- Modified 24 files with 106 total changes
- All pfapi-related logs now have [pf] context prefix

This ensures consistent context-aware logging for all persistence framework
operations, making it easier to filter and debug data-related issues.
2025-07-10 14:35:56 +02:00
Johannes Millan
5007038fe8 refactor: use PluginLog for all logging in plugins directory
- Replaced all Log.* calls with PluginLog.* in plugins directory
- Modified 14 files with 179 total changes
- Removed unused Log imports
- All plugin-related logs now have [plugin] context prefix

This ensures consistent context-aware logging for all plugin operations,
making it easier to filter and debug plugin-related issues.
2025-07-10 14:32:37 +02:00
Johannes Millan
fd099ed4a1 fix: remove duplicate Log imports
- Fixed duplicate imports in 3 files:
  - language.service.ts
  - indexed-db-adapter.service.ts
  - global-theme.service.ts
- Created script to detect and fix duplicate imports automatically
- Build errors resolved
2025-07-10 14:28:03 +02:00
Johannes Millan
581d41cc0c refactor: complete migration from console.* to Log methods
- Replaced remaining 100 console.* calls across 100 files
- Fixed all console.log, console.error, console.warn calls
- Removed unused Log imports from 18 files
- Created force migration script to handle all edge cases
- All non-test files now use centralized Log class

Benefits:
- All application logs are now recorded for export
- Consistent log level filtering
- Better debugging with log history
- Centralized logging configuration
2025-07-10 14:25:02 +02:00
Johannes Millan
97f96f2393 refactor: replace console.* with Log methods throughout codebase
- 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
2025-07-10 14:15:56 +02:00