check for nil on warnError and errorError
extended iOS sample to show how log messages can be displayed to a user
Merge branch 'master' of https://github.com/rlong/log-objective_c

added to sample iOS application without doing a prior pull