cherry-studio/docs/technical
fullex 7764ffc8bb
refactor[Logger]: replace console logging with logger service (#8271)
* refactor: replace console logging with logger service across multiple components

- Updated various files to utilize the logger service instead of console.log for improved logging consistency and error tracking.
- Enhanced logging levels to better categorize messages, including debug and error levels.
- Refactored logging in components such as ApiClientFactory, KnowledgeService, and MemoryProcessor to align with the new logging standards.

* refactor: update logging level in App component from error to info

- Changed the logging level in the App component to provide a more appropriate context for initialization messages, enhancing clarity in the logging output.

* refactor(logging): replace console.log with logger service in middleware and update ESLint comments

- Updated the logging implementation in the createSimpleLoggingMiddleware function to use logger.debug and logger.error instead of console.log and console.error for improved logging consistency.
- Added eslint-disable comments for restricted syntax in preload and useAppInit hooks to suppress warnings.
2025-07-18 16:01:03 +08:00
..
db.settings.md refactor(translate): Language Type (#7727) 2025-07-07 22:08:56 +08:00
how-to-use-logger-en.md refactor: Unified Logger / 统一日志管理 (#8207) 2025-07-18 09:40:56 +08:00
how-to-use-logger-zh.md refactor: Unified Logger / 统一日志管理 (#8207) 2025-07-18 09:40:56 +08:00
how-to-use-messageBlock.md feat: 添加 messageBlock、messageThunk 和 useMessageOperations 使用指南文档 2025-04-29 15:14:55 +08:00
how-to-use-messageThunk.md feat: 添加 messageBlock、messageThunk 和 useMessageOperations 使用指南文档 2025-04-29 15:14:55 +08:00
how-to-use-useMessageOperations.md feat: 添加 messageBlock、messageThunk 和 useMessageOperations 使用指南文档 2025-04-29 15:14:55 +08:00
how-to-write-middlewares.md refactor[Logger]: replace console logging with logger service (#8271) 2025-07-18 16:01:03 +08:00
KnowledgeService.md docs: Add comprehensive documentation for KnowledgeService concurrent processing mechanism 2025-03-02 20:36:13 +08:00
message-lifecycle.png refactor: message block structure (#4660) 2025-04-29 14:12:07 +08:00
Message.md refactor: message block structure (#4660) 2025-04-29 14:12:07 +08:00