Add macro to call event logger for errors. DO NOT MERGE Bug:23180694 Change-Id: I566a290334345f48013029534efef3e08e726e40