17.3.5. logError

logError(cat, msg)

Logs an error. Disable reporting through define LOG_NO_ERROR.