Class Debugger
Debugger: displays and logs errors.
Behavior is determined by two factors: mode & output
- modes: production / development
- output: HTML / AJAX / CLI / other (e.g. XML)
Direct known subclasses
Nette\Diagnostics\Debugger
final public
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
boolean
|
|
public static
string
|
#
log( string|
Logs message or exception to file (if not disabled) and sends email notification (if enabled). |
public static
mixed
|
|
public static
float
|
|
public static
mixed
|
|
public static
boolean
|
string |
VERSION
|
'2.2.9' |
|
boolean |
DEVELOPMENT
|
FALSE |
#
server modes |
boolean |
PRODUCTION
|
TRUE |
#
server modes |
|
DETECT
|
NULL |
#
server modes |
string |
DEBUG
|
'debug' |
|
string |
INFO
|
'info' |
|
string |
WARNING
|
'warning' |
|
string |
ERROR
|
'error' |
|
string |
EXCEPTION
|
'exception' |
|
string |
CRITICAL
|
'critical' |
public static
string
|
$version |
|
|
public static
boolean
|
$productionMode |
|
#
in production mode is suppressed any debugging output |
public static
integer
|
$time |
|
#
timestamp with microseconds of the start of the request |
public static
string
|
$source |
|
#
requested URI or command line |
public static
string
|
$editor | 'editor://open/?file=%file&line=%line' |
#
URI pattern mask to open editor |
public static
string
|
$browser |
|
#
command to open browser (use 'start ""' in Windows) |
public static
integer
|
$maxDepth | 3 |
#
how many nested levels of array/object properties display |
public static
integer
|
$maxLen | 150 |
#
how long strings display |
public static
boolean
|
$showLocation | FALSE |
#
display location? |
public static
boolean|integer
|
$strictMode | FALSE |
#
determines whether any error will cause immediate death; if integer that it's matched against error severity |
public static
boolean
|
$scream | FALSE |
#
disables the @ (shut-up) operator so that notices and warnings are no longer hidden |
public static
array
|
$onFatalError | array() |
#
of callables specifies the functions that are automatically called after fatal error |
public static
string
|
$logDirectory |
|
#
name of the directory where errors should be logged |
public static
integer
|
$logSeverity | 0 |
#
log bluescreen in production mode for this error severity |
public static
string|array
|
|
#
email(s) to which send error notifications |
|
public static
array
|
$mailer | array('Tracy\Logger', 'defaultMailer') |
|
public static
integer
|
$emailSnooze | 172800 |