delay formatting debug log message

Pass arguments to the logger and let it assemble the formatted message
if it will be emitted.

Change-Id: I2cf66dcc98bb2324f34442e51e47691ec445d280
Merge "delay formatting debug log message"