Console Log

Last Update
14 May 2010
Regular License
$4
Extended License
$20
Sales
45

Speed up development by using this Console log class. Instead of using echo and print_r to show debug information you can now write information to the Javascript console window of your favorite browser. It supports normal variables like strings and integer but also arrays and objects.

Supported browser

Mozilla Safari Opera Chrome Internet explorer (has no console but shows alerts instead)

How to use

Here an example of how to write something to the Javascript console window:

include("Console.php"); Console::show("This is some information", Console::INFO);