Last active
November 18, 2016 07:24
-
-
Save arpitr/911ea2cc96ce1dd3154c to your computer and use it in GitHub Desktop.
Drupal Watchdog Object
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('custom_debug', 'Debug Global User Object for @user_name, user object: !user', array('@' => $user->name, '!node' => '<pre>' . check_plain(print_r($user, TRUE)) . '</pre>'), WATCHDOG_ERROR); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment