Просмотр исходного кода

refactor(touch): replace print statements with proper logging

- Added Python logging module with INFO level by default
- Converted 227 print statements to appropriate log levels:
  - DEBUG: Verbose info (API requests/responses, file searches, screen state)
  - INFO: Normal operations (connections, pattern execution, settings changes)
  - WARNING: Non-critical issues (timeouts, missing resources)
  - ERROR: Failures and exceptions
- Removed emojis from log messages for cleaner output
- Log format: HH:MM:SS [LEVEL] message

To enable debug logging, set: logging.getLogger("DuneWeaver").setLevel(logging.DEBUG)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
tuanchris 1 неделя назад
Родитель
Сommit
336e01590f
1 измененных файлов с 170 добавлено и 161 удалено
  1. 170 161
      dune-weaver-touch/backend.py

Разница между файлами не показана из-за своего большого размера
+ 170 - 161
dune-weaver-touch/backend.py


Некоторые файлы не были показаны из-за большого количества измененных файлов