Javascript: Improve the unit testing and logging facilities
------------------------------------------------------------
Key: MYFACES-2772
URL: https://issues.apache.org/jira/browse/MYFACES-2772
Project: MyFaces Core
Issue Type: Improvement
Affects Versions: 2.0.1-SNAPSHOT
Reporter: Werner Punz
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.