Improve log helper.