log_calls icon indicating copy to clipboard operation
log_calls copied to clipboard

decorating a program

Open piccolbo opened this issue 6 years ago • 0 comments

It seems to me log_calls moving logging code higher in the hierarchy of sw and I recently found out that you can decorate existing modules without changing a single line of them. It seems to me the next and final logical step would be to remove all logging code and have an api like trace python -m log_calls program.py. Of course there would be a way to provide a configuration as well, modeled after the existing log_calls_settings feature.

piccolbo avatar Apr 25 '18 04:04 piccolbo