Skip to content

Instantly share code, notes, and snippets.

@pglombardo
Created July 30, 2014 20:35
Show Gist options
  • Save pglombardo/c1fc854be8a578039d2d to your computer and use it in GitHub Desktop.
Save pglombardo/c1fc854be8a578039d2d to your computer and use it in GitHub Desktop.
TraceView Backtrace Reporter
def report_backtrace
kvs = { :Backtrace => Oboe::API.backtrace }
if Oboe.tracing?
Oboe::API.log(nil, 'info', kvs)
else
Oboe::API.start_trace('manual', { "Force" => true }) do
Oboe::API.log(nil, 'info', kvs)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment