Change NewLogger to NewEmptyLogger.