Use std.logger.NullLogger
Fix deprecation message.