Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion ChromePhp.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ class ChromePhp
* @var string
*/
const LOG = 'log';


/**
* @var string
*/
const DEBUG = 'debug';

/**
* @var string
*/
Expand Down Expand Up @@ -160,6 +165,18 @@ public static function log()
$args = func_get_args();
return self::_log('', $args);
}

/**
* logs a debug message to the console
*
* @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
* @return void
*/
public static function debug()
{
$args = func_get_args();
return self::_log(self::DEBUG, $args);
}

/**
* logs a warning to the console
Expand Down