Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.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
Debugging Dymola将翻译日志打印到文件_Debugging_Logging_Dymola - Fatal编程技术网

Debugging Dymola将翻译日志打印到文件

Debugging Dymola将翻译日志打印到文件,debugging,logging,dymola,Debugging,Logging,Dymola,Dymola在消息窗口->翻译选项卡中显示了一些有关翻译过程的有趣统计信息和信息。 例如,我对线性和非线性系统的数量和大小感兴趣,我使用以下标志打开了其他信息: Advanced.logstructuredevelovation=true Advanced.PrintFailureToDifferentiate=true Advanced.Translation.Log.FailureToInline=true 是否有选项将“消息窗口翻译”选项卡中显示的所有信息打印到文件中?甚至可能保留允许

Dymola在消息窗口->翻译选项卡中显示了一些有关翻译过程的有趣统计信息和信息。 例如,我对线性和非线性系统的数量和大小感兴趣,我使用以下标志打开了其他信息:

  • Advanced.logstructuredevelovation=true
  • Advanced.PrintFailureToDifferentiate=true
  • Advanced.Translation.Log.FailureToInline=true

是否有选项将“消息窗口翻译”选项卡中显示的所有信息打印到文件中?甚至可能保留允许在消息窗口中折叠/展开的结构?

在翻译之前,您可以使用:

Advanced.TranslationInCommandLog = true;
然后:

savelog("logfile.txt");
我不认为我们可以直接存储翻译日志,但这应该可以完成这项工作