Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 568 Bytes

logging.md

File metadata and controls

22 lines (17 loc) · 568 Bytes

Logging Guidelines

Requirements

TSignal requires Python 3.10 or higher.

TSignal uses Python's standard logging module with the following levels:

  • DEBUG: Detailed information about signal-slot connections and emissions
  • INFO: Important state changes and major events
  • WARNING: Potential issues that don't affect functionality
  • ERROR: Exceptions and failures

To enable debug logging in tests:

TSIGNAL_DEBUG=1 pytest

Configure logging in your application:

import logging
logging.getLogger('tsignal').setLevel(logging.INFO)