文档

Unity Engine

Unity Engine

SetStackTraceLogType(LogType, StackTraceLogType)

Set stack trace logging options. The default value is StackTraceLogType.ScriptOnly.
阅读时间1 分钟最后更新于 1 天前

Definition

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.