Set stack trace logging options. Note: calling this function will implicitly call Application.SetStackTraceLogType.