use UI.debug on each line output, UI.error for faillure
Merge pull request #2 from motemen/log-levels

Use log levels