Use correct warning level log function
Merge pull request #26 from jdeseno/log-warn-fix

Use correct warning level log function