Fixes a static analyzer warning about unused variables when logging is disabled
Fixes logging for non-arc builds
Merge pull request #43 from iosphere/pullrequest/unusedVar

Fixes a static analyzer warning about unused variables for disabled logging