-
{% for f in log.file_names().unwrap() %}
- {{ f }} {% endfor %}
{% 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 }}
{% endfor %}
{% when Err(err) %}
Error reading log: {{ err }}
{% endmatch %}