Allowing null instead of a logger.

If there is a null === handling, null should be allowed to be a argument.