log_format_stack

Formats a Javascript stack trace string for readability.

Used in the UI log of the admin (/admin/log/ui).

The string:

[email protected]://t.lamma/lib/js/apps/zotonic-1.0~176359536.js:1704:29\n
http://t.lamma/lib/js/apps/zotonic-1.0~176359536.js:1796:67\n
[email protected]://t.lamma/lib/js/apps/jquery-latest.min~157550645.js:2:2577

Gets formatted as:

<b>submitFunction</b> <small class='text-muted'>http://t.lamma/lib/js/apps/zotonic-1.0~176359536.js:1704:29</small><br>
<small class='text-muted'>http://t.lamma/lib/js/apps/zotonic-1.0~176359536.js:1796:67</small><br>
<b>each</b> <small class='text-muted'>http://t.lamma/lib/js/apps/jquery-latest.min~157550645.js:2:2577</small>

See mod_logging