API DebugToolbar's debugLog format cleanup
authorYuri Astrakhan <yurik@wikimedia.org>
Wed, 10 Jul 2013 01:54:09 +0000 (21:54 -0400)
committerYuri Astrakhan <yurik@wikimedia.org>
Wed, 10 Jul 2013 02:03:16 +0000 (22:03 -0400)
commit8dcf1e6205c05419469192ba9143a442478a1f28
treeebb4c026a3d9bbfd377a30de4835b38a7a13c25d
parent0977c66dcab18536d9bb755ae54faf4dfb75d9eb
API DebugToolbar's debugLog format cleanup

When using debug toolbar, make the result cleaner and more readable:

XML: <debugLog><msg>…</msg><msg>…</msg></debugLog>
JSON: "debugLog": ["…","…"]

Instead of current:
XML: <debugLog><msg xml:space="preserve">…</msg>...
JSON: "debugLog": [{"*": "…"}, {"*": "…"}]

Change-Id: Ieb9d3ab23d7654f5eaf3b79b3b69f4aab99d4680
includes/debug/Debug.php