eZPublish  3.8
ezdebug.php File Reference

Classes

class  eZDebug
 Advanced debug/log system. More...
 

Functions

 eZDebugErrorHandler ($errno, $errstr, $errfile, $errline)
 

Variables

 $GLOBALS ['eZDebugRecursionFlag'] = false
 
const EZ_DEBUG_MAX_LOGFILE_SIZE 200*1024
 
const EZ_DEBUG_MAX_LOGROTATE_FILES 3
 
const EZ_DEBUG_XDEBUG_SIGNATURE '--XDEBUG--'
 
const EZ_HANDLE_FROM_PHP 1
 
const EZ_HANDLE_NONE 0
 
const EZ_HANDLE_TO_PHP 2
 
const EZ_LEVEL_DEBUG 5
 
const EZ_LEVEL_ERROR 3
 
const EZ_LEVEL_NOTICE 1
 
const EZ_LEVEL_TIMING_POINT 4
 
const EZ_LEVEL_WARNING 2
 
const EZ_OUTPUT_MESSAGE_SCREEN 1
 
const EZ_OUTPUT_MESSAGE_STORE 2
 
const EZ_SHOW_ALL EZ_SHOW_NOTICE | EZ_SHOW_WARNING | EZ_SHOW_ERROR | EZ_SHOW_TIMING_POINT | EZ_SHOW_DEBUG
 
const EZ_SHOW_DEBUG 1 << (EZ_LEVEL_DEBUG - 1)
 
const EZ_SHOW_ERROR 1 << (EZ_LEVEL_ERROR - 1)
 
const EZ_SHOW_NOTICE 1 << (EZ_LEVEL_NOTICE - 1)
 
const EZ_SHOW_TIMING_POINT 1 << (EZ_LEVEL_TIMING_POINT - 1)
 
const EZ_SHOW_WARNING 1 << (EZ_LEVEL_WARNING - 1)
 

Function Documentation

eZDebugErrorHandler (   $errno,
  $errstr,
  $errfile,
  $errline 
)

Helper function for eZDebug, called whenever a PHP error occurs. The error is then handled by the eZDebug class.

Variable Documentation

$GLOBALS['eZDebugRecursionFlag'] = false
const EZ_DEBUG_MAX_LOGFILE_SIZE 200*1024

Referenced by eZDebug\maxLogSize().

const EZ_DEBUG_MAX_LOGROTATE_FILES 3
const EZ_DEBUG_XDEBUG_SIGNATURE '--XDEBUG--'
const EZ_HANDLE_FROM_PHP 1
const EZ_OUTPUT_MESSAGE_SCREEN 1

Referenced by eZDebug\write().

const EZ_OUTPUT_MESSAGE_STORE 2

Referenced by eZDebug\eZDebug(), and eZDebug\write().

const EZ_SHOW_DEBUG 1 << (EZ_LEVEL_DEBUG - 1)

Referenced by eZDebug\writeDebug().

const EZ_SHOW_ERROR 1 << (EZ_LEVEL_ERROR - 1)

Referenced by eZDebug\writeError().

const EZ_SHOW_NOTICE 1 << (EZ_LEVEL_NOTICE - 1)

Referenced by eZDebug\writeNotice().

const EZ_SHOW_TIMING_POINT 1 << (EZ_LEVEL_TIMING_POINT - 1)

Referenced by eZDebug\addTimingPoint().

const EZ_SHOW_WARNING 1 << (EZ_LEVEL_WARNING - 1)

Referenced by eZDebug\writeWarning().