The question is simple, I have a log like this:
glog.v(5).Infof("xxx %v", getLogContent())
But my getLogContent()
is a time consuming method, so I want to ask: will getLogContent()
been executed or not when my program does not meet v(5) level?