It's a simple way to do it - I think usually a good stack trace for errors or a debugging environment which allows break points might cover most of this functionality and give some other information a simple console.log would not give you.<p>That being said, I like the idea of tracing information the developer specifically thinks is relevant as its called and having it logged out.