Add macro to call event logger for errors. DO NOT MERGE am: 769cba57e4  -s ours am: 43c0f28c11 am: ec0d1037ab
am: 785f82c09d

* commit '785f82c09d113126e6575d257df2bbf8b0823afe':
  Add macro to call event logger for errors. DO NOT MERGE