{% extends "base_with_list.html" %} {% block content %}
{% match log.read_content(current_log_file) %} {% when Ok(lines) %} {% for l in lines %}
{% let l_info = Log::split_line(l) %} {{ l_info.date_time }} {{ l_info.level }} {{ l_info.thread_name }} {{ l_info.thread_id }} {{ l_info.message | linebreaksbr }}
{% endfor %} {% when Err(err) %} Error reading log: {{ err }} {% endmatch %}
{% endblock %}