示例#1
0
	public static function handles($line, $uuid)
	{
		if (self::$handle_cache_id != $uuid)
		{
			self::$handle_cache_id = $uuid;
			self::$handle_cache_result = false;
			if (parent::handles($line, $uuid))
			{
				self::$handle_cache_result = (strpos($line, ' php-site: ') !== false);
			}
		}
		return self::$handle_cache_result;
	}
示例#2
0
	public static function priority()
	{
		# This class must be a higher priority than PHPLog, because they are
		# siblings and will often match the same lines.
		# We want this class to take priority when they do.
		return PHPLog::priority() + 1;
	}
	public static function priority()
	{
		# Over-ride PHPLog for backtraces.
		return parent::priority() + 1;
	}