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);
by
by
by
by
by
by