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}")