# GetCaptureStartupLogs(NamedBuildTarget)

> Returns whether a given build target is configured to capture startuplogs

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool GetCaptureStartupLogs(NamedBuildTarget buildTarget)
```

### Parameters

**** (\[NamedBuildTarget]\(/engine/6000.7/script-reference/unityeditor/build/namedbuildtarget)):&#x20;

### Returns

| Type                                                          | Description                                                                            |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | A boolean indicating whether the supplied NamedBuildTarget should capture startup logs |
