[wingide-users] Python logger support

Wingware Support support at wingware.com
Tue Jun 26 13:38:48 MDT 2007


Mikeal Rogers wrote:
> Is there a simple way to get a tab in wing that will show the python 
> logging module output?

There is no built in support for this, but it's a good idea.  You might 
try logging to a file and then have the file auto-reload in an editor 
pane.  Doing something that doesn't involve an external file is going to 
be difficult since there's currently no mechanism to open a stream from 
the program being debugged to the IDE and there's no hook to intercept 
the data being sent over stdin / stderr (plus that would be messy to 
separate "real" stdout from log output).

As far as implementing new panels, the existing scripts such as 
pylintpanel are probably the place to start.  There is an OS Command 
tool in 3.0 that can be used in some situations when an external command 
is involved.

Cheers,

John


More information about the wingide-users mailing list