/**
  * Sets the log subview to the view if necessairy
  * @param zibo\library\orm\model\meta\ModelMeta $meta Meta of the model
  * @param mixed $data Data object of the form
  * @return null
  */
 protected function setLogSubview(ModelMeta $meta, $data)
 {
     if (!$meta->isLogged()) {
         return;
     }
     if (!$data || empty($data->id)) {
         return;
     }
     $logView = new LogView($meta->getName(), $data->id);
     $this->setSubView('log', $logView);
 }