don’t print error log when _logsErrors == NO

some log are print even if _logsErrors is NO, this commit push this issue.