Changed the way strings are passed to the logger