Closed ivoflipse closed 11 years ago
While you're at it, move all the print statements, like tracking and whatnot to this logging destination or use the statusbar or both, its there for a reason!
I'm currently trying to figure out what the best way to enable logging would be. I think I'll tie it in with pubsub, so I can log what messages have been send.
In case I don't want to keep logs around forever, but instead have them created from scratch every time using filemode = "w"
Also I should test whether the logging actually worked, especially in places where I WANT to get notified
While I haven't tested all of them, most seemed to work so far, the rest will be added as we go. So unless someone has something to add, I'm closing this for now
Given that not all users know how to read a stack trace or even explain what they did exactly I always like to see what functions have been called and preferably in what order.
I should try to enable logging to a configurable destination (sys.stdout or file) and have all messages go there.