The mm.cfg file contains many settings that you can use to control logging. The following sample mm.cfg file enables
error reporting and trace logging:
ErrorReportingEnable=1
TraceOutputFileEnable=1
Once logging is enabled, you can call the trace() method to write a String to the flashlog.txt file, as the following
example shows:
trace("Got to checkpoint 1.");
To enable the logging of all Flex-generated debug messages to flashlog.txt, insert the following MXML line:
<mx:TraceTarget loglevel="2"/>
For information about client-side logging, see Building and Deploying Adobe Flex 3 Applications.
Server-side logging
You per ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.