<ol class="traces logs"> {% for log in logs %} <li{% if log.priority >= 400 %} class="error"{% elseif log.priority >= 300 %} class="warning"{% endif %}> {{ log.priorityName }} - {{ log.message }} </li> {% endfor %} </ol>
info at phpclasses dot org