예제 #1
0
 public static function setLog(LogInterface &$log)
 {
     $log->setPrepend('[' . __CLASS__ . ']');
     self::$logObj = $log;
 }
예제 #2
0
 public function setLog(\apf\iface\Log &$logger)
 {
     $logger->setPrepend('[' . __CLASS__ . ']');
     $this->logger = $logger;
 }
예제 #3
0
 public function setLog(LogInterface $log)
 {
     $log->setPrepend('[' . __CLASS__ . ']');
     $this->logObj = $log;
     return $this;
 }