1
0
Эх сурвалжийг харах

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 долоо хоног өмнө
parent
commit
336e01590f

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 170 - 161
dune-weaver-touch/backend.py


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно