So, does that mean, if the code has a statement like this somewhere:
then this statement will kind of "not get executed" at all, when not in debug mode?
Yes, only the call to the log method will but the body wont and since message is a closure then the fetchString() would be executed only in the method body and not in the method call
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.