finest logging should be guarded where appropriate

This should lead to less object allocation and subsequently to lower latencies introduced by GC