protected function logSession(SessionInterface $Session) { return $this->logArray($Session->all(), '[session]'); }