you are right that two different things about creation and formatting. It's half way solution to not do string concatenation when it won't be needed anyhow debugEnabled = false etc. But to have it fully lazy evaluated so String isn't created until it's used I think wrapping it in in Lambda is way to go. Please correct me if that's wrong assumption