debugging and error reporting level fixes and improvements MDL-6671

This commit is contained in:
skodak
2006-09-23 09:38:39 +00:00
parent b8547480b7
commit 7eb0b60a1f
16 changed files with 69 additions and 41 deletions
+12 -1
View File
@@ -213,6 +213,17 @@ define('PARAM_SEQUENCE', 0x8000);
*/
define('PAGE_COURSE_VIEW', 'course-view');
/// Debug levels ///
/** no warnings at all */
define ('DEBUG_NONE', 0);
/** E_ERROR | E_PARSE */
define ('DEBUG_MINIMAL', 5);
/** E_ERROR | E_PARSE | E_WARNING | E_NOTICE */
define ('DEBUG_NORMAL', 15);
/** E_ALL without E_STRICT and E_RECOVERABLE_ERROR for now */
define ('DEBUG_ALL', 2047);
/** DEBUG_ALL with extra Moodle debug messages - (DEBUG_ALL | 32768) */
define ('DEBUG_DEVELOPER', 34815);
/// PARAMETER HANDLING ////////////////////////////////////////////////////
@@ -6698,4 +6709,4 @@ function loadeditor($args) {
// vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140:
?>
?>