public function __construct($message, $code = null) { $this->message = $message; $this->code = $code ? $code : Alt::STATUS_ERROR; Alt_Log::error($this->jTraceEx($this)); }
public static function error($message) { Alt_Log::write(Alt_Log::LEVEL_ERROR, $message); }