So it means you have to wait for logging to complete before going on to the next line of your code. If you find that logging is slow - perhaps it sends emails or writes to databases - you might think that's a problem.
Then you'd be interested in asynchronous logging that moves the slow parts to another thread so you can return something to the user sooner. Message queuing is a common solution here.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi