src/Log/Debug.php
public static function getTrace()
  {
    // Trace
    $trace = debug_backtrace();

    // Initialise la sortie
    $dump = '';

    // Header
    $dump .= static::getHeader('Trace du contexte');

    // Contexte
    $dump .= '<div class="dump_segment">Contexte</div>';

    $nb = count($trace);
    for ($i = 1; $i < $nb; $i++) {
      if ($i < $nb - 1) {
        $dump .= static::getContext($trace[$i], $trace[$i + 1]);
      } else {
        $dump .= static::getContext($trace[$i]);
      }
    }

    // Footer
    $dump .= static::getFooter();
    return $dump;
  }
public static function getTrace()
  {
    // Trace
    $trace = debug_backtrace();

    // Initialise la sortie
    $dump = '';

    // Header
    $dump .= static::getHeader('Trace du contexte');

    // Contexte
    $dump .= '<div class="dump_segment">Contexte</div>';

    $nb = count($trace);
    for ($i = 1; $i < $nb; $i++) {
      if ($i < $nb - 1) {
        $dump .= static::getContext($trace[$i], $trace[$i + 1]);
      } else {
        $dump .= static::getContext($trace[$i]);
      }
    }

    // Footer
    $dump .= static::getFooter();
    return $dump;
  }
Retourne le contenu d'un trace de la pile d'execution

@return string  Contenu formaté de la pile d'execution