Class NDebug
Debug static class.
final public
|
|
public static
mixed
|
|
public static
mixed
|
#
consoleDump( mixed $var, string $title = NULL )
Dumps information about a variable in Nette Debug Console. |
public static
elapsed
|
|
public static
|
|
public static
boolean
|
|
public static
|
#
processException( Exception $exception, boolean $outputAllowed = FALSE )
Logs or displays exception. |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
mixed
|
|
public static
boolean
|
#
fireLog( mixed $message, string $priority =
Sends message to Firebug console. |
boolean
|
DEVELOPMENT
|
FALSE |
#
server modes |
boolean
|
PRODUCTION
|
TRUE |
|
|
DETECT
|
NULL |
|
string
|
LOG
|
'LOG' |
#
FirePHP log priority |
string
|
INFO
|
'INFO' |
|
string
|
WARN
|
'WARN' |
|
string
|
ERROR
|
'ERROR' |
|
string
|
TRACE
|
'TRACE' |
|
string
|
EXCEPTION
|
'EXCEPTION' |
|
string
|
GROUP_START
|
'GROUP_START' |
|
string
|
GROUP_END
|
'GROUP_END' |
public static
boolean
|
$productionMode |
|
#
determines whether a server is running in production mode |
public static
boolean
|
$consoleMode |
|
#
determines whether a server is running in console mode |
public static
integer
|
$time |
|
|
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
integer
|
$showLocation | FALSE |
#
display location? |
public static
boolean
|
$strictMode | FALSE |
#
determines whether to consider all errors as fatal |
public static
array
|
$onFatalError | array() |
#
of callbacks specifies the functions that are automatically called after fatal error |
public static
callback
|
$mailer | array(__CLASS__, 'defaultMailer') |
|
public static
integer
|
$emailSnooze | 172800 |
#
interval for sending email is 2 days |
public static
array
|
$counters | array() |
#
free counters for your usage |