Checking if format is not nil before logging
Merge pull request #94 from adesso-mobile/master

Checking if format is not nil before logging. Thanks for the PR!