public function LogOptions() {
		if(!$this->isActive()) return null;
		$logs[] = array(
			'ButtonText' => 'Pipeline Log',
			'Link' => $this->Link()
		);

		if($this->PreviousSnapshotID > 0) {
			$logs[] = array(
				'ButtonText' => 'Snapshot Log',
				'Link' => $this->PreviousSnapshot()->Link()
			);
		}

		if($this->CurrentDeploymentID > 0) {
			$logs[] = array(
				'ButtonText' => 'Deployment Log',
				'Link' => $this->CurrentDeployment()->Link()
			);
		}

		// Get logs from rollback steps (only for RollbackSteps).
		$rollbackSteps = array($this->RollbackStep1(), $this->RollbackStep2());
		foreach ($rollbackSteps as $rollback) {
			if($rollback->exists() && $rollback->ClassName=='RollbackStep') {
				if($rollback->RollbackDeploymentID > 0) {
					$logs[] = array(
						'ButtonText' => 'Rollback Log',
						'Link' => $rollback->RollbackDeployment()->Link()
					);
				}

				if($rollback->RollbackDatabaseID > 0) {
					$logs[] = array(
						'ButtonText' => 'Rollback DB Log',
						'Link' => $rollback->RollbackDatabase()->Link()
					);
				}
			}
		}

		return new ArrayList($logs);
	}