Fixed bug in example callbacks to correctly log success/fail

Conditional statements had the if/else clause the wrong way around.
Merge pull request #5 from Sherlock92/patch-1

Fixed bug in example callbacks to correctly log success/fail