function messaging_log in Messaging 5
Same name and namespace in other branches
- 6.4 messaging.module \messaging_log()
- 6 messaging.module \messaging_log()
- 6.2 messaging.module \messaging_log()
- 6.3 messaging.module \messaging_log()
- 7 messaging.module \messaging_log()
Log facility for debugging
2 calls to messaging_log()
- messaging_debug_footer in messaging_debug/
messaging_debug.module - Implementation of hook_footer()
- messaging_debug_send_msg in messaging_debug/
messaging_debug.module - Just show message title to the user.
3 string references to 'messaging_log'
- messaging_admin_settings in ./
messaging.module - Admin settings form
- messaging_message_send in ./
messaging.module - Send message to array of destinations. The message is rendered just once.
- messaging_uninstall in ./
messaging.install - Implementation of hook_uninstall().
File
- ./
messaging.module, line 950
Code
function messaging_log($txt = NULL) {
static $logs;
if ($txt) {
$logs[] = $txt;
}
else {
return $logs;
}
}