Added logging to given-when-then syntax