Add a logger and default NullLogger