Files
Smartwave/shared/logging.py
T
2026-08-23 17:48:04 +02:00

6 lines
172 B
Python

from shared.config import DEBUG_MESSAGES
def log(message):
"""Log a message to the console if DEBUG is enabled."""
if DEBUG_MESSAGES:
print(f"\n{message}")