Edit: Ohhh! I see! The message isn't evaluated until after! Got it. I don't understand why this is special? Why can't you rewrite log.debug to include the check? func debug(m string) { if log.isDebugEnabled() {…
I wonder if Elon and the owner of SolarCity will get in touch. Oh wait... ;)
Edit: Ohhh! I see! The message isn't evaluated until after! Got it. I don't understand why this is special? Why can't you rewrite log.debug to include the check? func debug(m string) { if log.isDebugEnabled() {…
I wonder if Elon and the owner of SolarCity will get in touch. Oh wait... ;)