Exemplo n.º 1
0
 /**
  * getLogger
  *
  * Returns an instance of Logger
  *
  * @access public
  * @return Logger
  **/
 public function getLogger()
 {
     if (!$this->logger instanceof Logger) {
         $this->logger = new Logger();
         $this->logger->addAdapter(new MemoryLogAdapter(), "test");
     }
     return $this->logger;
 }