The data can be displayed in the Firebug Console or in the “Server” request tab.
For more information see: http://www.firephp.org/
Tags
Copyright | Copyright © 2007-2009 Christoph Dorn |
Author | Christoph Dorn |
License | http://www.opensource.org/licenses/bsd-license.php |
Package | FirePHPCore |
Methods | Properties | Constants |
---|---|---|
Logs a message to firebug console, displays an error icon before the message and colors the line yellow. Also increments the firebug error count.
Increments the firebug error count.
Logs a message to firebug console and displays an info icon before the message.
Logs a message to firebug console.
Logs a message to firebug console, displays an warning icon before the message and colors the line turquoise.
Returns
array |
Parameters
$Trace | array | No description |
Returns
array |
Parameters
$File | string | No description |
Returns
string |
Parameters
$Path | string | No description |
Returns
string |
Logs all assertions to your firebug console and then stops the script.
Parameters
$file | string | File source of assertion |
$line | int | Line source of assertion |
$code | mixed | Assertion code |
Returns
boolean |
Tags
See | FirePHP::DUMP |
Throws | Exception |
Parameters
$Key | string | No description |
$Variable | mixed | No description |
$Options | No description |
Returns
\Hazaar\Logger\Backend\true |
protected and private visibility
Parameters
$Object | Object | The object to be encoded |
$ObjectDepth | No description | |
$ArrayDepth | No description | |
$MaxDepth | No description |
Returns
array | All members of the object |
Parameters
$Table | array | The table to be encoded |
Returns
array |
Tags
See | FirePHP::ERROR |
Throws | Exception |
Parameters
$Object | \Hazaar\Logger\Backend\mixes | No description |
$Label | string | No description |
$Options | No description |
Returns
\Hazaar\Logger\Backend\true |
Throws exception for each php error that will occur.
Parameters
$errno | int | No description |
$errstr | string | No description |
$errfile | string | No description |
$errline | int | No description |
$errcontext | array | No description |
Logs all exceptions to your firebug console and then stops the script.
Tags
Throws | Exception |
Parameters
$Exception | \Hazaar\Logger\Backend\Exception | No description |
Tags
See | http://www.firephp.org/Wiki/Reference/Fb |
Throws | Exception |
Parameters
$Object | mixed | The variable to be logged |
Returns
\Hazaar\Logger\Backend\true | Return TRUE if message was added to headers, FALSE otherwise |
Returns
array |
Returns
boolean | TRUE if enabled |
Tags
Throws | Exception |
Parameters
$Name | string | No description |
Returns
mixed |
Returns
array | The currently set options |
Options: Collapsed: [true|false] Color: 1
Tags
Throws | Exception |
Parameters
$Name | string | No description |
$Options | array | OPTIONAL Instructions on how to log the group |
Returns
\Hazaar\Logger\Backend\true |
Tags
Throws | Exception |
Returns
\Hazaar\Logger\Backend\true |
Parameters
$Filename | string | No description |
$Linenum | integer | No description |
Tags
See | FirePHP::INFO |
Throws | Exception |
Parameters
$Object | \Hazaar\Logger\Backend\mixes | No description |
$Label | string | No description |
$Options | No description |
Returns
\Hazaar\Logger\Backend\true |
Parameters
$str | mixed | String to be tested |
Returns
boolean |
Uses PHP’s jeson_encode() if available
Parameters
$Object | object | The object to be encoded |
$skipObjectEncode | No description |
Returns
string | The JSON string |
Tags
Access | public |
Parameters
$var | mixed | any number, boolean, string, array, or object to be encoded. see argument 1 to Services_JSON() above for array-parsing behavior. if var is a strng, note that encode() always expects it to be in ASCII or UTF-8 format! |
Returns
mixed | JSON string representation of input var or an error if a problem occurs |
Tags
Access | private |
Parameters
$name | string | name of key to use |
$value | mixed | reference to an array element to be encoded |
Returns
string | JSON-formatted name-value pair, like ‘“name”:value’ |
Normally should be handled by mb_convert_encoding, but provides a slower PHP-only method for installations that lack the multibye string extension.
Tags
Access | private |
Parameters
$utf8 | string | UTF-8 character |
Returns
string | UTF-16 character |
Tags
See | FirePHP::LOG |
Throws | Exception |
Parameters
$Object | \Hazaar\Logger\Backend\mixes | No description |
$Label | string | No description |
$Options | No description |
Returns
\Hazaar\Logger\Backend\true |
Tags
See | Insight_Helper::plugin() |
Parameters
$convertAssertionErrorsToExceptions | boolean | No description |
$throwAssertionExceptions | boolean | No description |
Returns
mixed | Returns the original setting or FALSE on errors |
Will throw exceptions for each php error.
Parameters
$throwErrorExceptions | No description |
Returns
mixed | Returns a string containing the previously defined error handler (if any) |
Returns
mixed | Returns the name of the previously defined exception handler, or NULL on error. If no previous handler was defined, NULL is also returned. |
Parameters
$Name | string | No description |
$Value | string | No description |
Parameters
$instance | \Hazaar\Logger\Backend\FirePHP | The FirePHP object instance |
Returns
\Hazaar\Logger\Backend\FirePHP |
Filters are used to exclude object members.
Parameters
$Class | string | The class name of the object |
$Filter | array | An array of members to exclude |
Returns
\Hazaar\Logger\Backend\void |
Tags
Throws | Exception |
Options: – maxDepth: The maximum depth to traverse (default: 10) – maxObjectDepth: The maximum depth to traverse objects (default: 5) – maxArrayDepth: The maximum depth to traverse arrays (default: 5) – useNativeJsonEncode: If true will use json_encode() (default: true) – includeLineNumbers: If true will include line numbers and filenames (default: true)
Tags
Deprecated |
Parameters
$URL | No description |
Tags
Deprecated |
Parameters
$URL | No description |
Tags
See | FirePHP::TABLE |
Throws | Exception |
Parameters
$Label | string | No description |
$Table | string | No description |
$Options | No description |
Returns
\Hazaar\Logger\Backend\true |
Tags
See | Insight_Helper::to() |
Tags
See | FirePHP::TRACE |
Throws | Exception |
Tags
See | FirePHP::WARN |
Throws | Exception |
Parameters
$Object | \Hazaar\Logger\Backend\mixes | No description |
$Label | string | No description |
$Options | No description |
Returns
\Hazaar\Logger\Backend\true |