# File lib/new_relic/agent/transaction/trace_node.rb, line 65 def to_debug_str(depth) tab = " " * depth s = tab.clone s << ">> #{'%3i ms' % (@entry_timestamp*1000)} [#{self.class.name.split("::").last}] #{metric_name} \n" unless params.empty? params.each do |k,v| s << "#{tab} -#{'%-16s' % k}: #{v.to_s[0..80]}\n" end end called_nodes.each do |cs| s << cs.to_debug_str(depth + 1) end s << tab + "<< " s << case @exit_timestamp when nil then ' n/a' when Numeric then '%3i ms' % (@exit_timestamp*1000) else @exit_timestamp.to_s end s << " #{metric_name}\n" end