Fixes logging for non-arc builds
Merge branch 'pullrequest/unusedVar' into master-iosphere