On 21/08/2014 08:21, Tim Chien wrote:
> Previously we had a creative invention from Frsela that turning on/off
> a all-caps DUMP() function with mozSettings. I would love that being
> formalized in Gecko.
> https://github.com/mozilla-b2g/gaia/blob/master/shared/js/dump.js

Standardizing all gaia applications on DUMP() would already be a big
improvement even though the interface is currently very simple. Gecko
has similar problems regarding logging with certain components being
well made and others a total mess (often dumping output via 3/4
different unrelated methods). Also, the most common mechanism used in
C++ code (PR_Log) is not available under chrome code and thus we
normally resort to ad hoc logging solutions there (see the RIL component
for example).

 Gabriele

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to