Skip to content

Commit c3c2976

Browse files
committed
Add support for console.table
1 parent 2d32195 commit c3c2976

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

ChromePhp.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ChromePhp
2626
/**
2727
* @var string
2828
*/
29-
const VERSION = '4.0.0';
29+
const VERSION = '4.1.0';
3030

3131
/**
3232
* @var string
@@ -73,6 +73,11 @@ class ChromePhp
7373
*/
7474
const GROUP_COLLAPSED = 'groupCollapsed';
7575

76+
/**
77+
* @var string
78+
*/
79+
const TABLE = 'table';
80+
7681
/**
7782
* @var string
7883
*/
@@ -225,6 +230,17 @@ public static function groupEnd()
225230
return self::_log(self::GROUP_END, $args);
226231
}
227232

233+
/**
234+
* sends a table log
235+
*
236+
* @param string value
237+
*/
238+
public static function table()
239+
{
240+
$args = func_get_args();
241+
return self::_log(self::TABLE, $args);
242+
}
243+
228244
/**
229245
* internal logging call
230246
*

0 commit comments

Comments
 (0)