inline logging helper function to avoid object allocations

1 job for !14 with api-prototype in 4 minutes and 56 seconds (queued for 4 seconds)
latest detached
Status Job ID Name Coverage
  Test
passed #11777
test

00:04:56