{% set channel_is_defined = (logs|first).channel is defined %}
Level | {% if channel_is_defined %}Channel | {% endif %}Message |
---|---|---|
{{ log.priorityName }} {{ log.timestamp|date('H:i:s') }} | {% if channel_is_defined %}{{ log.channel }} | {% endif %}{{ log.message|format_log_message(log.context) }} |