-
{% for f in log.file_names().unwrap() %}
- {{ f }} {% endfor %}
{% match log.read_content(current_log_file) %}
{% when Ok(lines) %}
{% for l in lines %}
{{ l }}
{% endfor %}
{% when Err(err) %}
Error reading log: {{ err }}
{% endmatch %}