Add log helper to make logging more consistent