Skip to content
Kevin Jensen edited this page Jul 31, 2014 · 5 revisions

The console Class

Introduction

The console class is a wrapper for most browser's window.console API. Most of the methods have been taken from Google Chrome's Console API.

Dependencies

  • PHP 5 >= 5.2.0

Browser Compatibility

Class Synopsis

console {

	/* Properties */
	static array $messageLog;
	static array $counters;
	static array $timers;

	/* Methods */
	public static void assert ( bool $exp [, string $msg ] )
	public static void clear ( void )
	public static void count ( $label )
	public static void debug ( void )
	public static void error ( void )
	public static void export ( void )
	public static void group ( void )
	public static void groupCollapsed ( void )
	public static void groupEnd ( void )
	public static void info ( void )
	public static void log ( void )
	public static void profile ( $label )
	public static void profileEnd ( void )
	public static void time ( $label )
	public static void timeEnd ( $label )
	public static void timeline ( $label )
	public static void timelineEnd ( void )
	public static void timeStamp ( $label )
	public static void trace ( $obj )
	public static void var_dump ( void )
	public static void warn ( void )

}
  • Home
  • About
  • Usage
  • console
    • $messageLog
    • $counters
    • $timers
    • assert
    • clear
    • count
    • debug
    • error
    • export
    • group
    • groupCollapsed
    • groupEnd
    • info
    • log
    • profile
    • profileEnd
    • time
    • timeEnd
    • timeline
    • timelineEnd
    • timeStamp
    • trace
    • var_dump
    • warn
  • Log — the Log class
    • $type
    • $var
    • $file
    • $line
    • __construct
Clone this wiki locally