Hi,

> Once we’re on this topic, there’s something that I had wanted to bring up for 
> a long time: I think trace statements should disappear in the release JS 
> build. Should we put all the JS trace code inside an if(goog.DEBUG)  block?

I’d suggest putting in a static Log class/method that is does nothing if 
goog.DEBUG is false and traces goog.DEBUG is true. That way it makes easier to 
move to a real logging system at some point in the future.

Thanks,
Justin

Reply via email to