Class Debugger
Debugger: displays and logs errors.
final public
|
|
public static
|
|
public static
|
|
public static
|
|
public static
boolean
|
|
public static
|
|
public static
|
#
exceptionHandler(
Handler to catch uncaught exception. |
public static
boolean|null
|
#
errorHandler( $severity, $message, $file, $line, $context = [] )
Handler to catch warnings and notices. |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
mixed
|
|
public static
float
|
|
public static
mixed
|
|
public static
mixed
|
|
public static
boolean
|
|
public static
boolean
|
string |
VERSION
|
# '2.5.2' |
boolean |
DEVELOPMENT
server modes for Debugger::enable() |
# false |
boolean |
PRODUCTION
server modes for Debugger::enable() |
# true |
|
DETECT
server modes for Debugger::enable() |
# null |
string |
COOKIE_SECRET
|
# 'tracy-debug' |
string |
DEBUG
for Debugger::log() and Debugger::fireLog() |
|
string |
INFO
for Debugger::log() and Debugger::fireLog() |
|
string |
WARNING
for Debugger::log() and Debugger::fireLog() |
|
string |
ERROR
for Debugger::log() and Debugger::fireLog() |
|
string |
EXCEPTION
for Debugger::log() and Debugger::fireLog() |
|
string |
CRITICAL
for Debugger::log() and Debugger::fireLog() |
public static
boolean
|
$productionMode
in production mode is suppressed any debugging output |
|
public static
boolean
|
$showBar
whether to display debug bar in development mode |
# true |
public static
boolean
|
$showFireLogger
whether to send data to FireLogger in development mode |
# true |
public static
boolean|integer
|
$strictMode
determines whether any error will cause immediate death in development mode; if integer that it's matched against error severity |
# false |
public static
boolean
|
$scream
disables the @ (shut-up) operator so that notices and warnings are no longer hidden |
# false |
public static
callable[]
|
$onFatalError
functions that are automatically called after fatal error |
# [] |
public static
integer
|
$maxDepth
how many nested levels of array/object properties display by dump() |
# 3 |
public static
integer
|
$maxLength
how long strings display by dump() |
# 150 |
public static
boolean
|
$showLocation
display location by dump()? |
# false |
public static
integer
|
$maxLen
|
# 150 |
public static
string|null
|
$logDirectory
name of the directory where errors should be logged |
|
public static
integer
|
$logSeverity
log bluescreen in production mode for this error severity |
# 0 |
public static
string|array
|
$email
email(s) to which send error notifications |
|
public static
integer
|
$time
timestamp with microseconds of the start of the request |
|
public static
string
|
$editor
URI pattern mask to open editor |
# 'editor://%action/?file=%file&line=%line&search=%search&replace=%replace' |
public static
array
|
$editorMapping
replacements in path |
# [] |
public static
string
|
$browser
command to open browser (use 'start ""' in Windows) |
|
public static
string
|
$errorTemplate
custom static error template |
|
public static
string[]
|
$customCssFiles
|
# [] |
public static
string[]
|
$customJsFiles
|
# [] |