Skip navigation
Home/Support/

Forums

377 Views 3 Replies Latest reply: Oct 17, 2011 7:53 AM by Scott Brodersen RSS
Xavier Beautoir User 11 posts since
Sep 23, 2011
Currently Being Moderated

Oct 15, 2011 8:20 PM

Gravity logging in CAF

I noticed that there is a Logger class within the Gravity classes: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/com /adobe/gravity/utility/logging/Logger.html

 

Is it possible to use this logging from within CAF? I added a "normal" logger and it does not work for me when debugging a CAF project - none of my messages are sent to the console. I noticed that the Mosaic classes do not have any logging utilities but the Gravity classes do.

  • dwalling techies 27 posts since
    Jan 11, 2010
    Currently Being Moderated
    1. Oct 15, 2011 9:28 PM (in response to Xavier Beautoir)
    Re: Gravity logging in CAF

    Yes, Gravity logging APIs can be used in Mosaic as-is. To view the log output:

     

    1.       Open CRXDE lite in a browser and log in

     

    2.       Navigate to /libs/mosaic/components/index/index.jsp

     

    3.       Locate the line in the file that initializes the flashvars variable. In 10.0 this should be on line 65

     

    4.       After that line, add a new line:

     

                flashvars.mdebug = true;

     

    5.       Click the “Save All” button to save the changes

     

    Then, when a new application is launched, a debug window will appear with a “Log Viewer” tab. Note that the debug window will appear in the upper left corner of the browser in a layer that will be behind html or pdf content, so if your application’s layout has html or pdf content in the upper left region you may not be able to see the debug window.

     

    If you have any difficulties with using the gravity logging within mosaic, the CAF (Mosaic) forum http://forums.adobe.com/community/adep/capabilities/composite-applicat ion-framework will be another source of help.

     

    Don

  • Scott Brodersen Adobe Employee 108 posts since
    Apr 7, 2009
    Currently Being Moderated
    3. Oct 17, 2011 7:53 AM (in response to Xavier Beautoir)
    Re: Gravity logging in CAF

    Also, see this document that Janice Kendall authored:  http://forums.adobe.com/message/3939646

     

    scott

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points