/[drupal]/contributions/modules/import_html/coders_php_library/debug.inc
ViewVC logotype

Diff of /contributions/modules/import_html/coders_php_library/debug.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.17.2.7, Sat May 9 14:16:30 2009 UTC revision 1.17.2.8, Wed Sep 9 06:47:22 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: debug.inc,v 1.17.2.6 2009/05/09 12:45:15 dman Exp $  // $Id: debug.inc,v 1.17.2.7 2009/05/09 14:16:30 dman Exp $
3  /**  /**
4   * @file   * @file
5   * Small library of diagnostic feedback stuff.   * Small library of diagnostic feedback stuff.
# Line 21  Line 21 
21  function import_html_debug($message, $variables = array(), $severity = WATCHDOG_DEBUG) {  function import_html_debug($message, $variables = array(), $severity = WATCHDOG_DEBUG) {
22    $debuglevel = import_html_variable('debug_level');    $debuglevel = import_html_variable('debug_level');
23    if (empty($debuglevel) && ($severity >= WATCHDOG_DEBUG)) return;    if (empty($debuglevel) && ($severity >= WATCHDOG_DEBUG)) return;
24      if (! is_array($variables)) {
25        trigger_error("Incorrect code call to import_html_debug ($message)");
26      }
27    
28    watchdog('Import HTML', $message, $variables, $severity);    watchdog('Import HTML', $message, $variables, $severity);
29  }  }
30    

Legend:
Removed from v.1.17.2.7  
changed lines
  Added in v.1.17.2.8

  ViewVC Help
Powered by ViewVC 1.1.2