Skip to content

Instantly share code, notes, and snippets.

@mikepmunroe
Created February 5, 2013 20:01
Show Gist options
  • Save mikepmunroe/4717160 to your computer and use it in GitHub Desktop.
Save mikepmunroe/4717160 to your computer and use it in GitHub Desktop.
Quick and dirty Drupal 6 watchdog example that outputs $var data with the message
watchdog('module name', 'message information' . var_export($var, TRUE), WATCHDOG_INFO);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment