logging sql to FirePHP is very simple in Zend 1, just put setting like this:
'db' => array(
'adapter' => 'pdo_mysql',
'params' => array(
'profiler' => array(
'enabled' => true,
'class' => "Zend_Db_Profiler_Firebug"
)
),
'isDefaultTableAdapter' => true
),
what's config similar in zend 2?
You can just configure the logger to write to FirePHP
Service Manager config:
Then you can log anything: