Print error, if logMethod failed

If callback is not specified, then logMethod is failing silently. It is better to log something out (at least in console), so crashlog can pickup it later for investigation.