cool-RR / PySnooper

Never use print for debugging again
MIT License
16.37k stars 951 forks source link

feature request: support functional programming in snoop() #142

Open JNU-Tangyin opened 5 years ago

JNU-Tangyin commented 5 years ago

for some specific need, logic may be really complicated, which is not possible to represent by simple parameters or expressions. a (func=filter_func) may help to deal with complex logic and filter the message.

cool-RR commented 5 years ago

Sounds like a job for grep. I need to be careful not to add too many features to PySnooper, because it's supposed to be a toy.

On Sun, Jul 21, 2019, 19:47 Yin Tang notifications@github.com wrote:

for some specific need, logic may be really complicated, which is not possible to represent by simple parameters or expressions. a (func=filter_func) may help to deal with complex logic and filter the message.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cool-RR/PySnooper/issues/142?email_source=notifications&email_token=AAAN3ST6UOQNWYC5N7T3CI3QASHI5A5CNFSM4IFS5BO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAP3L3Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAN3SV2RR3RJDYJX6XK5V3QASHI5ANCNFSM4IFS5BOQ .

alexmojaki commented 5 years ago

I have no idea what this means. Is this a more powerful version of #141 ?