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

+7
View File
@@ -20,4 +20,11 @@ def cvtColor(src: Any, code: int, dst: Any = ..., dstCn: int = ...) -> Any: ...
def resize(src: Any, dsize: Tuple[int, int], dst: Any = ..., fx: float = ..., fy: float = ..., interpolation: int = ...) -> Any: ...
def matchTemplate(image: Any, templ: Any, method: int, result: Any = ..., mask: Any = ...) -> Any: ...
def minMaxLoc(src: Any, mask: Any = ...) -> Tuple[float, float, Tuple[int, int], Tuple[int, int]]: ...
def imwrite(filename: str, img: Any, params: Any = ...) -> bool: ...
def setLogLevel(level: int) -> None: ...
class utils:
class logging:
LOG_LEVEL_SILENT: int
def setLogLevel(level: int) -> None: ...
def equalizeHist(src: Any, dst: Any = ...) -> Any: ...