Closed netsettler closed 1 year ago
Looks very similar to our
debuglog
facility
No. debuglog
lets you put in your own messages and is a way of causing them to go to a file rather than normal logging stuff for quicky debugging that doesn't clutter cloudtrail.
This doesn't take a position on where the output goes (though maybe it should be like debuglog
, we could think about that. Right now it goes to where PRINT would go. But the purpose of this is so you don't have to explicitly insert debuglog
commands into the code. It just figures out what you'd want to print. So that's pretty different.
I'm adding deduplicate_list
, written by Will in snovault
.
Totals | |
---|---|
Change from base Build 4639353193: | 0.2% |
Covered Lines: | 6179 |
Relevant Lines: | 8289 |
This was originally a layered PR, adding support to branch kmp_misc_20230228 (PR #243), but I've rebased this to master because those other parts are already in there.
New
trace_utils
module (PR #247)New decorator
@Trace
New function
make_trace_decorator
to make similar ones.Fix to
obfuscation_utils
relating to dicts containing lists. (PR #246)New function
misc_utils.deduplicate_list
.Fixes to the
printed_output
context manager inqa_utils
.