Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetStackTraceLogType(LogType, StackTraceLogType)

Set stack trace logging options. The default value is StackTraceLogType.ScriptOnly.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void SetStackTraceLogType(LogType logType, StackTraceLogType stackTraceType)

Parameters

logType


stackTraceType

Remarks

Useful when you want more debugging information when a log message is printed to the log. For example, if you set StackTraceLogType.Full, both native and managed stack traces will be printed for messages.