You are here

function devel_debug_log_callback in Devel Debug Log 7

Menu callback; Retrieve a JSON object containing data for the debug messages page.

1 string reference to 'devel_debug_log_callback'
devel_debug_log_menu in ./devel_debug_log.module
Implements hook_menu().

File

./devel_debug_log.module, line 109
Creates a page that shows debug messages.

Code

function devel_debug_log_callback() {
  $message_table = devel_debug_log_get_messages_table();
  $data = array(
    'content' => drupal_render($message_table),
  );
  drupal_json_output($data);
}