NullHandler should be an instance, not a class

The logger expects a NullHandler instance, not a class. Otherwise, if you run
this in an environment without a logger already set up, it raises an
AttributeError as 'level' is defined on the instance, not the class.