Code snippets from Drupal Watchdog Summer 2014 issue.