Class

eZDebug

class eZDebug

Constants

LEVEL_NOTICE

LEVEL_WARNING

LEVEL_ERROR

LEVEL_TIMING_POINT

LEVEL_DEBUG

LEVEL_STRICT

SHOW_NOTICE

SHOW_WARNING

SHOW_ERROR

SHOW_TIMING_POINT

SHOW_DEBUG

SHOW_STRICT

SHOW_ALL

HANDLE_NONE

HANDLE_FROM_PHP

HANDLE_TO_PHP

HANDLE_EXCEPTION

OUTPUT_MESSAGE_SCREEN

OUTPUT_MESSAGE_STORE

MAX_LOGFILE_SIZE

MAX_LOGROTATE_FILES

XDEBUG_SIGNATURE

Properties

$DebugStrings
$TimePoints
$TmpTimePoints
$TimeAccumulatorList
$ShowTypes
$HandleType
$OutputFormat
$LogFiles
$TimingAccuracy
$PercentAccuracy
$UseCSS
$MessageOutput
$MessageTypes
$LogFileEnabled
$GlobalLogFileEnabled
$ScriptStart
$ScriptStop
$OverrideList
$bottomReportsList
$topReportsList

Methods

__construct()

reset()

messageName($messageType)

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

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

setMessageOutput($output)

setStoreLog($store)

write($string, $verbosityLevel = self::LEVEL_NOTICE, $label = '', $backgroundClass = '', $alwaysLog = false)

writeFile($logFileData, $string, $verbosityLevel, $alwaysLog = false)

isLogFileEnabled($type)

isGlobalLogFileEnabled()

setIsLogFileEnabled($type, $enabled)

setIsGlobalLogFileEnabled($enabled)

setLogOnly($enabled)

messageTypes()

logFiles()

printReportInternal($as_html = true, $returnReport = true, $allowedDebugLevels = false, $useAccumulators = true, $useTiming = true, $useIncludedFiles = false)

isDebugAllowed()

static  exceptionErrorHandler($errno, $errstr, $errfile, $errline)

Exception based error handler, very basic

Details

at line 89
public __construct()

at line 173
public reset()

at line 190
public messageName($messageType)

Parameters

$messageType

at line 308
public recursionProtectErrorHandler($errno, $errstr, $errfile, $errline)

Parameters

$errno
$errstr
$errfile
$errline

at line 328
public errorHandler($errno, $errstr, $errfile, $errline)

Parameters

$errno
$errstr
$errfile
$errline

at line 661
public setMessageOutput($output)

Parameters

$output

at line 666
public setStoreLog($store)

Parameters

$store

at line 713
public write($string, $verbosityLevel = self::LEVEL_NOTICE, $label = '', $backgroundClass = '', $alwaysLog = false)

Parameters

$string
$verbosityLevel
$label
$backgroundClass
$alwaysLog

at line 876
public writeFile($logFileData, $string, $verbosityLevel, $alwaysLog = false)

Parameters

$logFileData
$string
$verbosityLevel
$alwaysLog

at line 961
public isLogFileEnabled($type)

Parameters

$type

at line 972
public isGlobalLogFileEnabled()

at line 981
public setIsLogFileEnabled($type, $enabled)

Parameters

$type
$enabled

at line 990
public setIsGlobalLogFileEnabled($enabled)

Parameters

$enabled

at line 998
public setLogOnly($enabled)

Parameters

$enabled

at line 1006
public messageTypes()

at line 1015
public logFiles()

at line 1422
public printReportInternal($as_html = true, $returnReport = true, $allowedDebugLevels = false, $useAccumulators = true, $useTiming = true, $useIncludedFiles = false)

Parameters

$as_html
$returnReport
$allowedDebugLevels
$useAccumulators
$useTiming
$useIncludedFiles

at line 1890
public isDebugAllowed()

at line 1969
static public exceptionErrorHandler($errno, $errstr, $errfile, $errline)

Exception based error handler, very basic

Parameters

$errno
$errstr
$errfile
$errline

Exceptions

ErrorException