# SetStackTraceLogType(LogType, StackTraceLogType)

> This has the same functionality as Application.SetStackTraceLogType. At the moment, the Device Simulator doesn't support simulation of this method.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Device](/engine/6000.6/script-reference/unityengine/device.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static void SetStackTraceLogType(LogType logType, StackTraceLogType stackTraceType)
```

### Parameters

**** (\[LogType]\(/engine/6000.6/script-reference/unityengine/logtype)): **** (\[StackTraceLogType]\(/engine/6000.6/script-reference/unityengine/stacktracelogtype)):&#x20;
