unified printf output (for logging)