Created
March 18, 2015 07:38
-
-
Save amitaibu/c896da4fdd61526b32dd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/** | |
* Implements hook_watchdog(). | |
*/ | |
function example_user_watchdog(array $log_entry) { | |
if ($log_entry['message'] != 'Session opened for %name.') { | |
return; | |
} | |
logs_http_register_event($log_entry); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment