{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% import _self as logger %} {% block toolbar %} {% if collector.counterrors or collector.countdeprecations or collector.countscreams %} {% set icon %} {% if collector.counterrors %} {% set status_color = "red" %} {% elseif collector.countdeprecations %} {% set status_color = "yellow" %} {% endif %} {% set error_count = collector.counterrors + collector.countdeprecations + collector.countscreams %} {% endset %} {% set text %} {% if collector.counterrors %}
{% endif %} {% if collector.countdeprecations %} {% endif %} {% if collector.countscreams %} {% endif %} {% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %} {% endif %} {% endblock %} {% block menu %} Logs {% if collector.counterrors or collector.countdeprecations or collector.countscreams %} {% set error_count = collector.counterrors + collector.countdeprecations + collector.countscreams %} {{ error_count }} {% endif %} {% endblock %} {% block panel %}| Filter |
|---|
No logs available.
{% endif %} {% endblock %} {% macro display_message(log_index, log, is_deprecation) %} {{ is_deprecation ? 'DEPRECATED' : log.priorityName }} - {{ log.message }} {% if is_deprecation %} {% set stack = log.context.stack|default([]) %} {% set id = 'sf-call-stack-' ~ log_index %} {% if log.context.errorCount is defined %} ({{ log.context.errorCount }}x) {% endif %} {% if stack %}