Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2772

Javascript: Improve the unit testing and logging facilities

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1-SNAPSHOT
    • 2.0.1
    • None
    • None

    Description

      Our javascripts have logging facilities which route to output consoles if present (firebug, firebug lite chromium or an embedded div as fallback if present)
      currently we do not have a tracing info and due to the structure of the non intrusiveness a log entry cannot be traced directly from the firebug console for instance to its origin, also
      we do not have logging level control on code level only on console level if present.

      The patch will add a trace if tracing functionaltiy is present, and also will introduce log switches and trace switches.

      Note, the logging only is present for dev mode not for production mode, to keep the code size lean.

      Attachments

        Activity

          People

            Unassigned Unassigned
            werpu Werner Punz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: