Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

IMO that should be a method on a Logger object. Personally I have a method that does a similar thing called 'inspect'.

Even better: you should write to a log file instead of to the screen (at debug level) for such things so you don't have to remove your (useful) debug statements before committing.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: