protected function debug_object($object) { $this->logger->error('{object}', array('object' => $object)); }