Debug bug issue-8, add log for this bug.

add log for this bug.
Merge pull request #207 from whuthm/ios-style

Debug bug issue-8, add log for this bug.