Quote argument to logger - avoid errors with '>' characters.