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