Initial definition for TSK_TRACE_ERRORS#3095
Conversation
fccc7ad to
e2b9844
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3095 +/- ##
==========================================
- Coverage 89.95% 89.94% -0.02%
==========================================
Files 29 29
Lines 32627 32641 +14
Branches 5851 5851
==========================================
+ Hits 29351 29358 +7
- Misses 1862 1869 +7
Partials 1414 1414
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Seems like a solid idea to me, should be able to hit most of the changepoints with a regex! |
|
OK cool, I'll fill this out as I get a chance. |
|
Did you want this for 0.6.1? I'm happy to finish it up. If we did I guess we do a C API release too. |
|
Would be great if you could pick this up, thanks @benjeffery. I think the code changes are done, it's just a case of documenting what's going on in the developer docs and telling devs how to turn on the flag at compile time. |
|
@jeromekelleher I've added some detail to the docs and added some I've also had a good look for places that needed the function added and found none. |
|
That's great, thanks. I think we do need to document the actual setting of |
|
Ok added! Needs a squash, I'll do that if it all looks good. |
jeromekelleher
left a comment
There was a problem hiding this comment.
LGTM! I can't approve as it's my PR. Squash away
fb7712e to
56b3621
Compare
This is a proposal to address the discussion in #3094.
Essentially, we add a function-like macro
tsk_trace_error, and everywhere we normally dowe instead do
We can then define
tsk_trace_errorto be a no-op for production code, and define a function which emits some error traces. For the changes I've made here, we get this on stderr:Implementation notes
I can push this through and document if folks like it.