Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/94.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在UIIOS中创建嵌套日志_Ios_Ios Ui Automation - Fatal编程技术网

如何在UIIOS中创建嵌套日志

如何在UIIOS中创建嵌套日志,ios,ios-ui-automation,Ios,Ios Ui Automation,如何在UIIOS中创建类似logElementTree()生成的嵌套日志 我试着做了以下几点: UIALogger.logStart("Log parent Started"); UIALogger.logStart("Log child Started"); UIALogger.logMessage("Message 1"); UIALogger.logPass("Log child passed"); UIALogger.logPass("Log Parent passed");

如何在UIIOS中创建类似logElementTree()生成的嵌套日志

我试着做了以下几点:

UIALogger.logStart("Log parent Started");

UIALogger.logStart("Log child Started");

UIALogger.logMessage("Message 1");

UIALogger.logPass("Log child passed");

UIALogger.logPass("Log Parent passed");

但这并不是在Instruments窗口中创建嵌套日志,这是不可能的。无论出于何种原因,苹果都没有像您使用
logElementTree()
那样公开嵌套日志输出的功能。每次调用
logStart()
都会重新启动日志分组

请在上提交一个bug。尽管这感觉像是一个黑洞,bug进入其中,但什么都没有完成,但他们确实使用bug reporter来确定下一步要修复什么