58cf39ed62ae75fd920dac7985b4.php 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /* TwigBundle:Exception:logs.html.twig */
  3. class __TwigTemplate_ef1c58cf39ed62ae75fd920dac7985b4 extends Twig_Template
  4. {
  5. protected function doDisplay(array $context, array $blocks = array())
  6. {
  7. $context = array_merge($this->env->getGlobals(), $context);
  8. // line 1
  9. echo "<ol class=\"traces\">
  10. ";
  11. // line 2
  12. $context['_parent'] = (array) $context;
  13. $context['_seq'] = twig_ensure_traversable($this->getContext($context, 'logs'));
  14. foreach ($context['_seq'] as $context['_key'] => $context['log']) {
  15. // line 3
  16. echo " <li";
  17. if (twig_in_filter($this->getAttribute($this->getContext($context, 'log'), "priorityName", array(), "any", false), array(0 => "EMERG", 1 => "ERR", 2 => "CRIT", 3 => "ALERT", 4 => "ERROR", 5 => "CRITICAL"))) {
  18. echo " class=\"error\"";
  19. }
  20. echo ">
  21. ";
  22. // line 4
  23. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'log'), "message", array(), "any", false), "html");
  24. echo "
  25. </li>
  26. ";
  27. }
  28. $_parent = $context['_parent'];
  29. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']);
  30. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  31. // line 7
  32. echo "</ol>
  33. ";
  34. }
  35. public function getTemplateName()
  36. {
  37. return "TwigBundle:Exception:logs.html.twig";
  38. }
  39. public function isTraitable()
  40. {
  41. return false;
  42. }
  43. }