source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"]; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Twig/Exception/logs.html.twig")); // line 1 $context["channel_is_defined"] = twig_get_attribute($this->env, $this->source, twig_first($this->env, ($context["logs"] ?? null)), "channel", [], "any", true, true, false, 1); // line 2 echo " "; // line 6 if (($context["channel_is_defined"] ?? null)) { echo ""; } // line 7 echo " "; // line 12 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["logs"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["log"]) { // line 13 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["log"], "priority", [], "any", false, false, false, 13) >= 400)) { // line 14 echo " "; $context["status"] = "error"; // line 15 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, $context["log"], "priority", [], "any", false, false, false, 15) >= 300)) { // line 16 echo " "; $context["status"] = "warning"; // line 17 echo " "; } else { // line 18 echo " "; $context["severity"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["log"], "context", [], "any", false, true, false, 18), "exception", [], "any", false, true, false, 18), "severity", [], "any", true, true, false, 18)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["log"], "context", [], "any", false, true, false, 18), "exception", [], "any", false, true, false, 18), "severity", [], "any", false, false, false, 18), false)) : (false)); // line 19 echo " "; $context["status"] = ((((($context["severity"] ?? null) === constant("E_DEPRECATED")) || (($context["severity"] ?? null) === constant("E_USER_DEPRECATED")))) ? ("warning") : ("normal")); // line 20 echo " "; } // line 21 echo " env, ($context["status"] ?? null), "html", null, true); echo "\" data-filter-level=\""; echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["log"], "priorityName", [], "any", false, false, false, 21)), "html", null, true); echo "\""; if (($context["channel_is_defined"] ?? null)) { echo " data-filter-channel=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["log"], "channel", [], "any", false, false, false, 21), "html", null, true); echo "\""; } echo "> "; // line 26 if (($context["channel_is_defined"] ?? null)) { // line 27 echo " "; } // line 31 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 39 echo "
LevelChannelMessage
"; // line 23 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["log"], "priorityName", [], "any", false, false, false, 23), "html", null, true); echo " "; // line 24 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["log"], "timestamp", [], "any", false, false, false, 24), "H:i:s"), "html", null, true); echo " "; // line 28 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["log"], "channel", [], "any", false, false, false, 28), "html", null, true); echo " "; // line 32 echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->formatLogMessage(twig_get_attribute($this->env, $this->source, $context["log"], "message", [], "any", false, false, false, 32), twig_get_attribute($this->env, $this->source, $context["log"], "context", [], "any", false, false, false, 32)); echo " "; // line 33 if ((((twig_get_attribute($this->env, $this->source, $context["log"], "context", [], "any", true, true, false, 33) && !(null === twig_get_attribute($this->env, $this->source, $context["log"], "context", [], "any", false, false, false, 33)))) ? (twig_get_attribute($this->env, $this->source, $context["log"], "context", [], "any", false, false, false, 33)) : (false))) { // line 34 echo "
";
                echo twig_escape_filter($this->env, json_encode(twig_get_attribute($this->env, $this->source, $context["log"], "context", [], "any", false, false, false, 34), ((twig_constant("JSON_PRETTY_PRINT") | twig_constant("JSON_UNESCAPED_UNICODE")) | twig_constant("JSON_UNESCAPED_SLASHES"))), "html", null, true);
                echo "
"; } // line 36 echo "
"; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof); } public function getTemplateName() { return "@Twig/Exception/logs.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 144 => 39, 136 => 36, 130 => 34, 128 => 33, 124 => 32, 121 => 31, 115 => 28, 112 => 27, 110 => 26, 105 => 24, 101 => 23, 87 => 21, 84 => 20, 81 => 19, 78 => 18, 75 => 17, 72 => 16, 69 => 15, 66 => 14, 63 => 13, 59 => 12, 52 => 7, 48 => 6, 42 => 2, 40 => 1,); } public function getSourceContext() { return new Source("", "@Twig/Exception/logs.html.twig", "/var/www/html/vendor/symfony/twig-bundle/Resources/views/Exception/logs.html.twig"); } }