MassTransit/MassTransit — comment on commit 7d7f8602ce7bb4e518088f6c9fd27d2640077c2b
File:  line 0
By phatboyg:

If you're really crazy about it, you can create extension methods on ILog that do the same thing, that's basically what's happening inside NLog, it's just wrapping your message generator function with an IsXxxxEnabled condition check.