Lightweight trace utilities for logging and debugging.