Add macro to call event logger for errors. DO NOT MERGE
am: 769cba57e4  -s ours

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