NoOp logger.
Building a message string can be expensive. This extension method helps to avoid it if logging is disabled.