public static function logException( \Exception $error ) {

		// fatal errors will already have been error_log()'d
		if( !static::isFatal($error) ) {
			$location = $error->getFile(). ':'. $error->getLine();
			// type hinting error - make sure we give the correct location
			if( ($error instanceof \InvalidArgumentException) && ($error->getPrevious() instanceof \ErrorException) )
				$location = $error->getPrevious()->getFile(). ':'. $error->getPrevious()->getLine();
			error_log(get_class($error). ': '. $error->getMessage(). " [{$location}]");
		}

	}