Closed GoogleCodeExporter closed 9 years ago
maybe:
/**
* FirePHP
*
* @return bool
*/
function fb() {
$instance = FirePHP::getInstance(true);
$debug = debug_backtrace();
$info = "source: {$debug[0]['file']}, line: {$debug[0]['line']}";
$instance->group($info);
$args = func_get_args();
$ret = call_user_func_array(array($instance,'fb'),$args);
$instance->groupEnd();
return $ret;
}
Original comment by sszym...@gmail.com
on 1 Oct 2008 at 3:01
Not sure I like that as a general solution since it creates a lot of extra
entries in
the console. It will work great if you need to track down a logging statement
in a
specific case.
Original comment by christop...@gmail.com
on 1 Oct 2008 at 6:22
File and line info will be available by default in the next BETA release.
Original comment by christ...@christophdorn.com
on 16 Oct 2008 at 3:05
Original comment by christ...@christophdorn.com
on 22 Oct 2008 at 5:12
Original issue reported on code.google.com by
christop...@gmail.com
on 1 Oct 2008 at 8:47