public function __construct(Ezer_BusinessProcessServer $server, $php_exe, $handlerPath = null) { if (is_null($handlerPath)) { $handlerPath = dirname(__FILE__) . '/Ezer_BusinessProcessHandler.php'; } Ezer_Log::log("Handler Path [{$handlerPath}]"); parent::__construct($server, $handlerPath, $php_exe); }
public function log($text) { Ezer_Log::log($text); }
public function writeToAll($text) { Ezer_Log::log($text); parent::writeToAll("{$text}\r\n"); }
public static function setLogger(Ezer_Logger $logger) { self::$logger = $logger; }
public function failed($err) { Ezer_Log::err(get_class($this) . " [" . $this->getName() . "] failed ({$err})"); $this->setStatus(Ezer_StepInstanceStatus::FAILED); }