可以打印logger的内容,一个例子
http://www.cnblogs.com/meteoric_cry/archive/2011/10/24/2222590.html
如何配置说明
http://blog.flexexamples.com/2007/08/26/debugging-flex-applications-with-mmcfg-and-flashlogtxt/
形成日志内容:flash player是调试版的,10.0的调试不能够形成flashlog.txt文件
动态查看日志的文件工具BareTail:http://www.baremetalsoft.com/baretail/index.php
BareTail测试工具的优点:http://www.cnblogs.com/greenerycn/archive/2010/07/15/windows_log_viewer_baretail.html
Flex应用程序通过日志信息调试:trace或者logger信息
编辑mm.cfg的配置信息:及不同系统将文件放在哪:http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7fc9.html
mm.cfg参数信息:
ErrorReportingEnable=1
TraceOutputFileEnable=1
PolicyFileLog = 1
MaxWarnings = 100
PolicyFileLogAppend = 1
附注:后三个可以不写,主要是前两个错误信息
Log file location:(flashlog.txt)
http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WSda78ed3a750d6b8f-4867184d1239f9d0558-8000.html
![flex程序打印log日志,trace信息 - 随心 - 随心的博客](http://img4.ph.126.net/Bpdw2ZnIghQl607QSj0EZQ==/6597644811238004644.png)
Editing the mm.cfg file
http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7fc9.html
方法二:也蛮好用的
用AIR工具Monster Debugger也可以实时监控trace的信息
不必须是flash player调试的版了
工具的API: