diff --git a/ChromePhp.php b/ChromePhp.php index 577b1ce..a91f1b7 100755 --- a/ChromePhp.php +++ b/ChromePhp.php @@ -42,7 +42,12 @@ class ChromePhp * @var string */ const LOG = 'log'; - + + /** + * @var string + */ + const DEBUG = 'debug'; + /** * @var string */ @@ -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