Added more information to the Propel panel by using the Propel logger
This commit is contained in:
parent
e9cbf82de1
commit
fe58d40a38
4 changed files with 118 additions and 3 deletions
|
|
@ -27,6 +27,14 @@ class PropelBundle extends Bundle
|
|||
\Propel::setConfiguration($this->container->get('propel.configuration'));
|
||||
|
||||
if ($this->container->getParameter('propel.logging')) {
|
||||
$this
|
||||
->container
|
||||
->get('propel.configuration')
|
||||
->setParameter('debugpdo.logging.details', array(
|
||||
'time' => array('enabled' => true),
|
||||
'mem' => array('enabled' => true),
|
||||
));
|
||||
|
||||
\Propel::setLogger($this->container->get('propel.logger'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue