Add a debug log helper.