File: log.html.j2

package info (click to toggle)
dask.distributed 2022.12.1%2Bds.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,164 kB
  • sloc: python: 81,938; javascript: 1,549; makefile: 228; sh: 100
file content (11 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
{% for message in log.split("\n") %}
    {% if "WARNING" in message %}
        <p style="font-family: monospace; margin: 0; font-weight: bold; color: orange;">{{ message | html_escape }}</p>
    {% elif "CRITICAL" in message %}
        <p style="font-family: monospace; margin: 0; font-weight: bold; color: orangered;">{{ message | html_escape }}</p>
    {% elif "ERROR" in message %}
        <p style="font-family: monospace; margin: 0; font-weight: bold; color: crimson;">{{ message | html_escape }}</p>
    {% else %}
        <p style="font-family: monospace; margin: 0;">{{ message | html_escape }}</p>
    {% endif %}
{% endfor %}