{% from "_log_entry.html" import log_entry %} {%- set fc = report.fail_count -%} {%- set nc = report.note_count -%} {%- if fc %} {%- set summary = '' ~ fc ~ ' fail ' ~ nc ~ ' note' -%} {%- elif nc %} {%- set summary = 'ok ' ~ nc ~ ' note' -%} {%- else %} {%- set summary = 'all checks passed' -%} {%- endif %} {% call log_entry("Check", timestamp, summary) %} {% if report.findings %} {% for f in report.findings %} {% endfor %}
LevelWhereCodeMessage
{% if f.level == level_fail %} fail {% else %} note {% endif %} {{ f.where }} {{ f.code }} {{ f.message }}
{% else %}

Nothing to report.

{% endif %} {% endcall %}