feat: Add logging and error handling enhancements

- Introduced new logging modules for action tracking, error logging, and performance tracking to improve observability.
- Added functions for retrieving debug and error log paths in `path_config.py`.
- Updated various components to utilize the new logging system, enhancing error handling and performance diagnostics.
- Implemented a GUI component for viewing error logs, improving user experience in monitoring application issues.
- Cleaned up unnecessary blank lines and improved code readability across multiple files.
This commit is contained in:
Your Name committed 2025-12-29 20:48:09 +08:00
1 parent bdf9312bc9
commit efe6e2252f
48 files changed
+2165 -320

No files matched your search

-2
View File
@@ -9,7 +9,6 @@ from .ocr_operations import (
analyse_pic_digits,
extract_ocr_content,
_ensure_ocr,
_detect_gpu_available,
)
from .screenshot_operations import (
get_screenshot,
@@ -33,7 +32,6 @@ __all__ = [
"analyse_pic_digits",
"extract_ocr_content",
"_ensure_ocr",
"_detect_gpu_available",
# 截图相关
"get_screenshot",
"_find_pic_path",