I have an application modeled after the wxPython demo in that it has a log
pane at the bottom. I want to log various events in that log pane, but I
also want to send them to a file. I've got the log strings appearing in the
log pane, but can't figure out how to get them into a file (without using a
separate statement to write each individual log string to the file).
I tried using:
wxLogChain(wxLogStderr())
to get the log statements into stderr, which the docs seem to imply is
necessary, and I am now seeing the log strings in both the log pane and in
the stderr display, but I can't figure out how to elegantly move it from
there to a file.
Can anyone help? Thanks.
Paul Gardella