Last active
March 11, 2016 10:09
-
-
Save arpitr/6a2286b9b49b35734db8 to your computer and use it in GitHub Desktop.
Drupal Watchdog Objects and Array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watchdog('module_name', 'Your Object: !object', array('!object' => '<pre>' . check_plain(print_r($object, TRUE)) . '</pre>'), WATCHDOG_ERROR); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment