Maybe we want to create an abstraction layer over this?  NRLogger.log(Level, Message) that will have this if check inlined.  Could also expose it to the end users so they don't have to do similar if-checks throughout their code if they choose to use the default logger?