示例#1
0
 public function getLog()
 {
     if (isset($this->log)) {
         return $this->log;
     } elseif ($this->view instanceof \Nethgui\Log\LogConsumerInterface) {
         return $this->view->getLog();
     } else {
         return new \Nethgui\Log\Nullog();
     }
 }
示例#2
0
 public function getLog()
 {
     return $this->view->getLog();
 }