diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig index 3fb596b096..6f819e4275 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig @@ -53,10 +53,12 @@ {% else %} {# sort collected logs in groups #} - {% set deprecation_logs, debug_logs, info_and_error_logs = [], [], [] %} + {% set deprecation_logs, debug_logs, info_and_error_logs, silenced_logs = [], [], [], [] %} {% for log in collector.logs %} {% if log.context.level is defined and log.context.type is defined and log.context.type in [constant('E_DEPRECATED'), constant('E_USER_DEPRECATED')] %} {% set deprecation_logs = deprecation_logs|merge([log]) %} + {% elseif log.context.scream is defined and log.context.scream == true %} + {% set silenced_logs = silenced_logs|merge([log]) %} {% elseif log.priorityName == 'DEBUG' %} {% set debug_logs = debug_logs|merge([log]) %} {% else %} @@ -108,6 +110,21 @@ {% endif %} + +
There are no log messages of this level.
+