Normally Null object is a good pattern for suppressing output. However in this case I wanted to make sure that I could change the logging while the application is running. Which is why I needed to have the boolean flag. Could you revert that?