Created
July 30, 2014 20:35
-
-
Save pglombardo/c1fc854be8a578039d2d to your computer and use it in GitHub Desktop.
TraceView Backtrace Reporter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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