diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-14 22:19:10 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-14 22:19:10 -0400 |
commit | 68c087e85cb1678172478d67d106c239ccb2d878 (patch) | |
tree | 870c61bc7eb86690f731b189dcdca431b8c1f86a /app/Subscriber | |
parent | e08b5efba958077ea764a74ea8c4ed6593d3c1c5 (diff) |
Update PicoDb
Diffstat (limited to 'app/Subscriber')
-rw-r--r-- | app/Subscriber/BootstrapSubscriber.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Subscriber/BootstrapSubscriber.php b/app/Subscriber/BootstrapSubscriber.php index 7e341601..a376a935 100644 --- a/app/Subscriber/BootstrapSubscriber.php +++ b/app/Subscriber/BootstrapSubscriber.php @@ -32,10 +32,10 @@ class BootstrapSubscriber extends BaseSubscriber implements EventSubscriberInter $this->logger->debug($message); } - $this->logger->debug('SQL_QUERIES={nb}', array('nb' => $this->container['db']->nbQueries)); - $this->logger->debug('RENDERING={time}', array('time' => microtime(true) - $this->request->getStartTime())); - $this->logger->debug('MEMORY='.$this->helper->text->bytes(memory_get_usage())); - $this->logger->debug('URI='.$this->request->getUri()); + $this->logger->debug('nb_queries={nb}', array('nb' => $this->db->getStatementHandler()->getNbQueries())); + $this->logger->debug('rendering_time={time}', array('time' => microtime(true) - $this->request->getStartTime())); + $this->logger->debug('memory_usage='.$this->helper->text->bytes(memory_get_usage())); + $this->logger->debug('uri='.$this->request->getUri()); $this->logger->debug('###############################################'); } } |