Update swife.js

replace console.log with console.warn