mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-20 23:22:05 +08:00
* 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. |
||
|---|---|---|
| .. | ||
| db.settings.md | ||
| how-to-use-logger-en.md | ||
| how-to-use-logger-zh.md | ||
| how-to-use-messageBlock.md | ||
| how-to-use-messageThunk.md | ||
| how-to-use-useMessageOperations.md | ||
| how-to-write-middlewares.md | ||
| KnowledgeService.md | ||
| message-lifecycle.png | ||
| Message.md | ||