RedTram News Search Engine
Русский  English Українська  Français  Polski  Deutsch  Italiano  Español  中文   
18 July 2009 year (time zone GMT 00:00)  Number of sources in English: 4957
Navigating the themes
Navigating the regions
All Themes Blogs World Australia & Oceania
Blogs (Australia & Oceania) RSS 2.0

Improved DEBUG logging only when it's needed

18.07.2009 09:56    mechanicalcat.net
Thanks to Kent Johnson for reminding me about contexts (I don't get to play with them much so I sometimes forget :) usage is a lot simpler: for i in range(5): with DebugCapture(log): task(i) This is produced by modifying the


1