You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am in the process of debugging and application that uses PyPubSub for its messages. I am using the snoop methods (https://pypubsub.readthedocs.io/en/v4.0.3/usage/usage_advanced_debug.html#id4) to see which messages are published. However, I'd really like to also log whenever a handler receives a message. Is there a means of doing so easily?
Paddy
The text was updated successfully, but these errors were encountered:
Have you looked at the notification handlers? They will notify on various pubsub related activities like message publish, message received by which listener, topic created/deleted, etc.
Thanks - I ended up enforcing some structure on my listeners to log the events. It worked well. I did this as I couldn't see how the notification handlers managed listeners. Do you have a link on that?
Hi,
I am in the process of debugging and application that uses PyPubSub for its messages. I am using the snoop methods (https://pypubsub.readthedocs.io/en/v4.0.3/usage/usage_advanced_debug.html#id4) to see which messages are published. However, I'd really like to also log whenever a handler receives a message. Is there a means of doing so easily?
Paddy
The text was updated successfully, but these errors were encountered: