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

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