Aw: Re: GTK error messages
Karsten Hilbert <[email protected]> Thu, 7 Jan 2021 17:13:41 +0100
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <trinity-bb18f19a-9b63-4166-b43a-84603412ac4c-1610036021940@3c-app-gmx-bap07> |
> It may not make sense for wxLog, but if GTK generates spurious messages > with wx, putting some kind of GTK message manager in the wx library > seems like a good idea. _Especially_ if that message manager can then be used to redirect those messages to a log file to be used for debugging conditions on remote clients. Ideally one could funnel them into import logging _log = logging.Logger() wx.redirect_spurious_copious_and_gratuitious_gtk_messages(target = _log) or some such :-) Karsten -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/trinity-bb18f19a-9b63-4166-b43a-84603412ac4c-1610036021940%403c-app-gmx-bap07.