feat: added centralized winston logger with daily rotation for debugging
- Added centralized file logger with winston and daily rotation to ~/.pi/logs/ directory. - Exposed logger property to hook and custom tool APIs for extension logging. - Replaced silent error suppression with debug/warning logging across 20+ catch blocks. - Removed separate Exa error logger in favor of centralized logging system.
This commit is contained in:
@@ -53,7 +53,9 @@
|
||||
"highlight.js": "^11.11.1",
|
||||
"marked": "^15.0.12",
|
||||
"minimatch": "^10.1.1",
|
||||
"strip-ansi": "^7.1.2"
|
||||
"strip-ansi": "^7.1.2",
|
||||
"winston": "^3.17.0",
|
||||
"winston-daily-rotate-file": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/diff": "^7.0.2",
|
||||
|
||||
Reference in New Issue
Block a user