add NSLog
Merge pull request #2 from tatyusa/add-log

add NSLog