DRY(Don't Repeat Yourself) printf style debugging