Simplified a lot of code by having a NilLogger