Пример #1
0
 public function wet_trace($v, $inf = null)
 {
     $profiler = system_base_Profiler::get_instance();
     $run_time = system_base_Profiler::lap();
     $m = new StringBuf();
     $trase = null;
     $trase = Std::string($v);
     $m->add("<tr><td class=\"__webrathea_ttime__\"");
     $m->add("title=\"Line: " . _hx_string_rec($inf->lineNumber, ""));
     $m->add(" of " . _hx_string_or_null($inf->fileName));
     $m->add(" [" . _hx_string_or_null($inf->methodName) . "]");
     $m->add("\n in " . _hx_string_or_null($inf->className));
     $m->add(" \">");
     $m->add(Std::string($run_time) . ": </td>");
     $m->add("<td class=\"__webrathea_trace__\">");
     $m->add($trase);
     $m->add("</td></tr>");
     $this->debug_message($m->b);
 }